Post by petefinnigan on Jan 8, 2007 17:06:16 GMT -5
If you use gm-rss with greymatter and you have upgraded to 1.6.1 or 1.7.1 then you will have found that it was broken.
There were two issues, the first that the config file read routines in gm-rss relied on parameters still to be at specific lines. The second issue was that gm-rss still relied on the gm-entrylist being in descending numerical order.
Pete - I didn't think of this before, which I should have, but I could save the entrylist in descending numerical order, by doing a sort before I save. My apologies about that. If you want, I could add that to my todo list for 1.7.2.
Post by petefinnigan on Jan 31, 2007 8:51:40 GMT -5
I have a half written feed generator ready to be built in rather than the current gm-rss solution that depends on many other packages. having the entrylist in descending order will make priocessing for me simpler as i wont need to sort first. So yes, it would be worth adding to 1.7.2
Pete - I will add the logic to store the entrylist file in the same order as before 1.6.1.
Are you using the Gm_Storage file accessor for the entrylist? If you grep through the code for 'sort' or 'getEntrylist' you can see examples of how to use the entrylist and iterate through it in a particular order.
Hopefully everything will use Gm_Storage for file access within the next couple versions, then it will at least be feasible to use a db as a storage mechanism. Let me know if there are any methods you need/want in Gm_Storage. I have mostly fleshed stuff out on a case-by-case basis and not always very completely.
I've just upgraded to 1.7.1, and have just installed the gm-rss 2.0 files and had my ISP install all the PERL modules and you name it. Now, I tried to run the cgi file that generates the feeds (gm-rss.cgi), and this is the error I got:
Can't locate /home/htdocs/hosted/plsql/libs/RSS.pm in @inc (@inc contains: /usr/local/lib/perl5/site_perl/5.8.0/mach /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.0/BSDPAN /usr/local/lib/perl5/5.8.0/mach /usr/local/lib/perl5/5.8.0 .) at /home/MYDOMAIN/cgi-bin/gm-rss.cgi line 45.
Is this something that my ISP needs to be worrying about, or have I installed things wrong?
All of the greymatter cgi files are kept in my cgi bin; the other library files are kept in cgi_bin/libs/ - I've tried putting gm-rss.cgi in the /libs/ directory, which doesn't seem to matter, which makes me think this is a server issue, but I just don't know. Any advice is appreciated.
Post by petefinnigan on Feb 19, 2007 12:19:16 GMT -5
I think this is an issue with the version you have of Atom::Simplefeed. Are you using version 0.7? - if not, then try and load that version. I have seen this issue before and I think that it was a version problem.
I found the post you're talking about, just after I replied yesterday. I've written to my ISP to see which version they have installed, and whether they can use version 0.7. I'll let you know how that goes.
Awesome forum, by the way. You guys are really good at addressing issues as they pop up (and there really aren't many!). I've been tempted many times to use different journalling software, but I love this program, so thanks again.
In the next version of GM, I think I read somewhere that you're going to try to have the syndication feeds built right in to the installation package - is that still in the making? In case this fix doesn't work?
I love the latest gm-rss script provided by Pete (petefinnigan). It works wonderfully. Thanks!
The only issue that is driving me insane is that the <pubDate> element for each entry is always the same as the date the rss file is generated. It should be the date and time the entry was written in GM so that RSS aggregators can sort posts appropriately by date and time.
This shouldn't be that hard to code since the date and time of the post is currently in each RSS item entry.
I just don't know how to make it so that the pubDate is correct and also in the right format.
Can someone help me make this change? I would greatly appreciate it!