xml format error with upload to google
-
- Posts: 9
- Joined: Fri Dec 04, 2009 1:49 pm
- Location: usa
xml format error with upload to google
I am new to uploading to Google Base or Merchant Center. Have not had a successful upload. Using Shopsite Manager Pro version 10.o. It seems to get the file but nothing is imported. Message will say 0 of 1651 items, for example. The drop down message is:
xml formatting error
line nr column nr
2 21
I am creating file automatically through ShopSite and let them do upload and also tried manually through Base or Merchant Center. Nothing seems to work .I know how to look at the file contents but where is line 2 column 21 for example. Is it second line of the header,21st characher or 2 product?? I don't know where to look or what is the problem.
Many thanks for whatever assistance you can give to help me get file uploaded.
xml formatting error
line nr column nr
2 21
I am creating file automatically through ShopSite and let them do upload and also tried manually through Base or Merchant Center. Nothing seems to work .I know how to look at the file contents but where is line 2 column 21 for example. Is it second line of the header,21st characher or 2 product?? I don't know where to look or what is the problem.
Many thanks for whatever assistance you can give to help me get file uploaded.
-
- Posts: 9
- Joined: Fri Dec 04, 2009 1:49 pm
- Location: usa
Jim,
thanks...here are first section of lines... There are actually several spaces between the 'feed' in second line and the 'xmlns 'but it doesn't show up that in the posted note to the forum.
<?xml version='1.0'?>
<feed xmlns="http://www.w3.org/2005/Atom"
xmlns:g="http://base.google.com/ns/1.0"
xmlns:batch="http://schemas.google.com/gdata/batch">
<title type="text">http://designingwomanjewelry.com/store/index.html Batch Feed</title>
<category scheme="http://base.google.com/categories/itemtypes" term="products"/>
<entry>
<g:id>PID#1</g:id>
thanks...here are first section of lines... There are actually several spaces between the 'feed' in second line and the 'xmlns 'but it doesn't show up that in the posted note to the forum.
<?xml version='1.0'?>
<feed xmlns="http://www.w3.org/2005/Atom"
xmlns:g="http://base.google.com/ns/1.0"
xmlns:batch="http://schemas.google.com/gdata/batch">
<title type="text">http://designingwomanjewelry.com/store/index.html Batch Feed</title>
<category scheme="http://base.google.com/categories/itemtypes" term="products"/>
<entry>
<g:id>PID#1</g:id>
-
- Posts: 9
- Joined: Fri Dec 04, 2009 1:49 pm
- Location: usa
jim,
I was told that my issue may be that the file shopsite creates is for API rather than xml. Initially I did set up API key but it never worked. On the configure screen in Shopsite, I changed to FTP radio button but the API key keeps appearing. I try to remove and save but it appears again.
At this point, do I need to have shopsite create a FTP format file? If so, how can I get it to do it? I don;t see in Google where I can have the APIkey removed from my account. I am using 10.0 version of Shopstie.
I was told that my issue may be that the file shopsite creates is for API rather than xml. Initially I did set up API key but it never worked. On the configure screen in Shopsite, I changed to FTP radio button but the API key keeps appearing. I try to remove and save but it appears again.
At this point, do I need to have shopsite create a FTP format file? If so, how can I get it to do it? I don;t see in Google where I can have the APIkey removed from my account. I am using 10.0 version of Shopstie.
-
- Posts: 9
- Joined: Fri Dec 04, 2009 1:49 pm
- Location: usa
-
- Posts: 9
- Joined: Fri Dec 04, 2009 1:49 pm
- Location: usa
Solved it...part way...I looked in other threads and saw that this is a problem in the file format that Shopsite Manager create. There are extra lines at the start of the file that need to be removed. See below.. I manually did what they suggested and it worked..for the first time after many many head-banging tries. I am using 10.0 verison and same for others having this issue. They have asked for a fix form Shopsite.
he error messages we get from Google when we try the "send feed" button are as follows:
1. XML tag mismatch
2. Invalid RSS/Atom document format
ShopSite says that the feed has been sent successfully - then we get the above error messages from Google. Then we download the file, remove the beginning spaces and manually upload it to Google and Google is happy.
_________________
roblem in the file itselft
he error messages we get from Google when we try the "send feed" button are as follows:
1. XML tag mismatch
2. Invalid RSS/Atom document format
ShopSite says that the feed has been sent successfully - then we get the above error messages from Google. Then we download the file, remove the beginning spaces and manually upload it to Google and Google is happy.
_________________
roblem in the file itselft
-
- Site Admin
- Posts: 4953
- Joined: Fri Aug 04, 2006 1:42 pm
- Location: Utah
-
- Posts: 9
- Joined: Fri Dec 04, 2009 1:49 pm
- Location: usa
Jim,
Shopsite Version 10.0,windows xp, Startlogic host system. When I open my file, here is the set up:
BLANK LINE
<?xml version='1.0'?>
<feed xmlns="http://www.w3.org/2005/Atom"
xmlns:g="http://base.google.com/ns/1.0"
xmlns:batch="http://schemas.google.com/gdata/batch">
(I wrote in the 'blank line' comment and the space at ' feed xlms' is exactly how it appears).
Here is part of the message from the user who was having the same issue):
Joined: 05 Oct 2009
Posts: 7
Location: Raymond, NH
Posted: Tue Oct 06, 2009 6:14 am Post subject: Fix automated Google base file
--------------------------------------------------------------------------------
See this forum: http://support.shopsite.com/forums/viewtopic.php?t=6586
The XML file automatically generated has spaces before the XML declaration line that causes Google to reject the file. At least this is happening on Windows servers - don't know about Linux or Unix servers.
The error messages we get from Google when we try the "send feed" button are as follows:
1. XML tag mismatch
2. Invalid RSS/Atom document format
ShopSite says that the feed has been sent successfully - then we get the above error messages from Google. Then we download the file, remove the beginning spaces and manually upload it to Google and Google is happy.
_________________
Thanks,
sue
Shopsite Version 10.0,windows xp, Startlogic host system. When I open my file, here is the set up:
BLANK LINE
<?xml version='1.0'?>
<feed xmlns="http://www.w3.org/2005/Atom"
xmlns:g="http://base.google.com/ns/1.0"
xmlns:batch="http://schemas.google.com/gdata/batch">
(I wrote in the 'blank line' comment and the space at ' feed xlms' is exactly how it appears).
Here is part of the message from the user who was having the same issue):
Joined: 05 Oct 2009
Posts: 7
Location: Raymond, NH
Posted: Tue Oct 06, 2009 6:14 am Post subject: Fix automated Google base file
--------------------------------------------------------------------------------
See this forum: http://support.shopsite.com/forums/viewtopic.php?t=6586
The XML file automatically generated has spaces before the XML declaration line that causes Google to reject the file. At least this is happening on Windows servers - don't know about Linux or Unix servers.
The error messages we get from Google when we try the "send feed" button are as follows:
1. XML tag mismatch
2. Invalid RSS/Atom document format
ShopSite says that the feed has been sent successfully - then we get the above error messages from Google. Then we download the file, remove the beginning spaces and manually upload it to Google and Google is happy.
_________________
Thanks,
sue
-
- Posts: 9
- Joined: Fri Dec 04, 2009 1:49 pm
- Location: usa
In Shopsite Manager, Merchandising,google,product search,send feed, then there is a link that shows the date/time of that or the last feed. If you click on that the file contents open up. What I sent in my last post is what appears at the beginning. That is where I do the copy paste to notepad and remove the spaces and save and then do upload in Google via manual. The Shopsite feed file has never been accepted. Always same error.
-
- Posts: 9
- Joined: Fri Dec 04, 2009 1:49 pm
- Location: usa