Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * * 4 votes

Automatically send data feed to Froogle


3176 replies to this topic

#2341 nnclyn

  • Community Member
  • 264 posts
  • Real Name:Nancy O

Posted 17 November 2009, 21:48

Hi Jack

I installed the latest complete package and upon going to

http://your_domain_name.com/admin/googlefeeder.php

I receive this error:

Warning: require_once(../includes/configure.php) [function.require-once]: failed to open stream: No such file or directory in /usr/home/tfs/public_html/admin/googlefeeder.php on line 52

Fatal error: require_once() [function.require]: Failed opening required '../includes/configure.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /usr/home/tfs/public_html/admin/googlefeeder.php on line 52

Any advice?
Thanks!
Nancy

#2342 Jack_mcs

  • Community Member
  • 24,075 posts
  • Real Name:Jack
  • Gender:Male

Posted 18 November 2009, 00:54

The code assumes the admin directory is located within the shop directory. I can't tell how yours is set up since you didn't include the url but if your admin is somewhere else, that error will occur.

#2343 nafri

  • Community Member
  • 124 posts
  • Real Name:naf

Posted 18 November 2009, 18:56

hi

Thanks for developing this script.

Does anybody know how to output just the parent category.At the moment the script outputs " parent, sub, sub " category.What change do i need to make to output only the top category.

kind regards

Nafri

#2344 nnclyn

  • Community Member
  • 264 posts
  • Real Name:Nancy O

Posted 18 November 2009, 19:21

View PostJack_mcs, on 18 November 2009, 00:54, said:

The code assumes the admin directory is located within the shop directory. I can't tell how yours is set up since you didn't include the url but if your admin is somewhere else, that error will occur.


It is within the shop directory :(
Nancy

#2345 nafri

  • Community Member
  • 124 posts
  • Real Name:naf

Posted 20 November 2009, 20:00

View Postnafri, on 18 November 2009, 18:56, said:

hi

Thanks for developing this script.

Does anybody know how to output just the parent category.At the moment the script outputs " parent, sub, sub " category.What change do i need to make to output only the top category.

kind regards

Nafri


not having much luck. tried different things but still no joy.. if any body got any info please do help..

kind regards

nafri

#2346 Jack_mcs

  • Community Member
  • 24,075 posts
  • Real Name:Jack
  • Gender:Male

Posted 21 November 2009, 01:12

View Postnafri, on 20 November 2009, 20:00, said:

not having much luck. tried different things but still no joy.. if any body got any info please do help..
The location has to be accurate or google will reject it so doing what you are asking won't help.

#2347 galey1981

  • Community Member
  • 99 posts
  • Real Name:David Gale

Posted 21 November 2009, 12:26

Hi guys, i can install the contribution fine but my products are failing at getting added to Google. I get the explanation:

Expiry date is too far in the future.
Please make sure that the value doesn't exceed the default expiration date for your item type.

Any ideas on what settings I can tweak to overcome this?

#2348 Jack_mcs

  • Community Member
  • 24,075 posts
  • Real Name:Jack
  • Gender:Male

Posted 21 November 2009, 13:03

Look at the feed to see which products have the future dates and edit those products (not the feed) to have correct dates.

#2349 Iwant2Lrn

  • Community Member
  • 106 posts
  • Real Name:Mitch
  • Gender:Male
  • Location:Columbia, SC

Posted 22 November 2009, 01:56

Jack,
Looks like you have a small error in the optional instructions for revising the tool.php file. The following code:

'<a href="' . tep_href_link('feeders.php') . 'class="menuBoxContentLink">' . BOX_FEEDERS_GOOGLE . '</a><br>' .

should be

'<a href="' . tep_href_link('feeders.php') . '" class="menuBoxContentLink">' . BOX_FEEDERS_GOOGLE . '</a><br>' .

Just missing a quotation mark before the class.

Great mod and does wonders for me.

#2350 Jack_mcs

  • Community Member
  • 24,075 posts
  • Real Name:Jack
  • Gender:Male

Posted 22 November 2009, 02:16

Yes, you are correct. Someone else mentioned via PM and I added the change to the next version, which hasn't been uploaded, and meant to post it here but forgot. So thanks for posting it in case someone else runs into it.

#2351 Kuma

  • Community Member
  • 8 posts
  • Real Name:Steve
  • Gender:Male
  • Location:Ohio, USA

Posted 24 November 2009, 07:13

Jack, Seriously thank you for this update on the Google feeder. It works far better than it ever has for me.

One question. Right now I am getting extremely long processing times on Google and it never seems to upload anything (this is going on two days now). In the past I could get the file to manual upload, but I had to go in and do it myself every month (with many thanks to you, I can now get it to actually work and send data directly to Google!). I am wondering if this long processing time has something to do with my settings on Google.

Usually I can figure things out just by digging around on Google or the boards, but I cannot seem to find the right set of keywords to find what I need this time. Forgive me as I am sure this has been asked somewhere before.

What should my settings under my Google Merchant Account look like? These are the options:

Feed Format
--> Googlebase
--> Shopping.com
--> Shopzilla

File Format
--> Autodetect
--> XML
--> Text

Encoding
--> Autodetect
--> ASCII
--> Latin-1
--> UTF-16 BE
--> UTF-16 LE
--> UTF-8
--> Windows-1252

Delimiter
--> Tab (/t)
--> Pipe(|)
--> Tilde (~)

Use Quoted Fields
--> Yes
--> No

Again thanks for the update Jack. And thanks to anyone who can help me on this.

#2352 Mort-lemur

  • Community Member
  • 898 posts
  • Real Name:Heather
  • Gender:Female
  • Location:UK

Posted 24 November 2009, 09:47

Hi,

I seem to be having the same problem, worked fine last week when my cron job ran.

But my latest cron ran over 24 hours ago and google is still processing (usually only takes 1 - 2 hours).......maybe its a google problem ?

Or could it be to do with renaming the admin folder?

Thanks
Now my store is the way I want it - Secure, working well, and good Google Ranks - Thanks to all for the help given.

If you want to see the mods I have installed, then see my profile.

#2353 Jack_mcs

  • Community Member
  • 24,075 posts
  • Real Name:Jack
  • Gender:Male

Posted 24 November 2009, 13:52

Kuma and Mort-lemur:

First look at your feed file in the feeds directory to make sure it is formatted correctly. Then login to your google account, navigate to the Data feeds section and do a manual upload of the file. If it still takes too long, then the problem is on google and you should contact them to ask what the problem is. If it works fine, change the ftp setting to 0 and run the cron job. If it runs normally, then there is something on the server preventing the connection to google. Otherwise, there is something in your products that is causing the delay.

#2354 Mort-lemur

  • Community Member
  • 898 posts
  • Real Name:Heather
  • Gender:Female
  • Location:UK

Posted 24 November 2009, 14:42

View PostJack_mcs, on 24 November 2009, 13:52, said:

Kuma and Mort-lemur:

First look at your feed file in the feeds directory to make sure it is formatted correctly. Then login to your google account, navigate to the Data feeds section and do a manual upload of the file. If it still takes too long, then the problem is on google and you should contact them to ask what the problem is. If it works fine, change the ftp setting to 0 and run the cron job. If it runs normally, then there is something on the server preventing the connection to google. Otherwise, there is something in your products that is causing the delay.

Hi,

Had a look at the Google Base Announcements page where this was posted :

Quote

We're currently experiencing data feed processing delays. While our engineers are working to resolve this issue, we appreciate your patience and apologize for the inconvenience.

That answers it I guess...........
Now my store is the way I want it - Secure, working well, and good Google Ranks - Thanks to all for the help given.

If you want to see the mods I have installed, then see my profile.

#2355 Kuma

  • Community Member
  • 8 posts
  • Real Name:Steve
  • Gender:Male
  • Location:Ohio, USA

Posted 25 November 2009, 06:45

Jack and Mort-lemur,

Thank you for the answers. I did check my feed file as you suggested Jack and all is well there. Google finally took it and my items are appearing now. I think you were right Mort and I hope your feed is working now as well.

Just out of curiosity, on the Google settings question I posted last is there an optimum choice of settings? For instance my encoding is currently set to Latin-1. Is that correct for this contirbution or should I set to something like autodetect? Or is this one of those situations where it all depends on the server you are hosted on and there is no specific answer that applies to everyone?

Again, thanks for the assistance.

#2356 Jack_mcs

  • Community Member
  • 24,075 posts
  • Real Name:Jack
  • Gender:Male

Posted 25 November 2009, 12:45

I would use autodetect in that case. No matter the setting, if your feed is accepted and the products show up on google as you want, then it is fine.

#2357 bazzeray

  • Community Member
  • 10 posts
  • Real Name:Baz

Posted 26 November 2009, 06:46

Hi,

Juat wondering if somebody could help me on this one... I installed the GoogleBaseFeeder which is a great programme in itself so thank you Jack_MCS!!!

The only problem I have is that when I go into Google Merchant Center to look at my products the link comes up in google like this:

http://www.cjstoybox.co.uk/product_info.php?products_id=25

which doesn't work as the actual link direct from the stores homepage is this:

http://www.cjstoybox.co.uk/shop/product_info.php?cPath=5&products_id=25

I'm a bit confused why it does this and I am equally confused on how to solve it...

Thank you in advance for any help or support you can give me :)
Baz

#2358 bazzeray

  • Community Member
  • 10 posts
  • Real Name:Baz

Posted 26 November 2009, 07:05

View Postbazzeray, on 26 November 2009, 06:46, said:

Hi,

Juat wondering if somebody could help me on this one... I installed the GoogleBaseFeeder which is a great programme in itself so thank you Jack_MCS!!!

The only problem I have is that when I go into Google Merchant Center to look at my products the link comes up in google like this:

http://www.cjstoybox.co.uk/product_info.php?products_id=25

which doesn't work as the actual link direct from the stores homepage is this:

http://www.cjstoybox.co.uk/shop/product_info.php?cPath=5&products_id=25

I'm a bit confused why it does this and I am equally confused on how to solve it...

Thank you in advance for any help or support you can give me :)
Baz

Figured it out... Just for information if anybody else has the same problem. My store is located at /shop which I needed to add here:

define('DOMAIN_NAME', 'www.yourdomain.com/SHOP); //your correct domain name (don't include www unless it is used)

in the googlefeeder.php file.

:)

#2359 Kuma

  • Community Member
  • 8 posts
  • Real Name:Steve
  • Gender:Male
  • Location:Ohio, USA

Posted 27 November 2009, 05:43

View PostJack_mcs, on 25 November 2009, 12:45, said:

I would use autodetect in that case. No matter the setting, if your feed is accepted and the products show up on google as you want, then it is fine.

Just wanted to say thanks for the tips and advice Jack. Much appreciated!

#2360 kmb40

  • Community Member
  • 22 posts
  • Real Name:KB

Posted 30 November 2009, 13:16

View Postgaley1981, on 21 November 2009, 12:26, said:

Hi guys, i can install the contribution fine but my products are failing at getting added to Google. I get the explanation:

Expiry date is too far in the future.
Please make sure that the value doesn't exceed the default expiration date for your item type.

Any ideas on what settings I can tweak to overcome this?

I had the same issue. Open the googlefeeder.php file and find "$feed_exp_date = date('Y-m-d', time() + 2592000 );".

At or around line 121. 2592000 is the number of seconds added to the current date. This number of seconds totals 30 days. Although these feeds are supposed to be good for 30 days, google does not allow feeds with dates exactly 30 days out.

The solution is to change the number to 2505600; which represents 29 days. You may be able to remove a couple of seconds and get away with it but I went with 29 days and it worked.

Edited by kmb40, 30 November 2009, 13:17.