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)
committerGalen Charlton <galen.charlton@liblime.com>
Wed, 17 Dec 2008 14:02:34 +0000 (08:02 -0600)
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 files changed:
Makefile.PL
misc/cronjobs/rss/README [moved from rss/README with 100% similarity]
misc/cronjobs/rss/lastAcquired-1.0.conf [moved from rss/lastAcquired-1.0.conf with 100% similarity]
misc/cronjobs/rss/lastAcquired-1.0.tmpl [moved from rss/lastAcquired-1.0.tmpl with 100% similarity]
misc/cronjobs/rss/lastAcquired-2.0.conf [moved from rss/lastAcquired-2.0.conf with 100% similarity]
misc/cronjobs/rss/lastAcquired-2.0.tmpl [moved from rss/lastAcquired-2.0.tmpl with 100% similarity]
misc/cronjobs/rss/lastAcquired.conf [moved from rss/lastAcquired.conf with 100% similarity]
misc/cronjobs/rss/lastAcquired.tmpl [moved from rss/lastAcquired.tmpl with 100% similarity]
misc/cronjobs/rss/longestUnseen.conf [moved from rss/longestUnseen.conf with 100% similarity]
misc/cronjobs/rss/longestUnseen.tmpl [moved from rss/longestUnseen.tmpl with 100% similarity]
misc/cronjobs/rss/mostReserved.conf [moved from rss/mostReserved.conf with 100% similarity]
misc/cronjobs/rss/mostReserved.tmpl [moved from rss/mostReserved.tmpl with 100% similarity]
misc/cronjobs/rss/rss.pl [moved from rss/rss.pl with 100% similarity]
misc/cronjobs/rss/sm-koha-icon.jpg [moved from rss/sm-koha-icon.jpg with 100% similarity]

index 2a13a33..8b26eb3 100644 (file)
@@ -279,7 +279,6 @@ my $target_map = {
   './reviews'                   => 'INTRANET_CGI_DIR',
   './rewrite-config.PL'         => 'NONE',
   './reviews'                   => 'INTRANET_CGI_DIR',
-  './rss'                       => 'MISC_DIR', 
   './serials'                   => 'INTRANET_CGI_DIR',
   './skel'                      => 'NONE',
   './skel/var/log/koha'         => { target => 'LOG_DIR', trimdir => -1 },
similarity index 100%
rename from rss/README
rename to misc/cronjobs/rss/README
similarity index 100%
rename from rss/rss.pl
rename to misc/cronjobs/rss/rss.pl