Re: Froogle Merchant Center merged into GoogleBase
Thanks for the help. Now I have another problem. I got this from google base when I tried to upload my files from my admin section:
I am using the latest version of image handler along with utlimate SEO.
Re: Froogle Merchant Center merged into GoogleBase
Quote:
Originally Posted by
mafiasam
but since this expiration_date header is required shouldn't this be added to the mod?
Certainly! But what date use as expiration_date? May be use admin-setup constant?
Re: Froogle Merchant Center merged into GoogleBase
Alright I checked the includes/images/large folder and their are no files their. I am using the latest version of image handler on books japan online. On my other site cool tech central I am still using the older version of image handler. They both have the medium and Lage folders in includes images, but the don't show up in on the updated version of image handler. Anyone having this same issue?
Re: Froogle Merchant Center merged into GoogleBase
Just found out that Image handler2 doesn't actually create an image,
it creates cache images
thats whats stored in the BMZ folder. so is their away to get the original files to generate in googlefroogle.php?
function zen_froogle_image_url($products_image) {
global $product_image_module;
if($products_image == "") return "";
require($product_image_module);
return (HTTP_SERVER . DIR_WS_CATALOG . $products_image_large);
Re: Froogle Merchant Center merged into GoogleBase
Quote:
Originally Posted by
a_berezin
Certainly! But what date use as expiration_date? May be use admin-setup constant?
Well, it looks like they expire after thirty days anyway. the only time that you may not want them to expire in thirty days is if you have a sale and the item price is going to change within those thirty days.
for instance I set my expiration date for 2006-11-30 for most of my items but google base ended up setting the expiration date on those items to 2006-11-09 which is thirty days after I posted them.
the items i entered with 2006-11-07 were sale items I wanted to expire on election day here and their expiration posted for that date...2006-11-07...which is what I wanted.
So I guess that a constant would be a thirty day expiration after the generation of the file. I'm not sure how you would grab the expiration date for specials/sale items but i'm sure you know more about that than I do.
Re: Froogle Merchant Center merged into GoogleBase
Quote:
Originally Posted by
ctcentralinfo
Just found out that Image handler2 doesn't actually create an image,
it creates cache images
thats whats stored in the BMZ folder. so is their away to get the original files to generate in googlefroogle.php?
function zen_froogle_image_url($products_image) {
global $product_image_module;
if($products_image == "") return "";
require($product_image_module);
return (HTTP_SERVER . DIR_WS_CATALOG . $products_image_large);
If you're using IH handler change
PHP Code:
return (HTTP_SERVER . DIR_WS_CATALOG . $products_image_large);
to
PHP Code:
return (HTTP_SERVER . DIR_WS_CATALOG . DIR_WS_IMAGES . $products_image);
That worked for me but I am not sure if that's the most efficient way to fix the problem.
This option is only if you're using IH2 otherwise the original code should work just fine.
Re: Froogle Merchant Center merged into GoogleBase
Quote:
Originally Posted by
BlessIsaacola
If you're using IH handler change
PHP Code:
return (HTTP_SERVER . DIR_WS_CATALOG . $products_image_large);
to
PHP Code:
return (HTTP_SERVER . DIR_WS_CATALOG . DIR_WS_IMAGES . $products_image);
That worked for me but I am not sure if that's the most efficient way to fix the problem.
This option is only if you're using IH2 otherwise the original code should work just fine.
That did the trick, thanks again.
Re: Froogle Merchant Center merged into GoogleBase
Quote:
Originally Posted by
mafiasam
So I guess that a constant would be a thirty day expiration after the generation of the file.
OK! I will generate expiration_date as generation date +30 days.
Quote:
Originally Posted by
mafiasam
I'm not sure how you would grab the expiration date for specials/sale items but i'm sure you know more about that than I do.
Not now.
Download and test.
Re: Froogle Merchant Center merged into GoogleBase
Hi Andrew,
Thanks - the expiration date works fine :smile:
Just one small thing I noticed ...
1. I see you've hard-coded the OFFER_ID directly in googlefroogle.php:
PHP Code:
$output = "title \t description \t link \t price \t image_link \t expiration_date \t label \t id" .
(so it can't be set true/false anymore) but the code for setting OFFER_ID true/false is still showing in admin->configuration->googlefroogle config - did you maybe forget to take that out? :smile:
Re: Froogle Merchant Center merged into GoogleBase
No, I don't forget it. ID is Required attribute.
Google so quickly changes rules! Now all Recomended attributes became Required attributes -- http://base.google.com/base/products.html