Link to home
Start Free TrialLog in
Avatar of diarmuidod
diarmuidodFlag for Ireland

asked on

Google Base XML file format

I am trying to prepare a XML file for uploading to Google Base (www.google.com/base) , but am not having much luck. Below is a snippet of the code I have been using. The error message I get is "Data feed upload failed. No items are live."

I cant find an example of a full working XML file that I know works on Google base to follow. So am unsure what I am doing wrong. Perhaps I should be using some header and footer commands or code that I have omitted? Perhaps I need to place the attributes in a particular order?

Can anyone suggest what I might do?

Very many thanks

<item>
<g:price>24.20</g:price> <g:currency>GBP</g:currency>
<link>http://www.myurl.com/mypage.php?myid=mynumber</link>
<g:id>MYNUMBER</g:id>
<title>My Title Here</title>
<g:image_link>http://www.myurl.com/course_image_2.jpg</g:image_link>
<description>My Description Here</description>
<g:payment_accepted>Visa</g:payment_accepted> 
<g:payment_accepted> MasterCard</g:payment_accepted> 
<g:payment_accepted> Discover</g:payment_accepted> 
<g:payment_accepted> Discover</g:payment_accepted> 
<g:payment_accepted> AmericanExpress</g:payment_accepted> 
<g:payment_notes> PayPal accepted</g:payment_notes>
</item>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of BobSiemens
BobSiemens

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of diarmuidod

ASKER

Thank you. Great answer, got it working on the first attempt. Just changed  to  and played with the headings.

Thank you ever so much. I really do apreciate it.