|
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. I have fixed both of these bugs and updated the download which is available from web.petefinnigan.com/gm-rss.htm I am working on a completely new RSS and Atom feed generator that will be built into the core greymatter, i will post soon about this. cheers Pete
|
|
dhaas
New Member
Posts: 1
|
Post by dhaas on Jan 28, 2007 6:38:49 GMT -5
Hi, I am with problems with the RSS Generator, it is giving the following error: Status: 500 cgi Error Could not open gm-rssconfig.cfg You could say me what I am making made a mistake. My site is: www.almanake.com.br and link for cgi: www.almanake.com.br/cgi-bin/gm-rss.cgi Thanks for its support…
|
|
|
Post by petefinnigan on Jan 30, 2007 8:17:53 GMT -5
hi,
which version of Greymatter are you using? - the version of gm-rss you have is ony for gm version 1.6.1. and higher. if ypu are on greymatter 1.3.1 or lower then use gm-rss version 2.0
let me know then we can check further
cheers
Pete
|
|
|
Post by coldstone on Jan 30, 2007 14:29:00 GMT -5
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
Hi Coldstone,
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
cheers
Pete
|
|
|
Post by coldstone on Feb 3, 2007 23:15:31 GMT -5
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.
|
|
|
Post by petefinnigan on Feb 5, 2007 13:05:58 GMT -5
Hi Coldstone,
Thanks for your reply. Yes I am using the package interface and I have figured out the sort call from the dev guide and also from the source code header.
Thanks
cheers
Pete
|
|
|
Post by cenobyte on Feb 17, 2007 11:43:28 GMT -5
Hey there,
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.
And thanks for the upgrade! The 1.7.1 is awesome.
|
|
|
Post by petefinnigan on Feb 18, 2007 12:49:33 GMT -5
Hi,
The issue is that the path that is showing the error is from my system. You need to edit the file at these lines:
#use XML::RSS; require '/home/htdocs/hosted/plsql/libs/RSS.pm';
comment out the require line and uncomment the use line.
The same is likely to apply a couple of lines down for the XML::Atom::Simplefeed package
hth
cheers
Pete
|
|
|
Post by cenobyte on Feb 18, 2007 13:55:49 GMT -5
Hi Pete,
I made the changes, and tried running the feed generator script again, and this time was presented with the following error, which seems to have something to do with the atom file generation?
Greymatter - RSS Generator (2.1.0) Content-type: text/html Software error:
XML::Atom::SimpleFeed::new(): Unknown element modified at /home/MYDOMAIN/cgi-bin/gm-rss.cgi line 245
Cheers, jill
|
|
|
Post by petefinnigan on Feb 19, 2007 12:19:16 GMT -5
Hi Jill,
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.
cheers
Pete
|
|
|
Post by cenobyte on Feb 20, 2007 13:28:04 GMT -5
Hi Pete,
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?
Cheers, j
|
|
|
Post by cenobyte on Feb 20, 2007 14:40:27 GMT -5
My ISP is using XML::Atom::SimpleFeed version 0.8. Is there a workaround I can use, or something I can do to make it go?
Cheers, j
|
|
|
Post by petefinnigan on Mar 8, 2007 10:45:56 GMT -5
hi, sorry for the delayed response, see web.petefinnigan.com/gm-rss.htm which has a pm file of the 0.7 version and some instructions on how to use it. cheers Pete
|
|
tchow
New Member
Posts: 1
|
Post by tchow on Mar 29, 2007 19:51:41 GMT -5
Hey:
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!
Thanks
|
|