]> git.koha-community.org Git - koha.git/commit
bug 2864 [2/2]: move rss/* to misc/cronjobs/rss/*
authorGalen Charlton <galen.charlton@liblime.com>
Mon, 15 Dec 2008 15:58:47 +0000 (09:58 -0600)
committerHenri-Damien LAURENT <henridamien@koha-fr.org>
Tue, 27 Jan 2009 11:19:40 +0000 (12:19 +0100)
commit015e2c03fe8a8ae93126f95b822b30afab3e2ac2
treed626275da3a0933970d20dc5da1b28286bde3aad
parent1e8b9c1abfb0b1d41f3745cb9c67b21c14154a43
bug 2864 [2/2]: move rss/* to misc/cronjobs/rss/*

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>
27 files changed:
Makefile.PL
misc/cronjobs/rss/README [new file with mode: 0644]
misc/cronjobs/rss/lastAcquired-1.0.conf [new file with mode: 0644]
misc/cronjobs/rss/lastAcquired-1.0.tmpl [new file with mode: 0644]
misc/cronjobs/rss/lastAcquired-2.0.conf [new file with mode: 0644]
misc/cronjobs/rss/lastAcquired-2.0.tmpl [new file with mode: 0644]
misc/cronjobs/rss/lastAcquired.conf [new file with mode: 0644]
misc/cronjobs/rss/lastAcquired.tmpl [new file with mode: 0644]
misc/cronjobs/rss/longestUnseen.conf [new file with mode: 0644]
misc/cronjobs/rss/longestUnseen.tmpl [new file with mode: 0644]
misc/cronjobs/rss/mostReserved.conf [new file with mode: 0644]
misc/cronjobs/rss/mostReserved.tmpl [new file with mode: 0644]
misc/cronjobs/rss/rss.pl [new file with mode: 0755]
misc/cronjobs/rss/sm-koha-icon.jpg [new file with mode: 0644]
rss/README [deleted file]
rss/lastAcquired-1.0.conf [deleted file]
rss/lastAcquired-1.0.tmpl [deleted file]
rss/lastAcquired-2.0.conf [deleted file]
rss/lastAcquired-2.0.tmpl [deleted file]
rss/lastAcquired.conf [deleted file]
rss/lastAcquired.tmpl [deleted file]
rss/longestUnseen.conf [deleted file]
rss/longestUnseen.tmpl [deleted file]
rss/mostReserved.conf [deleted file]
rss/mostReserved.tmpl [deleted file]
rss/rss.pl [deleted file]
rss/sm-koha-icon.jpg [deleted file]