cnino2rss: a Perl script that generates RSS newsfeeds from ffii kwiki pages
How to invoke and extend cnino2rss, a script that produces RSS newsfeeds from certain pages on the kwiki.ffii.org website.
News & Chronology
2004-10-29 dietvu provides version 0.01 of cnino2rss, the script that immediately starts producing FFII RSS newsfeeds. mond and phm add some refinements, phm produced initial documentation.
How to invoke the script
It is found on genba in the directory var/www/adm/bin.
It is normally invoked with the name of the kwiki page (e.g. 'SwpatcninoEn') as its only paramter. However it can take several others for purposes of flexibility. To be documented.
The script usualy does not need to be invoked manually. Instead it is invoked through the cronjob of the user 'knecht' every hour. The cronjob is found at /var/www/adm/bin/hourly.knecht.
How to extend the script
- cvs.ffii.org:/var/cvs/mlht/prg/cnino2rss
You need access to the FFII CVS system.
Where to ask further questions
Contact org ffii users dietvu or phm or webstyl-parl
To Do
install XML::RSS, Date::Parse, LWP::UserAgent on genba -- last time phm tried with 'cpan', XML::RSS didn't build correctly
write a kwiki extension that uses the kwiki document metabase files for generating informative html headers (for use by Googel et al). Pester mwas to do this ASAP.
Use Perl modules such as XML::RSS, Date::Parse, LWP::UserAgent etc to make cnino2rss more elegant and extensible
- create newsfeeds for different versions of RSS
write a script that parses kwiki files, identifies document metadata, writes them into the ffii database and, when needed, rewrites the kwiki document metadata files
- create some parser/rss-generator scripts for websites on which FFII swpat news production depends, e.g. EPO
Try to coordinate this with gilles's UrlWatch project if possible.
- Give different feeds different titles
