1) Verify that the RSS factory is correctly enabled and index.xml has 666 permissions.
2) Install the cache per the original instructions provided with the program.
3) Modify the new “index.php to add this code before the test statement:
if ($cache == 1)
New code:
$xmltime = filemtime("index.xml"); // Change this if you are using a name other than index.xml for RSS
$cachedtime = filemtime("cache_time.txt"); // this could also be cache_file.php, but it can be very large file
if($xmltime > $cachedtime) $cache = 1;
Every time you add an entry to the blog, the index cache will be updated.
NOTE: I set $time = 600; in my index.php (10 hours), if you have other considerations you might want to set it to a smaller value.
If I discover issues or enhancements, I will post.
NOTE: For some reason you must do a dummy post to get the cycle started.
I have very limited experience and knowledge of PHP, if there is a PHP person that would volunteer to help with this scheme it would be much appreciated. It needs some tuning, etc to make more efficient and to verify success of the cache file.
I come from an Assembler, C and Turbo Pascal background, so I can follow some aspects, but serious details are beyond me.
