वर्शन 2 माइग्रेशन निर्देशों के लिए V1 (अब इस्तेमाल में नहीं है)

V1 फ़ॉर्मैट काम नहीं करता है. नीचे V1 फ़ीड से मौजूदा V2.3 फ़ीड में किए गए बदलावों के बारे में बताया गया है. फ़ीड का नया उदाहरण देखने के लिए, कृपया https://developers.google.com/product-review-feeds/sample/ पर जाएं.

वर्शन 1

<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns:atom="http://www.w3.org/2005/Atom" xml:lang="en-US"
   xmlns:pr="http://schemas.google.com/schemas/pr/1.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.gstatic.com/productsearch/static/reviews/product_reviews_v1.xsd”>

वर्शन 2.3

<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:noNamespaceSchemaLocation=
 "http://www.google.com/shopping/reviews/schema/product/2.3/product_reviews.xsd">

xmlns:atom और xmlns:pr एलिमेंट हटा दिए गए हैं. w3.org एक्सएमएल स्कीमा-वर्शन के बारे में बताने के लिए एक xmlns:vc एलिमेंट जोड़ा गया. स्कीमा स्थान को 2.3 xsd में अपडेट किया जाना चाहिए.

स्कीमा वर्शन

स्कीमा वर्शन अब हेडर के बाद शामिल है

<version>2.3</version>

प्रकाशक की जानकारी

प्रकाशक की जानकारी वाला सेक्शन कम कर दिया गया है. प्रकाशक के नाम और आइकॉन के साथ एग्रीगेटर और प्रकाशक के पक्ष में लेखक, शीर्षक, सबटाइटल, प्रकाशित किए गए अधिकार, आईडी, लिंक, और लोगो हटा दिए गए हैं. एक व्यापारी फ़ीड के लिए एग्रीगेटर एलिमेंट की ज़रूरत नहीं होती है.

वर्शन 1

 <author>
    <name>Sample Retailer</name>
    <email>contact@example.com</email>
  </author>
  <title type="text">Product Reviews from Example.com </title>
  <subtitle type="text">Camera Reviews - Example.com </subtitle>
  <published>2007-12-10T15:13:31Z</published>
  <rights>Copyright 2008, all rights reserved.</rights>
  <id>12345678</id>
  <link rel="related" type="text/html" href="http://www.example.com/index.html"/>
  <logo>http://www.example.com/logo.jpg</logo>

वर्शन 2.3

    <aggregator>
        <name>Sample Reviews Aggregator (if applicable)</name>
    </aggregator>
    <publisher>
        <name>Sample Retailer</name>
        <favicon>http://www.example.com/favicon.png</favicon>
    </publisher>

ग्रुप की समीक्षा करें

पहले, समीक्षाओं को बार-बार <entry> एलिमेंट से समीक्षा की जाती थी. 2.3 फ़ीड में, <review> एलिमेंट ने <entry> एलिमेंट की जगह ली है और इन्हें <reviews> पैरंट एलिमेंट में रखा गया है.

वर्शन 1

<entry>
...
</entry>

वर्शन 2.3

    <reviews>
        <review>
...
        </review>
    </reviews>

जानकारी की समीक्षा करें

समीक्षा करने वाले कॉन्टेंट सेक्शन को काफ़ी आसान बना दिया गया है. इस आसान तरीके से काम करने के लिए, इन फ़ील्ड में बदलाव किया गया है:

खास जानकारी

  • <id> का नाम अब <review_id> है
  • <published> का नाम अब <review_timestamp> है
  • <pr:content_format> को हटा दिया गया है
  • <link> का नाम अब <review_url> है

वर्शन 1

    <id>14295</id>
    <published>2014-04-21T07:07:07Z</published>
    <title type="text">Excellent camera</title>
    <pr:content_format type="user_review"/>
    <link rel="self" type="text/html" href="http://www.example.com/review_14295.html"/>

वर्शन 2.3

      <review_id>14295</review_id>
        ...
      <review_timestamp>2014-04-21T07:07:07Z</review_timestamp>
      <title>Excellent camera</title>
        ...
      <review_url type="singleton">http://www.example.com/review_14295.html</review_url>

लेखक की जानकारी:

  • <author> अब <reviewer> है
    • अब <name> पर is_anonymous एट्रिब्यूट काम करता है
    • <reviewer_id> जोड़ दिया गया है
    • <email>, <pr:role>, <pr:number_of_reviews>, और <link> को हटा दिया गया है
    • <pr:author_rating> अब <ratings> है और इसे लेखक के एलिमेंट के बाहर शामिल किया गया है
      • अब <pr:attr name=”overall”> का नाम <overall> है. value एट्रिब्यूट अब एलिमेंट एलिमेंट है.
      • <pr:attr> एलिमेंट हटा दिए गए
  • <content> full_length एट्रिब्यूट को हटा दिया गया है
  • <title> टाइप का एट्रिब्यूट हटा दिया गया है

वर्शन 1

   <author>
      <name>Joe Smith</name>
      <email>jsmith@example.com</email>
      <pr:role>Consumer Electronics Editor</pr:role>
      <pr:number_of_reviews>45</pr:number_of_reviews>
      <link rel="related" href="http://www.example.com."/>
      <pr:author_rating>
        <pr:attr name="overall" max="5" min="1" value="4"></pr:attr>
        <pr:attr name="funny"></pr:attr>
      </pr:author_rating>
    </author>

वर्शन 2.3

        <reviewer>
            <name is_anonymous="false">Joe Smith</name>
            <reviewer_id>509769</reviewer_id>
        </reviewer>
        ...
        <ratings>
            <overall min="1" max="5">4</overall>
        </ratings>

कॉन्टेंट की जानकारी:

  • <content> full_length एट्रिब्यूट हटा दिया गया है
  • <video> एलिमेंट और उसके बच्चों को हटा दिया गया है
  • <reviewer_images> पैरंट एलिमेंट और <reviewer_image> चाइल्ड एलिमेंट जोड़ें गए हैं.
    • <reviewer_image> एलिमेंट में इमेज की जगह के लिए एक <url> एलिमेंट होता है

वर्शन 1

   <content full_length="3083">
      Got it for a friend and he loved it.
   </content>
    <video>
      <published>2008-07-31T04:13:31Z</published>
      <title type="text">Digital Cameras in Action</title>
      <link rel="related" href="http://www.youtube.com/watch?v=SdybCjJ5sCU"/>
      <summary>Expert photog Jill Thompson takes the Canon XTi on the road</summary>
    </video>

वर्शन 2.3

   <content>Got it for a friend and he loved it.</content>
    ...
   <review_url type="singleton">http://www.example.com/review_14295.html</review_url>
   <reviewer_images>
       <reviewer_image>
           <url>https://example.com/test.jpg</url>
       </reviewer_image>
       <reviewer_image>
           <url>https://example.com/test.gif</url>
       </reviewer_image>
   </reviewer_images>

प्रॉडक्ट की जानकारी:

  • <pr:products> <pr:product> चाइल्ड एलिमेंट वाला <pr:products> अब <product> बच्चों के साथ <products> है
  • अब contenttype एट्रिब्यूट वाले <pr:product_id> एलिमेंट, <product_id> एलिमेंट हैं, जिनमें बच्चों के तौर पर कॉन्टेंट टाइप एलिमेंट (<gtins>, <mpns>, <skus>) शामिल हैं
  • <pr:brand> अब <product_id> का चाइल्ड एलिमेंट है
  • <pr:product_name> का नाम अब <product_name> है
  • <pr:product_category> एलिमेंट हटा दिया गया है
  • <link> का नाम अब <product_url> है
  • <pr:number_of_reviews> एलिमेंट हटा दिया गया है
  • <pr:average_rating> और बच्चे के सभी एलिमेंट हटा दिए गए हैं

वर्शन 1

   <pr:products>
      <pr:product>
        <pr:product_id contenttype="MPN">60101-10000</pr:product_id>
        <pr:product_id contenttype="UPC">888884</pr:product_id>
        <pr:product_id contenttype="base_docid">9876543</pr:product_id>
        <pr:brand>Acme</pr:brand>
        <pr:product_name>Tablet Sleeve</pr:product_name>
        <pr:product_category level="1" category_id="123423">Consumer Electronics</pr:product_category>
        <pr:product_category level="2" category_id="123423">Tablets</pr:product_category>
        <pr:product_category level="3" category_id="123423">Cases</pr:product_category>
        <link rel="canonical" type="text/html" href="http://www.example.com/product_6206.html"/>
        <link rel="related" type="image/jpg" href="http://reviews.example.com/..."/>
        <link rel="related" type="text/html" href="http://reviews.example.com/..."/>
        <pr:number_of_reviews>5</pr:number_of_reviews>
        <pr:average_rating>
          <pr:attr name="overall" max="5" min="1" value="3.4"></pr:attr>
          <pr:attr name="durability" max="5" min="1" value="3.7"></pr:attr>
          <pr:attr name="ease_of_use" max="5" min="1" value="3.2"></pr:attr>
        </pr:average_rating>
      </pr:product>
 </pr:products>

वर्शन 2.3

    <products>
        <product>
            <product_ids>
                <gtins>
                    <gtin>541710238425</gtin>
                </gtins>
                <mpns>
                    <mpn>60101-10000</mpn>
                </mpns>
                <skus>
                    <sku>6206</sku>
                </skus>
                <brands>
                    <brand>Acme</brand>
                </brands>
            </product_ids>
            <product_name>Tablet Sleeve</product_name>
            <product_url>http://www.example.com/product_6206.html</product_url>
        </product>
    </products>

रेटिंग की जानकारी:

  • <pr:pros> एलिमेंट अब <pros> एलिमेंट हैं, जिनमें चाइल्ड <pro> एलिमेंट हैं
  • <pr:cons> एलिमेंट अब <cons> एलिमेंट हैं, जिनमें चाइल्ड <con> एलिमेंट हैं
  • <pr:awards> और बच्चे के सभी एलिमेंट हटा दिए गए हैं
  • <pr:overview> एलिमेंट हटा दिया गया है
  • अलग-अलग विशेषता की रेटिंग से जुड़े <pr:ratings> एलिमेंट हटा दिए गए हैं

वर्शन 1

    <pr:pros>Sleek design</pr:pros>
    <pr:pros>Protects the tablet well</pr:pros>
    <pr:cons>Pricey</pr:cons>
    <pr:overview> Best for well lit spaces, outdoor shots...</pr:overview>
    <pr:awards>
      <pr:award>
        <pr:award_name>CBest Camera Award </pr:award_name>
        <link rel="related" type="image/jpg" href="http://www.example.com/..."/>
      </pr:award>
    </pr:awards>
    ...
    <pr:ratings>
      <pr:attr name="overall" max="5" min="1" value="3"></pr:attr>
      <pr:attr name="durability" max="5" min="1" value="3"></pr:attr>
      <pr:attr name="ease_of_use" max="5" min="1" value="3"></pr:attr>
    </pr:ratings>

वर्शन 2.3

    <pros>
        <pro>Sleek design</pro>
        <pro>Protects the tablet well</pro>
    </pros>
    <cons>
        <con>Pricey</con>
    </cons>

ज़्यादा जानकारी:

  • <pr:custom> एलिमेंट और उनके चाइल्ड एलिमेंट को हटा दिया गया है
  • <pr:related_products> एलिमेंट और उनके चाइल्ड एलिमेंट को हटा दिया गया है
  • <is_spam> एलिमेंट जोड़ा गया
  • <collection_method> एलिमेंट जोड़ा गया
  • <transaction_id> एलिमेंट जोड़ा गया

वर्शन 1

   <pr:custom>
      <pr:custom_title>
        Recall Information
      </pr:custom_title>
      <pr:custom_description>
        The batteries used with this camera are known to...
      </pr:custom_description>
       </pr:custom>
   ...
   <pr:related_products>
      <pr:related_product relate="complementary">
        <pr:product_id contenttype="MPN">5454545454</pr:product_id>
        <pr:product_id contenttype="UPC">4444456</pr:product_id>
        <pr:product_id contenttype="base_docid">9876500</pr:product_id>
        <pr:brand>Tamron</pr:brand>
        <pr:product_name>Tamron Telephoto Zoom Lens</pr:product_name>
        <pr:product_category level="1" category_id="123423">Consumer Electronics</pr:product_category>
          <pr:product_category level="2" category_id="123423">Digital Camera</pr:product_category>
            <pr:product_category level="3" category_id="123423">Digital SLR
              Accessories</pr:product_category
            <link rel="canonical" type="text/html" href="http://reviews.example.com/digital-cameras/tamron/id=2345670.html"/>
            <link rel="related" type="text/html" href="http://www.tamron.com."/>
            <link rel="related" type="text/html" href="http://reviews.example.com/digital-cameras/tamron/..."/>
      </pr:related_product>

वर्शन 2.3

      <is_spam>false</is_spam>
      <collection_method>post_fulfillment</collection_method>
      <transaction_id>fulfillment_transaction_11198373</transaction_id>

मिटाई गई समीक्षाएं

समीक्षा फ़ीड की खास जानकारी में, मिटाने का एट्रिब्यूट काम नहीं करता. समीक्षाओं को मिटाने के लिए, उन्हें अपने फ़ीड से हटा दें. पहले सबमिट की गई ऐसी सभी समीक्षाएं मिटा दी जाएंगी जो आपके अगले फ़ीड में शामिल नहीं हैं.

वर्शन 1

  <deleted_entry>
    <id>34567</id>
  </deleted_entry>

वर्शन 2

वर्शन 2 में अब उपलब्ध नहीं है. समीक्षाओं को मिटाने के लिए उन्हें अगले फ़ीड में शामिल न करें.