[Previous entry: "Greymatter 1.7.1 mod development"] [Next entry: "Greymatter 1.7.1 translated into Spanish"]
01/08/2007: "gm-rss fixed for greymatter version 1.6.1 and 1.7.1"
During testing of greymatter 1.7.1 i found that the RDF, RSS and Atom feed generator gm-rss.cgi was broken in a number of ways. The issues are to do with the fact that the major code rewrites done as part of greymatter 1.6.1 and 1.7.1 have changed the way that the core data is stored in files. The first issue is that the greymatter config file gm-config.cgi is now stored as name=value pairs. The old gm-rss.cgi file expected the configuration variables to be simply stored in fixed places, i.e. a particular variable would always be at the same line number. I have fixed the code to read in and parse the name=value pairs now. The second issue is that gm-rss.cgi reads the entries from gm-entrylist.cgi and expected them to be in descending numerical order. They are not stored in any order in gm 1.6.1 and 1.7.1. I have fixed gm-rss.cgi to read in the file and parse the contents into the correct order for gm-rss.
gm-rss.cgi is available as a download for versions 1.6.1 and 1.7.1 and also the orginal 2.0.0 version is still available for greymatter 1.3.1.
This is just a temporary fix until I release the new built in feed generator code that i am working on. Watch out soon for this. I will give details soon.