Zen Cart Logo
Forums / All Other Contributions/Addons / Google Base Feeder Support Thread [OLD]

Google Base Feeder Support Thread [OLD]

Locked

Views: 806,145

Results 361 to 380 of 3,556
This thread is locked. New replies are disabled.
29 Aug 2007, 7:09 PM
#361
ctcentralinfo avatar

ctcentralinfo

Totally Zenned

Join Date:
Apr 2005
Posts:
853
Plugin Contributions:
0

Google Base Feeder Support Thread [OLD]

numinix:

You are not using a current version. You must have downloaded the script using the link located at the bottom of the page instead of the top. You can make sure you have the latest version by using the version located on my website.

I downloaded the version I am using from your site.

29 Aug 2007, 7:25 PM
#362
tcustomgolf avatar

tcustomgolf

Inactive

Join Date:
Dec 2005
Location:
NY
Posts:
162
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

numinix....this is the reposnse I received from my hosting co.:

"**You'll need to review the script as it is throwing the following error even executing from the shell

[1] 26094

Could not open input file: /home/tcustom/public_html/googlefroogle.php?feed=yes

[1]+ Exit 1** "

29 Aug 2007, 8:19 PM
#363
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,566
Plugin Contributions:
58

Re: Google Base Feeder Support Thread [OLD]

ctcentralinfo:

I downloaded the version I am using from your site.

The file should be .xml, not .txt.

numinix....this is the reposnse I received from my hosting co.:

"**You'll need to review the script as it is throwing the following error even executing from the shell

[1] 26094

Could not open input file: /home/tcustom/public_html/googlefroogle.php?feed=yes

[1]+ Exit 1** "

Here is the command I use:

wget 'http://www.domain.com/googlefroogle.php?feed=yes&upload=yes' > /dev/null 2>&1
29 Aug 2007, 8:23 PM
#364
ctcentralinfo avatar

ctcentralinfo

Totally Zenned

Join Date:
Apr 2005
Posts:
853
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

[QUOTE=numinix;424743]The file should be .xml, not .txt.

Yeah the file was xml but I have my upload file as txt. The feed looks as follows:

<?xml version="1.0" encoding="UTF-8" ?> <rss version="2.0" xmlns:g="http://base.google.com/ns/1.0"> <channel> <title>Cool Tech Central</title> <link>http://www.cooltechcentral.com</link> <description></description> <item> <title>HIFI-LINK - XITEL (ACCESSORY)</title> <g:brand>XITEL TECHNOLOGIES LLC</g:brand> <g:condition>new</g:condition> <g:product_type>Accessories, COMPUTER</g:product_type> <g:expiration_date>2008-08-28</g:expiration_date> <g:id>2</g:id> <guid isPermaLink="false">2</guid> <g:image_link>http://www.cooltechcentral.com/bmz_cache/a/a99c530f1f467b0765501b4027c82d13.image.142x180.jpg</g:image_link> <link>http://www.cooltechcentral.com/index.php?main_page=product_info&products_id=2&currency=USD</link> <g:price>44.74</g:price> <g:mpn>NV2095468</g:mpn> <g:currency>USD</g:currency> <description>The HiFi-LinkTM is a simple way to significantly improve the audio performance of PCs and Macs, allowing them to connect to HiFi systems as though they were a piece of high fidelity stereo equipment. Internet radio, streaming audio and downloaded m Format: ACCESSORY</description> </item> <item> <title>PS2 STARTER KIT - INCLUDES BLACK OR BLUE COLOR (PLAYSTATION II)</title> <g:brand>INTEC INC</g:brand> <g:condition>new</g:condition> <g:product_type>Accessories, PS2</g:product_type> <g:expiration_date>2008-08-28</g:expiration_date>

So do I need to register the feed as an xml file now instead of txt?

29 Aug 2007, 8:23 PM
#365
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,566
Plugin Contributions:
58

Re: Google Base Feeder Support Thread [OLD]

v1.5.3 GOOGLE BASE FEEDER

  1. Added support for Auction Site Attributes (required if using UPC);
  2. Outputs items in descending order for RSS readers;

This includes CONDITION, and PRODUCT_TYPE using the PRODUCT CATEGORY attribute from Auction Site Attributes.

If you do not have Auction Site Attributes installed, but are using the UPC/ISBN mod (no longer supported), then you should activate Auction Site Attributes from the GBF configuration. This will allow you to continue to include UPC/ISBN in your feed.

For those who are not using ASA, there is still a reason to upgrade. This new version outputs the products in descending order (newest to oldest). This means that if you view your XML/RSS file with an RSS reader, it will display your newest products first. Just a little something to help those wanting to have an RSS feed on their website and do not currently have the RSS 2.0 script that Andrew Berezin no longer distributes.

29 Aug 2007, 8:25 PM
#366
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,566
Plugin Contributions:
58

Re: Google Base Feeder Support Thread [OLD]

[quote=ctcentralinfo;424746]> numinix:

The file should be .xml, not .txt.

Yeah the file was xml but I have my upload file as txt. The feed looks as follows:

So do I need to register the feed as an xml file now instead of txt?

.txt is for tab delimited files. The latest versions of this script only use .XML. In 1.5.4 I will make it so that if the file is named incorrectly, it will return an error.

29 Aug 2007, 8:55 PM
#367
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,566
Plugin Contributions:
58

Re: Google Base Feeder Support Thread [OLD]

Found a bug in the script. Rather than release a new version, I will release a patch here. The version on my website will include the patch.

30 Aug 2007, 4:04 PM
#368
lismith avatar

lismith

New Zenner

Join Date:
May 2007
Posts:
78
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

I just installed 1.5.3 plus the new patch posted here. I have 2 problems...

  1. The link from Admin -> Tools -> Google Base Feeder points to the file "Google Base Feeder.php" (which doesn't exist.) I can load it by manually going to .../admin/googlefroogle.php.

  2. Step 1 opens a small window which sits for a couple of minutes, then times out with the error:

Fatal error: Maximum execution time of 30 seconds exceeded in /home/(removed)/includes/classes/bmz_image_handler.class.php on line 443
I have Image Handler 2 mod installed and that's what the error is referring to but I have no idea why....? :huh:

30 Aug 2007, 5:36 PM
#369
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,566
Plugin Contributions:
58

Re: Google Base Feeder Support Thread [OLD]

lismith:

I just installed 1.5.3 plus the new patch posted here. I have 2 problems...

  1. The link from Admin -> Tools -> Google Base Feeder points to the file "Google Base Feeder.php" (which doesn't exist.) I can load it by manually going to .../admin/googlefroogle.php.

  2. Step 1 opens a small window which sits for a couple of minutes, then times out with the error:

Fatal error: Maximum execution time of 30 seconds exceeded in /home/(removed)/includes/classes/bmz_image_handler.class.php on line 443

I have Image Handler 2 mod installed and that's what the error is referring to but I have no idea why....? :huh:

Not sure what caused your first error, but for the second one you need to increase the max execution time in your admin configuration as directed earlier on in this thread.

31 Aug 2007, 12:40 AM
#370
lismith avatar

lismith

New Zenner

Join Date:
May 2007
Posts:
78
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

OK, I changed max execution time to 300 and I still get the same error saying that it exceeded max execution time of 30....? :huh:

If it helps, bmz_image_handler.class.php line 443 is...

        imagesetpixel($background, $x + $startwidth, $y + $startheight, $color);

I have over 4,000 products. Could that have something to do with why it's timing out?

31 Aug 2007, 4:41 AM
#371
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,566
Plugin Contributions:
58

Re: Google Base Feeder Support Thread [OLD]

Try changing the max execution time in php.ini. I have no other solution than that. You can find this information in the first couple of posts in this thread.

31 Aug 2007, 5:13 AM
#372
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Google Base Feeder Support Thread [OLD]

Numinix, I am going to ask this question but don't slap my hands for asking. Is there a way to convert the xml generated to a text file?

31 Aug 2007, 7:04 AM
#373
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,566
Plugin Contributions:
58

Re: Google Base Feeder Support Thread [OLD]

Not within this script. You'd have to rewrite it.

31 Aug 2007, 1:11 PM
#374
helpme avatar

helpme

Totally Zenned

Join Date:
Apr 2007
Posts:
632
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

I just uploaded 1.5.3 a and update .sql and it isn't creating the correct feed. (it was working before I updated everything)
I changed my output file name from ***.txt to ***.xml--> registered the new file with googlebase-->created a new file-->uploaded file to google base

the new file created does not contain any of my products:


<?xml version="1.0" encoding="UTF-8" ?> 
[URL="file:///C:/Users/T.S.%20Johnson/Documents/ZEN%20CART/google_base_feeder_v1.5.3[1]/Google%20Base%20Feeder%20v1.5.3/froogle.xml#"]-[/URL] <rss version="2.0" xmlns:g="http://base.google.com/ns/1.0">
[URL="file:///C:/Users/T.S.%20Johnson/Documents/ZEN%20CART/google_base_feeder_v1.5.3[1]/Google%20Base%20Feeder%20v1.5.3/froogle.xml#"]-[/URL] <channel>
 <title>Mommy and Baby Essentials</title> 

 <link>GOOGLE_BASE_ADDRESS</link> 

 <description>GOOGLE_BASE_DESCRIPTION</description> 

 </channel>


 </rss>

I have uploaded everything 2 times.
Any ideas what I did wrong?
Thanks

31 Aug 2007, 3:21 PM
#375
lismith avatar

lismith

New Zenner

Join Date:
May 2007
Posts:
78
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

numinix:

Try changing the max execution time in php.ini. I have no other solution than that. You can find this information in the first couple of posts in this thread.

All of a sudden it works. :clap:

Maybe the server was under heavy load yesterday. Anyway, it's all good now. :yes: Thanks!

31 Aug 2007, 7:14 PM
#376
helpme avatar

helpme

Totally Zenned

Join Date:
Apr 2007
Posts:
632
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

helpme:

I just uploaded 1.5.3 a and update .sql and it isn't creating the correct feed. (it was working before I updated everything)
I changed my output file name from ***.txt to ***.xml--> registered the new file with googlebase-->created a new file-->uploaded file to google base

the new file created does not contain any of my products:

<?xml version="1.0" encoding="UTF-8" ?>

[URL="file:///C:/Users/T.S.%20Johnson/Documents/ZEN%20CART/google_base_feeder_v1.5.3[1]/Google%20Base%20Feeder%20v1.5.3/froogle.xml#"]-[/URL] <rss version="2.0" xmlns:g="http://base.google.com/ns/1.0">
[URL="file:///C:/Users/T.S.%20Johnson/Documents/ZEN%20CART/google_base_feeder_v1.5.3[1]/Google%20Base%20Feeder%20v1.5.3/froogle.xml#"]-[/URL] <channel>

<title>Mommy and Baby Essentials</title> <link>GOOGLE_BASE_ADDRESS</link>

<description>GOOGLE_BASE_DESCRIPTION</description>

</channel> </rss>
>  
> I have uploaded everything 2 times. 
> Any ideas what I did wrong?
> Thanks
 
 
I fixed it!!:clap:  I deleted all of the google froogle files....uninstalled all .sql files and started over.  For some reason overwriting the files did not work...oh well it's fixed!!!
1 Sep 2007, 6:38 AM
#377
0101101011 avatar

0101101011

New Zenner

Join Date:
Nov 2006
Posts:
61
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

numinix:

Has anyone been able to use this script with over 1000 products without editing the php.ini or .htaccess files?

Hi numinix,
I have 2047 items: before even going into the timeout, I've got the following error, while creating feed:

error on line 487 at column 6594: Entity 'eacute' not defined

I'm going to look for the meaning of it, but if you happened to know what it is all about, I will very much appreciate your help,

Thanks,

1 Sep 2007, 7:08 AM
#378
0101101011 avatar

0101101011

New Zenner

Join Date:
Nov 2006
Posts:
61
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

Well, just to speed up the process at this moment I have replaced all 'eacute' characters with the regular 'e'.
Now about the timeout: I have 2024 active items - the results of running the feed are as follow:

"Google Base Feeder v.1.5.3 28.08.2007 10:25 started 2007/09/01 01:59:49
Feed file - (...) /feed/google_base.xml
Processing: Feed - Yes, Upload - No
Google Base File Complete In 4.271262 Seconds 2024 Records

So, it seems like it populated all items, however, I've got another error message:

This page contains the following errors:
error on line 25275 at column 343010: internal error

It seems to me like end of the file anyway, I'm not sure what the error is about - any clues?
Thanks,

1 Sep 2007, 1:36 PM
#379
lismith avatar

lismith

New Zenner

Join Date:
May 2007
Posts:
78
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

I thought mine was working correctly when I ran it early in the morning (less server load?) but I found that it only output 1,295 products. I have over 4,000 products. :(

2 Sep 2007, 2:12 AM
#380
0101101011 avatar

0101101011

New Zenner

Join Date:
Nov 2006
Posts:
61
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

lismith:

I thought mine was working correctly when I ran it early in the morning (less server load?) but I found that it only output 1,295 products. I have over 4,000 products. :(

Hi - I've ran into something like this: 2 possible scenarios: an actual error (i.e. unrecognized character, etc.) - you can see that if you view the xml file via Tools>Google Base Feeder >view (in Step 1).
Or: you have linked items, in which case the xml will generate only the 'master category' files (at least this is what I believe after playing with it a bit).

Maybe someone could confirm that - Thanks,