[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/rss lastAcquired-1.0.conf,NONE,1.1 lastAcquired-1.0
From: |
Owen Leonard |
Subject: |
[Koha-cvs] CVS: koha/rss lastAcquired-1.0.conf,NONE,1.1 lastAcquired-1.0.tmpl,NONE,1.1 lastAcquired-2.0.conf,NONE,1.1 lastAcquired-2.0.tmpl,NONE,1.1 |
Date: |
Wed, 11 Aug 2004 13:58:05 -0700 |
Update of /cvsroot/koha/koha/rss
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18323/rss
Added Files:
lastAcquired-1.0.conf lastAcquired-1.0.tmpl
lastAcquired-2.0.conf lastAcquired-2.0.tmpl
Log Message:
Adding RSS 1.0 and 2.0 versions of the lastAcquired feed to serve as examples
--- NEW FILE ---
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
--- NEW FILE ---
<?xml version="1.0"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://purl.org/rss/1.0/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
>
<channel rdf:about="<!-- TMPL_VAR NAME="CHANNELLINK" -->">
<title><!-- TMPL_VAR NAME="CHANNELTITLE" --></title>
<link><!-- TMPL_VAR NAME="CHANNELLINK" --></link>
<description><!-- TMPL_VAR NAME="CHANNELDESC" --></description>
<language><!-- TMPL_VAR NAME="CHANNELLANG" --></language>
<lastBuildDate><!-- TMPL_VAR NAME="CHANNELLASTBUILD" --></lastBuildDate>
<image rdf:about="<!-- TMPL_VAR NAME="IMAGEURL" -->">
<title><!-- TMPL_VAR NAME="IMAGETITLE" --></title>
<url><!-- TMPL_VAR NAME="IMAGEURL" --></url>
<link><!-- TMPL_VAR NAME="IMAGELINK" --></link>
</image>
<items>
<rdf:Seq>
<!-- TMPL_LOOP NAME="ITEMS" -->
<rdf:li
resource="http://opac.library.org.nz/cgi-bin/koha/opac-detail.pl?bib=<!--
TMPL_VAR NAME="bibid" -->"/>
<!-- /TMPL_LOOP -->
</rdf:Seq>
</items>
</channel>
<!-- TMPL_LOOP NAME="ITEMS" -->
<item
rdf:about="http://opac.library.org.nz/cgi-bin/koha/opac-detail.pl?bib=<!--
TMPL_VAR NAME="bibid" -->">
<title><!-- TMPL_VAR NAME="TITLE" --><!-- TMPL_IF NAME="AUTHOR" --> by <!--
TMPL_VAR AUTHOR --><!-- /TMPL_IF --></title>
<link>http://opac.library.org.nz/cgi-bin/koha/opac-detail.pl?bib=<!--
TMPL_VAR NAME="bibid" --></link>
<description><![CDATA[<!-- TMPL_VAR NAME="TITLE" --><!-- TMPL_IF NAME="AUTHOR"
--> by <!-- TMPL_VAR NAME="AUTHOR" --><!-- /TMPL_IF -->
<br><!-- TMPL_VAR NAME="place" --> <!-- TMPL_VAR NAME="publishercode" --> <!--
TMPL_VAR NAME="publicationyear" -->
<br><!-- TMPL_VAR NAME="pages" --><!-- TMPL_VAR NAME="illus" --><!-- TMPL_VAR
NAME="size" -->
<!-- TMPL_IF NAME="notes" --><br><br><!-- TMPL_VAR NAME="notes" --><!--
/TMPL_IF --><br>
<a href="http://opac.library.org.nz/cgi-bin/koha/opac-detail.pl?bib=<!--
TMPL_VAR NAME="bibid" -->">View Details</a> | <a
href="http://opac.library.org.nz/cgi-bin/koha/opac-reserve.pl?bib=<!-- TMPL_VAR
NAME="bibid" -->">Reserve this Item</a><!-- TMPL_IF NAME="author" --> | <a
href="http://opac.library.org.nz/cgi-bin/koha/opac-search.pl?marclist=biblio.author&and_or=and&excluding=&operator=contains&value=<!--
TMPL_VAR NAME="author"
-->&resultsperpage=20&orderby=biblio.title&op=do_search">More by
this Author</a><!-- /TMPL_IF -->
]]></description>
</item>
<!-- /TMPL_LOOP -->
</rdf:RDF>
--- NEW FILE ---
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
--- NEW FILE ---
<?xml version="1.0"?>
<rss version="2.0">
<channel>
<title><!-- TMPL_VAR NAME="CHANNELTITLE" --></title>
<link><!-- TMPL_VAR NAME="CHANNELLINK" --></link>
<description><!-- TMPL_VAR NAME="CHANNELDESC" --></description>
<language><!-- TMPL_VAR NAME="CHANNELLANG" --></language>
<lastBuildDate><!-- TMPL_VAR NAME="CHANNELLASTBUILD"
--></lastBuildDate>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<generator>Koha</generator>
<image>
<title><!-- TMPL_VAR NAME="IMAGETITLE" --></title>
<url><!-- TMPL_VAR NAME="IMAGEURL" --></url>
<link><!-- TMPL_VAR NAME="IMAGELINK" --></link>
<width><!-- TMPL_VAR NAME="IMAGEWIDTH" --></width>
<height><!-- TMPL_VAR NAME="IMAGEHEIGHT" --></height>
<description><!-- TMPL_VAR NAME="IMAGEDESCRIPTION"
--></description>
</image>
<!-- TMPL_LOOP NAME="ITEMS" -->
<item>
<title><!-- TMPL_VAR NAME="TITLE" --><!-- TMPL_IF NAME="AUTHOR" --> by <!--
TMPL_VAR NAME="AUTHOR" --><!-- /TMPL_IF --></title>
<link>http://opac.library.org.nz/cgi-bin/koha/opac-detail.pl?bib=<!--
TMPL_VAR NAME="bibid" --></link>
<description><![CDATA[<!-- TMPL_VAR NAME="TITLE" --><!-- TMPL_IF NAME="AUTHOR"
--> by <!-- TMPL_VAR NAME="AUTHOR" --><!-- /TMPL_IF -->
<br><!-- TMPL_IF NAME="publishercode" --><!-- TMPL_VAR NAME="place" --> <!--
TMPL_VAR NAME="publishercode" --> <!-- TMPL_VAR NAME="publicationyear"
--><br><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="pages" --><!-- TMPL_VAR NAME="pages" --><!-- TMPL_VAR
NAME="illus" --><!-- TMPL_VAR NAME="size" --><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="notes" --><p><!-- TMPL_VAR NAME="notes" --></p><!-- /TMPL_IF
--><br>
<a href="http://opac.library.org.nz/cgi-bin/koha/opac-detail.pl?bib=<!--
TMPL_VAR NAME="bibid" -->">View Details</a> | <a
href="http://opac.library.org.nz/cgi-bin/koha/opac-reserve.pl?bib=<!-- TMPL_VAR
NAME="bibid" -->">Reserve this Item</a><!-- TMPL_IF NAME="author" --> | <a
href="http://opac.library.org.nz/cgi-bin/koha/opac-search.pl?marclist=biblio.author&and_or=and&excluding=&operator=contains&value=<!--
TMPL_VAR NAME="author"
-->&resultsperpage=20&orderby=biblio.title&op=do_search">More by
this Author</a><!-- /TMPL_IF -->
]]></description>
</item>
<!-- /TMPL_LOOP -->
</channel>
</rss>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/rss lastAcquired-1.0.conf,NONE,1.1 lastAcquired-1.0.tmpl,NONE,1.1 lastAcquired-2.0.conf,NONE,1.1 lastAcquired-2.0.tmpl,NONE,1.1,
Owen Leonard <=
- Prev by Date:
[Koha-cvs] CVS: koha/rss rss.pl,1.1,1.2
- Next by Date:
[Koha-cvs] CVS: koha/acqui acquire.pl,1.16,1.17 addorder.pl,1.20,1.21 basket.pl,1.19,1.20 finishreceive.pl,1.15,1.16 newbasket2.pl,1.13,1.14 newbiblio.pl,1.19,1.20 order.pl,1.12,1.13 receive.pl,1.12,1.13 recieveorder.pl,1.8,1.9 suggestion-select.pl,1.1,1.2 supplier.pl,1.8,1.9
- Previous by thread:
[Koha-cvs] CVS: koha/rss rss.pl,1.1,1.2
- Next by thread:
[Koha-cvs] CVS: koha/acqui acquire.pl,1.16,1.17 addorder.pl,1.20,1.21 basket.pl,1.19,1.20 finishreceive.pl,1.15,1.16 newbasket2.pl,1.13,1.14 newbiblio.pl,1.19,1.20 order.pl,1.12,1.13 receive.pl,1.12,1.13 recieveorder.pl,1.8,1.9 suggestion-select.pl,1.1,1.2 supplier.pl,1.8,1.9
- Index(es):