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

Google Base Feeder Support Thread [OLD]

Locked

Views: 806,439

Results 2,021 to 2,040 of 3,556
This thread is locked. New replies are disabled.
19 Jan 2010, 7:25 PM
#2021
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Google Base Feeder Support Thread [OLD]

Stuff4Toys:

Thanks for pointing out this file.

Question? Can I cause it to convert quot; with "

Can I do the following in line 189?

$str = utf8_encode(str_replace(array("®", "©", "™", " ", "quot;"), array('(r)', '(c)', '(tm)', ' ', '"'), $str));

or will that muck things up?
JOhn ><>Back on page 191 of this thread find this post:
http://www.zen-cart.com/forum/showpost.php?p=812058&postcount=1902

20 Jan 2010, 7:08 AM
#2022
pinkleopard avatar

pinkleopard

Zen Follower

Join Date:
Jun 2009
Posts:
383
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

Stuff4Toys:

Thanks for pointing out this file.

Question? Can I cause it to convert quot; with "

Can I do the following in line 189?

$str = utf8_encode(str_replace(array("®", "©", "™", " ", "quot;"), array('(r)', '(c)', '(tm)', ' ', '"'), $str));

or will that muck things up?
JOhn ><>

John:

There are two fixes you should make on google_base.php

In this thread they are #1902 & #1922.

Let me know if you need any other help.

Glad you found it!

Bridgett

20 Jan 2010, 4:34 PM
#2023
stuff4toys avatar

stuff4toys

Totally Zenned

Join Date:
May 2007
Location:
SW Florida
Posts:
1,062
Plugin Contributions:
1

Re: Google Base Feeder Support Thread [OLD]

PinkLeopard:

John:

There are two fixes you should make on google_base.php

In this thread they are #1902 & #1922.

Let me know if you need any other help.

Glad you found it!

Bridgett
Thanks for your help, got it.
:clap:

20 Jan 2010, 5:51 PM
#2024
g_force avatar

g_force

Zen Follower

Join Date:
Feb 2009
Posts:
354
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

PinkLeopard:

How is your cron set-up?

How many times within a 24 hour period?

Thanks.

I haven't set it up yet on my server but in merchant center it is set up every month.. I do have a sitemap mod - that pings to various search engines - don't know if this is causing any repetitions but sounds strange. Any thoughts?

_thanks

20 Jan 2010, 8:39 PM
#2025
pinkleopard avatar

pinkleopard

Zen Follower

Join Date:
Jun 2009
Posts:
383
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

Stuff4Toys:

Thanks for your help, got it.
:clap:

Woohee :clap:

20 Jan 2010, 8:45 PM
#2026
pinkleopard avatar

pinkleopard

Zen Follower

Join Date:
Jun 2009
Posts:
383
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

g_force:

I haven't set it up yet on my server but in merchant center it is set up every month.. I do have a sitemap mod - that pings to various search engines - don't know if this is causing any repetitions but sounds strange. Any thoughts?

_thanks

You can search this thread to see if there were conflict but off the top of my head it would be really hard for me to say because I don't have the sitemap mod.

Btw, exactly how is google duplicating your items?

Thanks

Bridgett :wub:

20 Jan 2010, 9:00 PM
#2027
icecold avatar

icecold

Zen Follower

Join Date:
Jul 2008
Posts:
360
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

Configuration:

I have an error when I try to run 'create product feed' from admin

I set up:

Output File Name
Set the name of your froogle output file
my_feed

Before it used to work fine and the output file created was:
my_feed_products.xml

but now I get this error >>>>

Google Base Feeder v started 2010/01/20 15:57:24
Feed file - /home/myuser/theoutletseason-www/electronics/feed/my_feed_products.xml
Processing: Feed - Yes, Upload - No
Error opening google base output file "/home/myuser/theoutletseason-www/electronics/feed/my_feed"

I tried to fix it by changing the output file name, but that only duplicated _products.xml so the end result was my_feed_products.xml_products_xml!

20 Jan 2010, 9:58 PM
#2028
g_force avatar

g_force

Zen Follower

Join Date:
Feb 2009
Posts:
354
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

PinkLeopard:

You can search this thread to see if there were conflict but off the top of my head it would be really hard for me to say because I don't have the sitemap mod.

Btw, exactly how is google duplicating your items?

Thanks

Bridgett :wub:

it duplicates them in the title - like if you search 'zen cart' and get this result -

Zen Cart(tm) Tutorials and FAQs
Where to find the Zen Cart switches and controls. How to set up categories and products, using the other features of Zen Cart. ...
www.zen-cart.com/tutorials/ - Cached - Similar

mine would be:

Zen Cart(tm) Tutorials and FAQs Zen Cart(tm) Tutorials and FAQs
Where to find the Zen Cart switches and controls. How to set up categories and products, using the other features of Zen Cart. ...
www.zen-cart.com/tutorials/ - Cached - Similar

I hope that makes it a little clearer, and we can get closer to the solution..

_thanks

21 Jan 2010, 2:10 AM
#2029
pinkleopard avatar

pinkleopard

Zen Follower

Join Date:
Jun 2009
Posts:
383
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

icecold:

Configuration:

I have an error when I try to run 'create product feed' from admin

I set up:

Output File Name
Set the name of your froogle output file
my_feed

Before it used to work fine and the output file created was:
my_feed_products.xml

but now I get this error >>>>

Google Base Feeder v started 2010/01/20 15:57:24
Feed file - /home/myuser/theoutletseason-www/electronics/feed/my_feed_products.xml
Processing: Feed - Yes, Upload - No
Error opening google base output file "/home/myuser/theoutletseason-www/electronics/feed/my_feed"

I tried to fix it by changing the output file name, but that only duplicated _products.xml so the end result was my_feed_products.xml_products_xml!

Chmod feed file to 777 or in your case /feed/my_feed.

It appears it cannot read the file in the folder.

Hope that helps.

Bridgett

21 Jan 2010, 2:13 AM
#2030
pinkleopard avatar

pinkleopard

Zen Follower

Join Date:
Jun 2009
Posts:
383
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

g_force:

it duplicates them in the title - like if you search 'zen cart' and get this result -

Zen Cart(tm) Tutorials and FAQs
Where to find the Zen Cart switches and controls. How to set up categories and products, using the other features of Zen Cart. ...
www.zen-cart.com/tutorials/ - Cached - Similar

mine would be:

Zen Cart(tm) Tutorials and FAQs Zen Cart(tm) Tutorials and FAQs
Where to find the Zen Cart switches and controls. How to set up categories and products, using the other features of Zen Cart. ...
www.zen-cart.com/tutorials/ - Cached - Similar

I hope that makes it a little clearer, and we can get closer to the solution..

_thanks

Ah...I see what you mean...I would check

include/classes/google_base.php

Did you make any changes to it?

The second choice may be the googlefroogle.php

One of your files is duplicating the title within.

Try checking those files or upload fresh one but BACK-UP first.

Hope that helps.

Birdgett

21 Jan 2010, 2:17 AM
#2031
pinkleopard avatar

pinkleopard

Zen Follower

Join Date:
Jun 2009
Posts:
383
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

icecold:

Configuration:

I have an error when I try to run 'create product feed' from admin

I set up:

Output File Name
Set the name of your froogle output file
my_feed

Before it used to work fine and the output file created was:
my_feed_products.xml

but now I get this error >>>>

Google Base Feeder v started 2010/01/20 15:57:24
Feed file - /home/myuser/theoutletseason-www/electronics/feed/my_feed_products.xml
Processing: Feed - Yes, Upload - No
Error opening google base output file "/home/myuser/theoutletseason-www/electronics/feed/my_feed"

I tried to fix it by changing the output file name, but that only duplicated _products.xml so the end result was my_feed_products.xml_products_xml!

You change the .xml file within the google configuration in your admin AND if you change that .xml file name you would make sure that it is changed in your google account too.

Don't change .xml file name in the google_base.php file. That's wrong.

21 Jan 2010, 8:42 PM
#2032
smoke133 avatar

smoke133

Zen Follower

Join Date:
Jul 2007
Location:
Roseville, Michigan
Posts:
188
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

DivaVocals:

Wanted to correct my earlier post.. Hypercoyote pointed out an error in the code posted by both Davewest and myself..

Also in looking over this again, I realized that there may have been no reason to replace the original code in the sanitizer section.. just simply needed to add to it..

So here's the corrected code.. (Works with version 1.7.4 of Google Base Feeder module)

  • To fix double quotation (") marks in product descriptions, AND product titles. (ie: 12-14" Widget)
  • To correct ampersands (&) used instead of the word "and" in product descriptions.

In \includes\classes\google_base.php around line 202 find this:

$str = str_replace(array("<", ">"), array("<", ">"), $str);

> ```php
//      $str = str_replace(array("<", ">"), array("<", ">"), $str);
//      10-01-2009 Updated line 202 to include corrections for quotation marks and ampersands in product titles and descriptions
        $str = str_replace(array("<", ">", "lt;", "gt;", "quot;", """, "amp;"), array("<", ">", "<", " > ", """, "\"", "&"), $str);

I looked in that file and I see that line in two places. Do you replace both place that this shows up in the php?

21 Jan 2010, 10:48 PM
#2033
pinkleopard avatar

pinkleopard

Zen Follower

Join Date:
Jun 2009
Posts:
383
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

smoke133:

I looked in that file and I see that line in two places. Do you replace both place that this shows up in the php?

I only replaced:

In \includes\classes\google_base.php around line 202.

Hope that helps

Bridgett

21 Jan 2010, 11:36 PM
#2034
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Google Base Feeder Support Thread [OLD]

smoke133:

I looked in that file and I see that line in two places. Do you replace both place that this shows up in the php?In my post, I provided the line number where I made the change..

24 Jan 2010, 1:06 AM
#2035
lost_and_confused avatar

lost_and_confused

New Zenner

Join Date:
Jan 2010
Posts:
69
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

Hello,

I uploaded google base and I only have access to google in configuration. When I go to tools the google is not available. My feed file is chmod 777. Do I have to change the name of my admin file to match my other admin folder. Or do I have to put all folders in similar or like directors (admin to admin) includes to includes, etc. Not sure what I'm doing wrong but I can't access google in tools. I'll attach the directions that came in the unzipped folder.Install
1.Unzip and upload all files to your store directory (except .sql files);
2.Chmod feed directory to 777
3.Go to Admin->Tools->Install SQL Patches and install googlefroogle.sql by copying and pasting (do not upload);
4.Go to http://base.google.com and create/sign to your account. Follow the link on the right hand side of their website to create your FTP account.
5.Go to Admin->Configuration->Google Base Configuration and setup all parameters;
6.Register your bulk upload .xml file using the same name in your Google Base Configuration at base.google.com
7.Go to Admin->Tools>Google Base Feeder and follow instructions to create, view, and upload feed file.

24 Jan 2010, 7:56 AM
#2036
pinkleopard avatar

pinkleopard

Zen Follower

Join Date:
Jun 2009
Posts:
383
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

Lost and Confused:

Hello,

I uploaded google base and I only have access to google in configuration. When I go to tools the google is not available. My feed file is chmod 777. Do I have to change the name of my admin file to match my other admin folder. Or do I have to put all folders in similar or like directors (admin to admin) includes to includes, etc. Not sure what I'm doing wrong but I can't access google in tools. I'll attach the directions that came in the unzipped folder.Install
1.Unzip and upload all files to your store directory (except .sql files);
2.Chmod feed directory to 777
3.Go to Admin->Tools->Install SQL Patches and install googlefroogle.sql by copying and pasting (do not upload);
4.Go to http://base.google.com and create/sign to your account. Follow the link on the right hand side of their website to create your FTP account.
5.Go to Admin->Configuration->Google Base Configuration and setup all parameters;
6.Register your bulk upload .xml file using the same name in your Google Base Configuration at base.google.com
7.Go to Admin->Tools>Google Base Feeder and follow instructions to create, view, and upload feed file.

I am not sure I understand you completely...but if you changed the name of admin folder to another name THEN you would upload the admin files to YOUR admin folder. This would the case for all add-ons just for future reference.

For example, if you renamed your admin folder to "flowers" then you would upload the admin directory (google feeder) to "flowers".

The other files that came with google base feeder would go in the appropriate folders.

Once you have upload all the files to the correct directories then you would install the sql patch.

Additionally, do you have a google merchant account?

If not, you need to register with them, create an user name & password. That username & password would then be added in YOUR google admin configuration.

Let me know if you have any other questions.

Bridgett

25 Jan 2010, 1:51 PM
#2037
jsweb avatar

jsweb

Zen Follower

Join Date:
Jul 2005
Location:
UK and Ireland
Posts:
392
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

Wow this is a long thread - My question to add to the growing list ;)

--

We have a client who is working with an SEO company who is highlighting the need for the URLs being send to Google to have TAGS added.

=========

"The destination URLs that are generated from the site in to XML format which is then uploaded into Google Base need to all have Analytics tagging on all the URLs.

Here is a link to the URL builder so you know how to construct URLs for analytics tagging:

=========

Any insight into whether this is possible (or is planned to be possible) with the GoogleBase module?

Thanks in advance

25 Jan 2010, 3:03 PM
#2038
luxurywatches avatar

luxurywatches

New Zenner

Join Date:
Jul 2009
Posts:
20
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

Why only produce 7500 products

27 Jan 2010, 1:05 AM
#2039
hbglobal avatar

hbglobal

New Zenner

Join Date:
May 2009
Posts:
6
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

I set up the Google Base Feeder as the instructions said.
When I clicked to create, it gave me the error page saying "The webpage cannot be found".
I installed and uninstalled many times, but I still get the same error.

Here is One big question (hoping I might get an answer from)
How does the .htaccess file in /includes/ directory look like ?

Mine is like:
<Files *.php>
Order Deny,Allow
Deny from all
</Files>

Is it supposed to be that way ?
Is the "Deny from all" something to do with the error ?

Thanks in advance:(

27 Jan 2010, 4:12 AM
#2040
zorro7444 avatar

zorro7444

New Zenner

Join Date:
Jul 2009
Posts:
31
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

First what is the best mod for adding your products to google base? There is google base feeder (froogle) and there is RSS feeds.

Second, it seems like many people have trouble with this, just by looking at the 200+ pages of comments. Does it work well? I have alot of customization on my cart, will that mess things up?

Finally, I have some products in my cart for sale and other item not for sale. They are different as defined by the product type. Will the RSS feed pick up all of them or can I tell it to just pick up the ones for sale?