[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 oleonard at users.sourceforge.net
Wed Aug 11 22:58:05 CEST 2004


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&amp;and_or=and&amp;excluding=&amp;operator=contains&amp;value=<!-- TMPL_VAR NAME="author" -->&amp;resultsperpage=20&amp;orderby=biblio.title&amp;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&amp;and_or=and&amp;excluding=&amp;operator=contains&amp;value=<!-- TMPL_VAR NAME="author" -->&amp;resultsperpage=20&amp;orderby=biblio.title&amp;op=do_search">More by this Author</a><!-- /TMPL_IF -->
]]></description>
 </item>
<!-- /TMPL_LOOP -->

</channel>
</rss>





More information about the Koha-cvs mailing list