Yes, every time I tried is a conection time out. It has to be some thing else. I will like to to have this fix by the time the problem with google is fix.
Yes, every time I tried is a conection time out. It has to be some thing else. I will like to to have this fix by the time the problem with google is fix.
JLA,
Ok, I've just installed this mod, works very similar to the one I've got. To add in a static condition value you can find the following around line 85 in <catalogdirectory>/googlefroogle.php:
And add in the following:Code:$output["title"] = "title"; $output["description"] = "description"; $output["link"] = "link"; $output["price"] = "price"; $output["image_link"] = "image_link"; $output["expiration_date"] = "expiration_date"; $output["label"] = "label"; $output["id"] = "id";
Then, around line 150 find the following:Code:$output["title"] = "title"; $output["description"] = "description"; $output["link"] = "link"; $output["price"] = "price"; $output["image_link"] = "image_link"; $output["expiration_date"] = "expiration_date"; $output["label"] = "label"; $output["id"] = "id"; $output["condition"] = "condition"; // Added for March required update
And add in this line at the end:Code:$output = array(); $output["title"] = zen_froogle_sanita($products->fields['products_name'], true); $output["description"] = zen_froogle_sanita($products->fields['products_description']); $output["price"] = number_format($price, 2, '.', ''); $output["image_link"] = zen_froogle_image_url($products->fields['products_image']); $output["expiration_date"] = zen_froogle_expiration_date($products->fields['base_date']);
Of course you can change "new" to whatever you'd like, JLA suggested "see description"Code:$output = array(); $output["title"] = zen_froogle_sanita($products->fields['products_name'], true); $output["description"] = zen_froogle_sanita($products->fields['products_description']); $output["price"] = number_format($price, 2, '.', ''); $output["image_link"] = zen_froogle_image_url($products->fields['products_image']); $output["expiration_date"] = zen_froogle_expiration_date($products->fields['base_date']); $output["condition"] = "new"; // Added for Google's required March update
If anyone has any questions, suggestions, please post. I realize this is just a quick hack to tide us over for a bit, if I've missed anything please let me know.
can you link the file to replace the old one, for the one of us who does not have editing skills?
Yea who can just send us the files that we need to change already changed so we can just upload them.. Not everyone understands all this editing on these files...
All,
I've PM'd a_berezin, the creator of this file and am going to wait until I get the ok from him to post a link to my modified version of his file. Keep in mind, my quick hack only puts one value in the condition field, only "new". Please don't stress about it, I will do my best to see that everyone is sorted out WELL before this new cutoff, I just don't want to mod/link a_berezin's file w/o permission.
Thanks!
thats understandable
I was looking at the export file.txt, and it does not create the id, only id header
Ok,
I spoke w/ a_berezin and he was totally cool w/ me posting a mod, actually, he wanted me to do some real work, not just throw up an ugly hack, but I'm too lazy, sorry LOL! ;)
So, here it is, a quick patch for those of you whom already have a_berezin's wonderful GoogleFroogle Add-On.
Steps:
1) Download the files http://www.lethalperformance.com/GoogleFroogleMod.zip
2) Unzip
3) Upload as usual
4) Run the sql patch as normal
5) Configure the "condition" option that will now be available
Seeing as the condition is soon to be required, I set it to always be there, so if you don't want condition set to something, stay away from this mod!
CAVEAT: I've tested this of course, however, my upload file still hasn't been processed by google base so USE AT YOUR OWN RISK!
If this breaks your stuff, sorry. To revert this, just re-upload the original googlefroogle.php from a_berezin.
Thanks,
Jonas
Thanks j0ney3
I still have the problem with the ftp part keeps giving me a time out error maybe some setting in my server, I don't know. I have it install in two shoping cart with two diferente froogle account and it is the same error in both.
Warning: ftp_rawlist(): php_connect_nonb() failed: Connection timed out (110) in /hsphere/local/home/jgarabot/shopdidoo.com/googlefroogle.php on line 418
Upload Failed
Connected to: uploads.google.comLogin ok:Current Directory Is: /Warning: ftp_put(): php_connect_nonb() failed: Connection timed out (110)
Last edited by jgarabot; 2 Feb 2007 at 11:48 AM. Reason: error
Bookmarks