How to enhance content?
5.4 Custom RSS Feeds
Using misc/cronjobs/rss/rss.pl you can generate an RSS feed for any SQL query (for example a new acquisitions RSS feed). rss.pl is run on the command line to produce an RSS XML document.
The output should be placed in a directory accessible to the OPAC (or staff) web interface so that users can download the RSS feed.
An example of usage can be found at: misc/cronjobs/rss.pl lastAcquired.conf
Normally rss.pl should be run periodically (e.g., daily) to keep the feed up-to-date.
The configuration file (e.g., lastAcquired.conf) lists
-
name of the template file to use
-
path of output file
-
SQL query
rss.pl runs the SQL query, then feeds the output of the query through the template to produce the output file.