Google Base Feed

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
batmike
Commander (CMDR)
Commander (CMDR)
Posts: 123
Joined: Tue Sep 04, 2007 10:46 am
Location: Minneapolis, MN
Contact:

Google Base Feed

Post by batmike » Mon May 19, 2008 4:17 pm

It seems that Google Base has changed their specifications for their feeds. The "category" attribute is no longer supported and I don't see a new attribute to take its place, unless we use a custom attribute. Also, the "description" attribute is now required. I would have gone in and changed it but I think the export routine is built into the system futher in than I can track down now.

Maybe someone else knows where to find it or has had this problem as well.

Mike

User avatar
nborelli
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 25
Joined: Sat Nov 17, 2007 2:03 pm
Location: Soquel, CA
Contact:

Re: Google Base Feed

Post by nborelli » Mon May 19, 2008 6:00 pm

As far as I can tell, the CommerceBuilder.DataFeeds.GoogleBase class in the CommerceBuilder.dll assembly does this. The class descends from the FeedProviderBase and implements the IFeedProvider interface. However, the GetFeedData(ProductCollection products)
methods is obfuscated and I cannot read its source. If would be great if we had the source code for one of these feeds as a sample like we do with the Authorize.net payment gateway.

Regards,
-Neal
Neal Borelli
Nubius Organics (part time for my wife)
http://www.nubiusorganics.com

User avatar
cerami2
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 103
Joined: Thu Nov 08, 2007 5:29 am
Location: Plymouth MN
Contact:

Re: Google Base Feed

Post by cerami2 » Tue May 20, 2008 2:24 am

Ihave been getting the same problem is there a fix for this

Regards
Joe

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Google Base Feed

Post by jmestep » Tue May 20, 2008 8:26 am

Attention, Joe.......
This would be a good add-on for you to sell since you've gained so much experience with importing data.
Having the generating code into a piece of code that we can't get to as it is now, is going to cause us all problems. Some of us want to do different things, like use a description field instead of summary, and we can't change the feeds now even if the companies change their specs.
If it's reasonably priced, I would buy it if I could get a big client to cough up the money!
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Google Base Feed

Post by AbleMods » Tue May 20, 2008 10:00 pm

I have completed most of my testing on my new feed maker routine. It creates Google Base feed files (in XML) quite well and even explodes variant products properly. It will also automatically adds an AC7 Affiliate ID if you want to use the AC7 affiliate tracking to monitor ROI. The user interface isn't polished and I want some more filtering capabilities, but the file format is solid and working well.

I'm still working on Shopzilla and Shopping.com formats. Not everyone uses XML (bad assumption on my part), so I've had to back-pedal a little and plan for both CSV and XML output based on the CPC marketing campaigns I will support.

Then it's on to Yahoo, MSN (if it's working) and PriceGrabber.com. When I'm done, one module will generate 6 different CPC file formats with plenty of filtering support. Generation speed will probably be an issue with larger store catalogs, but right now that's a reasonable tradeoff (to me) considering how few choices I have with AC7 feed makers.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Google Base Feed

Post by jmestep » Wed May 21, 2008 7:40 am

Generation speed- I don't care as long as it finishes sometime! In Able 5.5 on a store with 11,000 products the Froogle feed generated a .csv file that always timed out before it finished. Once I switched it to an xml feed I didn't have the problem, but I don't know what the difference was.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Google Base Feed

Post by AbleMods » Wed May 21, 2008 7:45 am

File format can affect it a little, but in the end you're just writing text to a disk file so the server speed/db speed has the biggest impact. In my case, I'm using a variety of filter options so it can't utilize the table indices as well as a normal query. Basically I'll be reading every record from disk to memory thus the speed hit.

If I were stronger in SQL, I could write a series of SQL commands that "whittle" down the result sets into a final set of filtered records. But stopping now to bone-up on SQL stored procedures isn't going to help my deadlines :(
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Google Base Feed

Post by jmestep » Wed May 21, 2008 8:39 am

Even though it might be faster, it's probably better to not use the stored procedures because they would have to be added to the database and not everyone can do that.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Google Base Feed

Post by AbleMods » Wed May 21, 2008 9:37 am

jmestep wrote:Even though it might be faster, it's probably better to not use the stored procedures because they would have to be added to the database and not everyone can do that.
Good point. You can do it programmatically, but that would require even further work to make it clean and elegant.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Google Base Feed

Post by jmestep » Wed May 28, 2008 5:29 pm

The field in the table is UnitWeight - I was just guessing in my example.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

mark@fitzz.com
Ensign (ENS)
Ensign (ENS)
Posts: 8
Joined: Mon Feb 13, 2006 4:32 pm
Location: Miami, FL
Contact:

Re: Google Base Feed

Post by mark@fitzz.com » Wed May 28, 2008 5:50 pm

Thank you... we had just figured that out and our internet crashed! Thanks so much for your assistance.

It is outputting the data and now we went from a "tab" delimiter to apparently a "line return". But have this figured out as the "Chr(10)" is a line return and "Chr(9) is a tab.

Phew...

But your help has been amazing! Thanks!

User avatar
cerami2
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 103
Joined: Thu Nov 08, 2007 5:29 am
Location: Plymouth MN
Contact:

Re: Google Base Feed

Post by cerami2 » Mon Jun 16, 2008 7:37 am

has able commerce made a fix yet for the google feed change for 7.0 .And if they had were do i find it

thanks
Joe

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Google Base Feed

Post by jmestep » Mon Jun 16, 2008 8:04 am

I think they have got it done, but not released.
http://bugs.ablecommerce.com/show_bug.cgi?id=6790
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

Post Reply