f74d63a1e5
As rss.pl is not a CGI script, moved it to join the other cronjobs. Full documentation of the script is in misc/cronjobs/rss/rss.pl, but to summarize: [1] 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: misc/cronjobs/rss.pl lastAcquired.conf Normally rss.pl should be run periodically (e.g., daily) to keep the feed up-to-date. [2] 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. [3] The template file (e.g., lastAcquired.tmpl) uses HTML::Template syntax like any of the HTML templates for the web interface. Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 lines
610 B
Text
15 lines
610 B
Text
channel
|
|
title=Recent Koha Acquisitions
|
|
link=http://www.koha.org
|
|
desc=The 15 most recent acquisitions
|
|
lang=en
|
|
lastBuild=Fri, 09 May 2003 08:00:00
|
|
image
|
|
title=Koha, the world's best Open Source Library System
|
|
url=http://www.koha.org/images/foo.jpg
|
|
link=http://www.koha.org
|
|
config
|
|
tmpl=lastAcquired.tmpl
|
|
output=lastAcquired.xml
|
|
query=select biblio.title as title, biblio.author as author, biblio.biblionumber from biblio, biblioitems, items where biblioitems.biblionumber = items.biblionumber and biblio.biblionumber = items.biblionumber and items.dateaccessioned is not NULL order by items.dateaccessioned desc
|
|
|