Pete Finnigan's Web Development Blog

Cookie Policy:We only use essential cookies on small sections of this website. For details see here.


Home
Archives
Oracle Security
Oracle Security Blog

Greymatter Forums

October 2006
SMTWTFS
1234567
891011121314
15161718192021
22232425262728
293031    

RSS 1.0 FEED
RSS 2.0 FEED
Atom 0.3 FEED
Powered by gm-rss 2.0.0


Valid XHTML 1.0!

Powered By Greymatter

Home » Archives » October 2006 » Getting gm-rss version 2.0 to work without the correct Perl libs installed

[Previous entry: "Chapter 15 from Simon Collinsons is available"] [Next entry: "GreyMatter 1.6.1 - New Improved release"]

10/03/2006: "Getting gm-rss version 2.0 to work without the correct Perl libs installed"



I made some modifications to gm-rss a short while ago to add RSS 2.0 and Atom 0.3 functionallity to the existing functionallity that produced an RSS1.0 syndication feed. Whilst adding this functionallity has not made it more difficult to install and get gm-rss running there is still a problem if your ISP doesnt have the necessary Perl modules installed already and if you dont have access to install them yourself. I previously hosted my site on a server where shell access was not allowed and also the Perl modules were not available.

The solution was to instead of installing the modules was to get the Perl modules and to use them locally. This can be difficult to do with some Perl modules if they in turn refer to othre modules that are not installed. You can in effect start chasing down a long list of dependancies. In this case the install is quite simple. The packages XML::RSS, XML::Atom::Simplefeed and XML::Simple are needed. I found the source by searching CPAN and then saved it to a text file with a .pm extension. I then located the "use" statements and instead used "require" statements and provided paths to the Perl modules.

I have updated my gm-rss 2.0 page and added the three Perl modules and also some simple instructions on where to do the edits.