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>
14 lines
554 B
Text
14 lines
554 B
Text
channel
|
|
title=Most Reserved Items
|
|
link=http://www.koha.org
|
|
desc=The 15 most reserved items
|
|
lang=en
|
|
image
|
|
title=Koha, the worlds best Open Source Library System
|
|
url=http://www.koha.org/images/foo.jpg
|
|
link=http://www.koha.org
|
|
config
|
|
tmpl=mostReserved.tmpl
|
|
output=mostReserved.xml
|
|
query=select biblioitems.isbn as isbn, biblio.title as title, biblio.author as author from biblio, biblioitems, items where biblioitems.biblionumber = items.biblionumber and biblio.biblionumber = items.biblionumber and items.reserves is not NULL order by items.reserves desc
|
|
|