From f4bdd0df8d31fc58805c9cc0210ae25b8f01664e Mon Sep 17 00:00:00 2001 From: oleonard Date: Wed, 11 Aug 2004 20:58:03 +0000 Subject: [PATCH] Adding RSS 1.0 and 2.0 versions of the lastAcquired feed to serve as examples --- rss/lastAcquired-1.0.conf | 14 ++++++++++++++ rss/lastAcquired-1.0.tmpl | 39 +++++++++++++++++++++++++++++++++++++++ rss/lastAcquired-2.0.conf | 16 ++++++++++++++++ rss/lastAcquired-2.0.tmpl | 34 ++++++++++++++++++++++++++++++++++ 4 files changed, 103 insertions(+) create mode 100644 rss/lastAcquired-1.0.conf create mode 100644 rss/lastAcquired-1.0.tmpl create mode 100644 rss/lastAcquired-2.0.conf create mode 100644 rss/lastAcquired-2.0.tmpl diff --git a/rss/lastAcquired-1.0.conf b/rss/lastAcquired-1.0.conf new file mode 100644 index 0000000000..9c985f7df2 --- /dev/null +++ b/rss/lastAcquired-1.0.conf @@ -0,0 +1,14 @@ +channel +title=Recent Acquisitions +link=http://www.koha.org +desc=The library's 15 most recent acquisitions +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 +description=Koha, the worlds best Open Source Library System +config +tmpl=lastAcquired-1.0.tmpl +output=lastAcquired-1.0.xml +query=select biblio.title as title, biblio.author as author, biblio.biblionumber as bibid, biblio.notes as notes, biblioitems.place as place, biblioitems.publishercode as publishercode, biblioitems.publicationyear as publicationyear, biblioitems.pages as pages, biblioitems.illus as illus, biblioitems.size as size 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 \ No newline at end of file diff --git a/rss/lastAcquired-1.0.tmpl b/rss/lastAcquired-1.0.tmpl new file mode 100644 index 0000000000..5c0e93a743 --- /dev/null +++ b/rss/lastAcquired-1.0.tmpl @@ -0,0 +1,39 @@ + + + "> + <!-- TMPL_VAR NAME="CHANNELTITLE" --> + + + + + "> + <!-- TMPL_VAR NAME="IMAGETITLE" --> + + + + + + + "/> + + + + + + + "> + <!-- TMPL_VAR NAME="TITLE" --><!-- TMPL_IF NAME="AUTHOR" --> by <!-- TMPL_VAR AUTHOR --><!-- /TMPL_IF --> + http://opac.library.org.nz/cgi-bin/koha/opac-detail.pl?bib= + by +
+
+


+">View Details | ">Reserve this Item | &resultsperpage=20&orderby=biblio.title&op=do_search">More by this Author +]]>
+
+ +
diff --git a/rss/lastAcquired-2.0.conf b/rss/lastAcquired-2.0.conf new file mode 100644 index 0000000000..5048fa630d --- /dev/null +++ b/rss/lastAcquired-2.0.conf @@ -0,0 +1,16 @@ +channel +title=Recent Acquisitions +link=http://www.koha.org +desc=The library's 15 most recent acquisitions +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 +description=Koha, the worlds best Open Source Library System +width=88 +height=31 +config +tmpl=lastAcquired-2.0.tmpl +output=lastAcquired-2.0.xml +query=select biblio.title as title, biblio.author as author, biblio.biblionumber as bibid, biblio.notes as notes, biblioitems.place as place, biblioitems.publishercode as publishercode, biblioitems.publicationyear as publicationyear, biblioitems.pages as pages, biblioitems.illus as illus, biblioitems.size as size 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 \ No newline at end of file diff --git a/rss/lastAcquired-2.0.tmpl b/rss/lastAcquired-2.0.tmpl new file mode 100644 index 0000000000..febf26a32c --- /dev/null +++ b/rss/lastAcquired-2.0.tmpl @@ -0,0 +1,34 @@ + + + + <!-- TMPL_VAR NAME="CHANNELTITLE" --> + + + + + http://blogs.law.harvard.edu/tech/rss + Koha + + <!-- TMPL_VAR NAME="IMAGETITLE" --> + + + + + + + + + + <!-- TMPL_VAR NAME="TITLE" --><!-- TMPL_IF NAME="AUTHOR" --> by <!-- TMPL_VAR NAME="AUTHOR" --><!-- /TMPL_IF --> + http://opac.library.org.nz/cgi-bin/koha/opac-detail.pl?bib= + by +

+ +


+">View Details | ">Reserve this Item | &resultsperpage=20&orderby=biblio.title&op=do_search">More by this Author +]]>
+
+ + +
+
-- 2.11.0