Re: RSS2 Feed Contribution
thanks Debbers, do you know how i can check the files in cache directory to see which one is which, there are quite a few of them and i don't want to delete the wrong ones.
or will the feed continue to work if i just delete the lot?
thanks again for your help
Neil
http://www.plasmainstalls.co.uk/index.php
Re: RSS2 Feed Contribution
How many do you have in the cache directory that begin with "rss" though?
Quote:
Originally Posted by
neil_barby
thanks Debbers, do you know how i can check the files in cache directory to see which one is which, there are quite a few of them and i don't want to delete the wrong ones.
or will the feed continue to work if i just delete the lot?
thanks again for your help
Neil
http://www.plasmainstalls.co.uk/index.php
Re: RSS2 Feed Contribution
I've done a bit of investigating ... I believe the update is failing because the .htaccess file is preventing the deletion of the old file. Part of the rss_feed.php code involves unlinking the rss file according to the time setting.
If I write a stand-alone file to unlink the file, the .htaccess won't allow it.
Now, I don't know Zen Cart cold, maybe it's supposed to allow it's own files to unlink, and this is a different problem.
But I think it's either
1. not finding/recognizing the period of time before refreshing the feed
or
2. not unlinking the file.
deb
Re: RSS2 Feed Contribution
thanks deb, there are 102 files in the cache with rss at the start of the filename, then just a random string making up the filenames.
i've managed to open them by changing the filename suffix to .txt, then opening them using western iso encoding, even though now i look at the content of the file is says UTF8
bizarre
thanks again for your help, hopefully now i can just go through the content of the files and fine the ones i need to remove and refresh
neil
http://www.plasmainstalls.co.uk/index.php
Re: RSS2 Feed Contribution
Hello all, anyone help??
Im using version v1.3.9f
I am not getting all the info displayed on my rss feed, basically I am getting a title and a picture and that is it, no price, brand, description, brand.
below is the xml source im getting through my reader, but it doesnt show in the news article. can anyone advise what is wrong?
<item>
<title>evolve Elegance TRV Angled</title>
<link>http://mrcentralheating.co.uk/index.php?main_page=product_info&products_id=150</link>
<comments>http://mrcentralheating.co.uk/index.php?main_page=product_reviews&products_id=150</comments>
<description><![CDATA[ <a href="http://mrcentralheating.co.uk/index.php?main_page=product_info&products_id=150"><img src="http://mrcentralheating.co.uk/images/elegancetech.jpg" alt="evolve Elegance TRV Angled" title=" evolv... ]]></description>
<author>[email protected] (Mr Central Heating)</author>
<enclosure url="http://mrcentralheating.co.uk/images/elegancetech.jpg" length="20873" type="image/jpeg" />
<guid isPermaLink="true">http://mrcentralheating.co.uk/index.php?main_page=product_info&products_id=150</guid>
<pubDate>Thu, 11 Nov 2010 08:13:58 +0000</pubDate>
<g:price>10.20</g:price>
<g:currency>GBP</g:currency>
<g:id>150</g:id>
<g:brand>evolve</g:brand>
<g:image_link>http://mrcentralheating.co.uk/images//elegancetech.jpg</g:image_link>
</item>
Please excuse the smilies, they obviously arent in the coding!
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
neil_barby
Hi, i have the mod installed and it works great apart from the fact that it doesn't update from the products.
currently my new products feed is showing the newest product added on the 7th dec 2010, there have been many products added since then.
i have seen this question asked many times in this thread but nobody seems to have found an answer.
does anyone know why my new products feed isn't updating itself when new products are being added to the catalogue?
here is the link to my site, if anyone can help me
http://www.plasmainstalls.co.uk/index.php
thank you
Hi Go to your server root, go to/cache and delete all the rssfeed_files there. insert this code in your store admin/tools sql patches. Problem solved.
PHP Code:
UPDATE configuration SET set_function=NULL WHERE configuration_key = 'RSS_CACHE_TIME';
Re: RSS2 Feed Contribution
But that only sets it so that it does not cache, it doesn't actually fix the real problem.
:(
That could put a boatload of queries on someone's database in sizeable store, couldn't it?
deb
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
Debbers
But that only sets it so that it does not cache, it doesn't actually fix the real problem.
:(
That could put a boatload of queries on someone's database in sizeable store, couldn't it?
deb
The problem you are having is when the rss feed is cached it dose not update your feed unless you delete the cache rss feed file every time you update your store. If the file does not cache the feed will update. That's what the code is for. Hope this makes sense.
Re: RSS2 Feed Contribution
Quote:
Originally Posted by
Debbers
But that only sets it so that it does not cache, it doesn't actually fix the real problem.
:(
That could put a boatload of queries on someone's database in sizeable store, couldn't it?
deb
Just an update on this error. This mod has a typo in the classes file it will not add new products to your feed when you add new products.
The error can be found in the file: includes/classes/rss_feed.php
find around line 383 :
Find
PHP Code:
if ($time == false || (time() - filemtime(DIR_FS_RSSFEED_CACHE . '/' . $zv_file)) < $time) {
Replace with:
PHP Code:
if ($time == false || (time() - filemtime(DIR_FS_RSSFEED_CACHE . '/' . $zv_file)) > $time) {
Re: RSS2 Feed Contribution
Is there anyone who can tell me how to remove the comments and image link from the feed.
I have turned them off in the admin but they still display in IE
I dont use the reviews feature and my images are watermarked using image handler, however the image link in the rss feed takes me to a un-watermarked image, so I would rather it be turned off.
Apart from that, this mod works fine in the latest zen version
I am using zen version 1.3.9f