I'm submitting an XML freed in Atom format and it's not validating, so
i'm looking for some advice here.
Here is a sample piece with 1 item in it:
<?xml version='1.0'?>
<feed xmlns="http://www.w3.org/2005/Atom"; xmlns:g="http://
base.google.com/ns/1.0">
<title type="text">Feed Name</title>
<link rel="self" href="http://www.mycompany.com"; />
<updated>2008-10-30T09:22:49-06:00</updated>
<author>
        <name>My Name</name>
</author>
<id>tag:mycompany.com,2008-10-30:/cgi-bin/products</id>
<entry xmlns:app='http://purl.org/atom/app#'  xmlns:gm='http://
base.google.com/ns-metadata/1.0'>
        <title>Plantronics .Audio 365 - Headset ( ear-cup ) - .AUDIO
365</title>
        <link href="http://www.mycompany.com/cgi-bin/
products/.AUDIO_365" />
        <updated>2008-10-30T09:22:49-06:00</updated>
        <summary>Plantronics .Audio 365 - Headset ( ear-
cup ) .AUDIO_365</summary>
        <g:price>21.03</g:price>
        <g:image_link>http://www.mycompany.com/prodimages/missing/
missing-lg.jpg</g:image_link>
        <g:id>.AUDIO 365</g:id>
        <g:brand>Plantronics</g:brand>
        <g:upc>017229126190</g:upc>
        <g:model_number>.AUDIO 365</g:model_number>
        <g:condition>used</g:condition>
        <g:expiration_date>2008-11-03</g:expiration_date>
        <g:product_type>Multimedia &gt; Headsets &amp;gt; </
g:product_type>
        <g:payment_accepted>Cash, Check, Visa, MasterCard,
AmericanExpress, Discover</g:payment_accepted>
        <g:pickup>true</g:pickup>
        <g:quantity>16</g:quantity>
        <g:tech_spec_link>http://www.mycompany.com/cgi-bin/
specs/.AUDIO_365</g:tech_spec_link>
        <g:shipping>
                <g:country>US</g:country>
                <g:service>Ground</g:service>
                <g:price>10.98</g:price>
        </g:shipping>
        <app:control>
                <gm:publishing_priority>high</gm:publishing_priority>
        </app:control>
</entry>
</feed>

And the response I get from submitting that to the server:
<errors>
  <error type="data" field="item" reason="You must select a type of
item." />
  <error type="data" field="item" reason="A title is required." />
</errors>

I'm not seeing where I don't have a title, nor am I seeing a specific
place where I have to designate an item type that i'm not, but I'm new
to Atom feeds.

Any help or suggestions would be welcome.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Base Data API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Base-data-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to