From f74d63a1e5d316d47284087a2576cf4fc0541669 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 15 Dec 2008 09:58:47 -0600 Subject: [PATCH] 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 --- Makefile.PL | 1 - {rss => misc/cronjobs/rss}/README | 0 {rss => misc/cronjobs/rss}/lastAcquired-1.0.conf | 0 {rss => misc/cronjobs/rss}/lastAcquired-1.0.tmpl | 0 {rss => misc/cronjobs/rss}/lastAcquired-2.0.conf | 0 {rss => misc/cronjobs/rss}/lastAcquired-2.0.tmpl | 0 {rss => misc/cronjobs/rss}/lastAcquired.conf | 0 {rss => misc/cronjobs/rss}/lastAcquired.tmpl | 0 {rss => misc/cronjobs/rss}/longestUnseen.conf | 0 {rss => misc/cronjobs/rss}/longestUnseen.tmpl | 0 {rss => misc/cronjobs/rss}/mostReserved.conf | 0 {rss => misc/cronjobs/rss}/mostReserved.tmpl | 0 {rss => misc/cronjobs/rss}/rss.pl | 0 {rss => misc/cronjobs/rss}/sm-koha-icon.jpg | Bin 14 files changed, 1 deletion(-) rename {rss => misc/cronjobs/rss}/README (100%) rename {rss => misc/cronjobs/rss}/lastAcquired-1.0.conf (100%) rename {rss => misc/cronjobs/rss}/lastAcquired-1.0.tmpl (100%) rename {rss => misc/cronjobs/rss}/lastAcquired-2.0.conf (100%) rename {rss => misc/cronjobs/rss}/lastAcquired-2.0.tmpl (100%) rename {rss => misc/cronjobs/rss}/lastAcquired.conf (100%) rename {rss => misc/cronjobs/rss}/lastAcquired.tmpl (100%) rename {rss => misc/cronjobs/rss}/longestUnseen.conf (100%) rename {rss => misc/cronjobs/rss}/longestUnseen.tmpl (100%) rename {rss => misc/cronjobs/rss}/mostReserved.conf (100%) rename {rss => misc/cronjobs/rss}/mostReserved.tmpl (100%) rename {rss => misc/cronjobs/rss}/rss.pl (100%) rename {rss => misc/cronjobs/rss}/sm-koha-icon.jpg (100%) diff --git a/Makefile.PL b/Makefile.PL index 2a13a3346d..8b26eb322c 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -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 }, diff --git a/rss/README b/misc/cronjobs/rss/README similarity index 100% rename from rss/README rename to misc/cronjobs/rss/README diff --git a/rss/lastAcquired-1.0.conf b/misc/cronjobs/rss/lastAcquired-1.0.conf similarity index 100% rename from rss/lastAcquired-1.0.conf rename to misc/cronjobs/rss/lastAcquired-1.0.conf diff --git a/rss/lastAcquired-1.0.tmpl b/misc/cronjobs/rss/lastAcquired-1.0.tmpl similarity index 100% rename from rss/lastAcquired-1.0.tmpl rename to misc/cronjobs/rss/lastAcquired-1.0.tmpl diff --git a/rss/lastAcquired-2.0.conf b/misc/cronjobs/rss/lastAcquired-2.0.conf similarity index 100% rename from rss/lastAcquired-2.0.conf rename to misc/cronjobs/rss/lastAcquired-2.0.conf diff --git a/rss/lastAcquired-2.0.tmpl b/misc/cronjobs/rss/lastAcquired-2.0.tmpl similarity index 100% rename from rss/lastAcquired-2.0.tmpl rename to misc/cronjobs/rss/lastAcquired-2.0.tmpl diff --git a/rss/lastAcquired.conf b/misc/cronjobs/rss/lastAcquired.conf similarity index 100% rename from rss/lastAcquired.conf rename to misc/cronjobs/rss/lastAcquired.conf diff --git a/rss/lastAcquired.tmpl b/misc/cronjobs/rss/lastAcquired.tmpl similarity index 100% rename from rss/lastAcquired.tmpl rename to misc/cronjobs/rss/lastAcquired.tmpl diff --git a/rss/longestUnseen.conf b/misc/cronjobs/rss/longestUnseen.conf similarity index 100% rename from rss/longestUnseen.conf rename to misc/cronjobs/rss/longestUnseen.conf diff --git a/rss/longestUnseen.tmpl b/misc/cronjobs/rss/longestUnseen.tmpl similarity index 100% rename from rss/longestUnseen.tmpl rename to misc/cronjobs/rss/longestUnseen.tmpl diff --git a/rss/mostReserved.conf b/misc/cronjobs/rss/mostReserved.conf similarity index 100% rename from rss/mostReserved.conf rename to misc/cronjobs/rss/mostReserved.conf diff --git a/rss/mostReserved.tmpl b/misc/cronjobs/rss/mostReserved.tmpl similarity index 100% rename from rss/mostReserved.tmpl rename to misc/cronjobs/rss/mostReserved.tmpl diff --git a/rss/rss.pl b/misc/cronjobs/rss/rss.pl similarity index 100% rename from rss/rss.pl rename to misc/cronjobs/rss/rss.pl diff --git a/rss/sm-koha-icon.jpg b/misc/cronjobs/rss/sm-koha-icon.jpg similarity index 100% rename from rss/sm-koha-icon.jpg rename to misc/cronjobs/rss/sm-koha-icon.jpg -- 2.39.5