kmb40 Posted November 30, 2009 Share Posted November 30, 2009 (edited) 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 November 30, 2009 by kmb40 Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.