Google Base for Amazon Product Ads

General ShopSite user discussion

Google Base for Amazon Product Ads

Postby gene » Fri Jul 31, 2009 11:19 pm

I have an account for the Amazon Product Ads and it requires Google Base tab delimited txt file option for uploads. Since Shopsite Generates froogle-bulk.xml for Google Base, I cant use this file because Amazon doesnt want an xml file. Is anyone doing something like this? Or do you have any suggestion how I can use a Google base file from shopsite in a tab delimited format?
gene
 
Posts: 122
Joined: Mon Feb 09, 2009 10:54 pm
Location: Philippines

Postby Jim » Sat Aug 01, 2009 7:21 am

You could download the products to a tab delimited file from within ShopSite. Just select the fields and put them in the order that Amazon wants and you should be able to get a tab delimited file that Amazon will accept.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby gene » Sun Aug 02, 2009 6:49 pm

Thanks Jim. That somehow help. Still need to manually edit the file though.
gene
 
Posts: 122
Joined: Mon Feb 09, 2009 10:54 pm
Location: Philippines

Postby BFChris » Wed Aug 26, 2009 5:27 pm

One of the required fields is a "link"--ie. the full URL to the page where the product can be found (MoreInfoPage URL). I didn't find this as an option in the Product Download.

Likewise, for the "image," they want a full URL path to an image of the product. Again, none of the selectable fields return this information.

How do you overcome this?
~~Barefoot Chris
--------------------------------
Barefoot Chris Web Design
www.barefootchris.net
--------------------------------
BFChris
 
Posts: 322
Joined: Mon Oct 09, 2006 3:28 pm
Location: PA

Postby gene » Wed Aug 26, 2009 9:54 pm

Select download fields > Selected Fields only > Filename and More information Graphic
gene
 
Posts: 122
Joined: Mon Feb 09, 2009 10:54 pm
Location: Philippines

Postby BFChris » Thu Aug 27, 2009 6:49 am

Filename returns blank for me. I think it only shows up if you specify a specific filename for the more info page. In any case, does it return the full URL or just the filename itself for you?

Ditto for the image...do you get a full path, including domain name, etc?
~~Barefoot Chris
--------------------------------
Barefoot Chris Web Design
www.barefootchris.net
--------------------------------
BFChris
 
Posts: 322
Joined: Mon Oct 09, 2006 3:28 pm
Location: PA

Postby Jim » Thu Aug 27, 2009 8:14 am

You are correct that the filename will be blank if you have not specified one. If that is the case shopsite creates the file name with product###.html.

The full url to pages or images will not be downloaded in a download of products or pages. You would need to manually create that data before you submit the feed. This could be done by filling a column with the base url for your store. Then use the syntax for your application (Excel, QuattroPro etc) to combine the contents of the column with the base url and the column with the file name. For images add /media to the base url.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby BFChris » Thu Aug 27, 2009 8:27 am

This makes it a tedious and somewhat manual process, especially if page file names are not assigned.

Any other options, perhaps for converting the Google base XML feed to text format?

I tried just creating a Shopsite template to output the data into a new .txt page (tab-delimited), but ran into 2 issues:

1) Can't figure out how to code a tab into the text document and

2) The automatic Product Record Number anchor tags Shopsite always outputs when it loops through products...break my listing.
~~Barefoot Chris
--------------------------------
Barefoot Chris Web Design
www.barefootchris.net
--------------------------------
BFChris
 
Posts: 322
Joined: Mon Oct 09, 2006 3:28 pm
Location: PA

Postby Jim » Thu Aug 27, 2009 10:31 am

I'm not sure how you put a tab in html either but you could create the file as a csv (comma separated value) instead of tab delimited.

For Excel you would put a quote mark, the shopsite field, another quote and a comma and repeat for each field you want to include.

"[-- product.name", "product.price", ... etc
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby BFChris » Thu Aug 27, 2009 10:37 am

I considered that and tried it.

It still leaves me with the issue of the record number
Code: Select all
<!--Rec 54 --> <a name="#54"></a>


being auto-inserted and breaking my file.
~~Barefoot Chris
--------------------------------
Barefoot Chris Web Design
www.barefootchris.net
--------------------------------
BFChris
 
Posts: 322
Joined: Mon Oct 09, 2006 3:28 pm
Location: PA

Postby Jim » Thu Aug 27, 2009 10:50 am

It shouldn't break the file. Simply put a " at the start of the loop product section and a ", before the first product tag and it will be in a column that you could then delete before you submit the feed.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby loren_d_c » Thu Aug 27, 2009 10:55 am

You could try making the special page a .php file, and before the LOOP Products put <? /* and then at the beginning of the product template put */ ?> and at the end of the product template put <? /* again, and after the END_LOOP Products put a final */ ?>. I haven't tried this myself, but this should put the anchor tags that ShopSite generates at the beginning of each product into PHP, and commented out. So when you view the page through the webserver, the PHP module will parse these out and not display them in the resulting page.

Again, I haven't tested this myself, but I have heard of others doing something similar.

-Loren
loren_d_c
 
Posts: 2572
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Postby BFChris » Thu Aug 27, 2009 12:39 pm

I think I may have figured this out.

It does use the PHP idea and the comment out as suggested, but goes a bit beyond.

Will test tonight.

Thanks for the suggestions.
~~Barefoot Chris
--------------------------------
Barefoot Chris Web Design
www.barefootchris.net
--------------------------------
BFChris
 
Posts: 322
Joined: Mon Oct 09, 2006 3:28 pm
Location: PA

Postby BFChris » Fri Aug 28, 2009 7:42 am

I have a working template for this, using a custom product and page template and some PHP scripting.

The good news is that it should be easy to adapt for any feed that requires a tab delimited file.

The bad news is I still have to tweak to deal with unusual characters that people may include in the Shopsite data fields, particularly Product description, as they can break the script.

I hope to deal with that soon, though.

Anyone interested, please contact me.
~~Barefoot Chris
--------------------------------
Barefoot Chris Web Design
www.barefootchris.net
--------------------------------
BFChris
 
Posts: 322
Joined: Mon Oct 09, 2006 3:28 pm
Location: PA


Return to User Forum

Who is online

Users browsing this forum: No registered users and 152 guests