xml Google Shopping.xml

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了xml Google Shopping.xml相关的知识,希望对你有一定的参考价值。

<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:g="http://base.google.com/ns/1.0"> 
  <channel>  
    <title>Data feed Title</title>
    <link>{base_url}</link>
    <description>Data feed description.</description>
    {each type="product"}
      <item>
        <g:id>{sku}</g:id>
        <title><![CDATA[{name,[html_entity_decode]}]]></title>
        <link>{url}</link>
        <g:adwords_redirect>{url}</g:adwords_redirect>
        <g:price>{price,[number_format 2]}</g:price>
        <g:sale_price>{special_price,[number_format 2]}</g:sale_price>
        <g:online_only>y</g:online_only>
        <description><![CDATA[{short_description,[strip_tags]}]]></description>
        <g:product_type><![CDATA[{category_path}]]></g:product_type>
        <g:image_link>{image}</g:image_link>
        <g:condition>new</g:condition>
        <g:availability>in stock</g:availability>
        <g:quantity>{qty}</g:quantity>
        <g:color>{color}</g:color>
        <g:shipping_weight>{weight, [number_format 2]} kilograms</g:shipping_weight>
        <g:manufacturer>{manufacturer}</g:manufacturer>
		<g:installment>
			<g:months>{special_price,[numerototalparcelas]}</g:months>
			<g:amount>R$ {special_price,[valortotalparcelas]}</g:amount>
		</g:installment>
        <g:brand>{manufacturer}</g:brand>
        <g:mpn>{sku}</g:mpn>
        <g:gtin>{ean}</g:gtin>
      </item>
    {/each}
  </channel>
</rss>

以上是关于xml Google Shopping.xml的主要内容,如果未能解决你的问题,请参考以下文章

xml 用google docs获取google的索引页面(yay james!)

xml 用google docs获取google的索引页面(yay james!)

使用 Google 云数据流生成 xml 文件

Google 应用引擎的 gradle 单元测试在哪里期望 persistence.xml?

xml 登录按钮Facebook Google

xml Google OAuth