View | Details | Raw Unified | Return to bug 9000
Collapse All | Expand All

(-)a/misc/cronjobs/rss/lastAcquired-1.0.conf (-1 / +1 lines)
Lines 9-14 url=http://www.koha-community.org/images/foo.jpg Link Here
9
link=http://www.koha-community.org
9
link=http://www.koha-community.org
10
description=Koha, the worlds best Open Source Library System
10
description=Koha, the worlds best Open Source Library System
11
config
11
config
12
tmpl=lastAcquired-1.0.tmpl
12
tmpl=lastAcquired-1.0.tt
13
output=lastAcquired-1.0.xml
13
output=lastAcquired-1.0.xml
14
query=select biblio.title as title, biblio.author as author, biblio.biblionumber, 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
14
query=select biblio.title as title, biblio.author as author, biblio.biblionumber, 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
(-)a/misc/cronjobs/rss/lastAcquired-1.0.tmpl (-39 lines)
Lines 1-39 Link Here
1
<?xml version="1.0"?>
2
<rdf:RDF 
3
 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
4
 xmlns="http://purl.org/rss/1.0/"
5
 xmlns:dc="http://purl.org/dc/elements/1.1/"
6
>
7
  <channel rdf:about="<!-- TMPL_VAR NAME="CHANNELLINK" -->">
8
	<title><!-- TMPL_VAR NAME="CHANNELTITLE" --></title>
9
	<link><!-- TMPL_VAR NAME="CHANNELLINK" --></link>
10
	<description><!-- TMPL_VAR NAME="CHANNELDESC" --></description>
11
	<language><!-- TMPL_VAR NAME="CHANNELLANG" --></language>
12
	<lastBuildDate><!-- TMPL_VAR NAME="CHANNELLASTBUILD" --></lastBuildDate>
13
	 <image rdf:about="<!-- TMPL_VAR NAME="IMAGEURL" -->">
14
	  <title><!-- TMPL_VAR NAME="IMAGETITLE" --></title>
15
	  <url><!-- TMPL_VAR NAME="IMAGEURL" --></url>
16
	  <link><!-- TMPL_VAR NAME="IMAGELINK" --></link>
17
	 </image>
18
    <items>
19
      <rdf:Seq>
20
	  <!-- TMPL_LOOP NAME="ITEMS" -->
21
        <rdf:li resource="http://opac.library.org.nz/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"/>
22
	 <!-- /TMPL_LOOP -->
23
      </rdf:Seq>
24
    </items>
25
</channel>
26
27
  <!-- TMPL_LOOP NAME="ITEMS" -->
28
  <item rdf:about="http://opac.library.org.nz/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
29
  <title><!-- TMPL_VAR NAME="TITLE" --><!-- TMPL_IF NAME="AUTHOR" --> by <!-- TMPL_VAR AUTHOR --><!-- /TMPL_IF --></title>
30
  <link>http://opac.library.org.nz/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" --></link>
31
<description><![CDATA[<!-- TMPL_VAR NAME="TITLE" --><!-- TMPL_IF NAME="AUTHOR" --> by <!-- TMPL_VAR NAME="AUTHOR" --><!-- /TMPL_IF -->
32
<br><!-- TMPL_VAR NAME="place" --> <!-- TMPL_VAR NAME="publishercode" --> <!-- TMPL_VAR NAME="publicationyear" -->
33
<br><!-- TMPL_VAR NAME="pages" --><!-- TMPL_VAR NAME="illus" --><!-- TMPL_VAR NAME="size" -->
34
<!-- TMPL_IF NAME="notes" --><br><br><!-- TMPL_VAR NAME="notes" --><!-- /TMPL_IF --><br>
35
<a href="http://opac.library.org.nz/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">View Details</a> | <a href="http://opac.library.org.nz/cgi-bin/koha/opac-reserve.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">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 -->
36
]]></description>
37
 </item>
38
<!-- /TMPL_LOOP -->
39
</rdf:RDF>
(-)a/misc/cronjobs/rss/lastAcquired-1.0.tt (+39 lines)
Line 0 Link Here
1
<?xml version="1.0"?>
2
<rdf:RDF
3
 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
4
 xmlns="http://purl.org/rss/1.0/"
5
 xmlns:dc="http://purl.org/dc/elements/1.1/"
6
>
7
  <channel rdf:about="[% CHANNELLINK %]">
8
	<title>[% CHANNELTITLE %]</title>
9
	<link>[% CHANNELLINK %]</link>
10
	<description>[% CHANNELDESC %]</description>
11
	<language>[% CHANNELLANG %]</language>
12
	<lastBuildDate>[% CHANNELLASTBUILD %]</lastBuildDate>
13
	 <image rdf:about="[% IMAGEURL %]">
14
	  <title>[% IMAGETITLE %]</title>
15
	  <url>[% IMAGEURL %]</url>
16
	  <link>[% IMAGELINK %]</link>
17
	 </image>
18
    <items>
19
      <rdf:Seq>
20
	  [% FOREACH i IN ITEMS %]
21
        <rdf:li resource="http://opac.library.org.nz/cgi-bin/koha/opac-detail.pl?biblionumber=[% ibiblionumber %]"/>
22
	  [% END %]
23
      </rdf:Seq>
24
    </items>
25
</channel>
26
27
  [% FOREACH i IN ITEMS %]
28
  <item rdf:about="http://opac.library.org.nz/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]">
29
  <title>[% i.TITLE %][% IF i.AUTHOR %] by [% i.AUTHOR %][% END %]</title>
30
  <link>http://opac.library.org.nz/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]</link>
31
<description><![CDATA[[% TITLE %][% IF i.AUTHOR %] by [% i.AUTHOR %][% END %]
32
<br>[% place %] [% i.publishercode %] [% i.publicationyear %]
33
<br>[% pages %] [% i.illus %] [% i.size %]
34
[% IF i.notes %]<br><br>[% i.notes %][% END %]<br>
35
<a href="http://opac.library.org.nz/cgi-bin/koha/opac-detail.pl?biblionumber=[% i.biblionumber %]">View Details</a> | <a href="http://opac.library.org.nz/cgi-bin/koha/opac-reserve.pl?biblionumber=[% i.biblionumber %]">Reserve this Item</a>[% IF i.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=[% i.author %]&amp;resultsperpage=20&amp;orderby=biblio.title&amp;op=do_search">More by this Author</a>[% END %]
36
]]></description>
37
 </item>
38
[% END %]
39
</rdf:RDF>
(-)a/misc/cronjobs/rss/lastAcquired-2.0.conf (-1 / +1 lines)
Lines 11-16 description=Koha, the worlds best Open Source Library System Link Here
11
width=88
11
width=88
12
height=31
12
height=31
13
config
13
config
14
tmpl=lastAcquired-2.0.tmpl
14
tmpl=lastAcquired-2.0.tt
15
output=lastAcquired-2.0.xml
15
output=lastAcquired-2.0.xml
16
query=select biblio.title as title, biblio.author as author, biblio.biblionumber, 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
16
query=select biblio.title as title, biblio.author as author, biblio.biblionumber, 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
(-)a/misc/cronjobs/rss/lastAcquired-2.0.tmpl (-34 lines)
Lines 1-34 Link Here
1
<?xml version="1.0"?>
2
<rss version="2.0">
3
	<channel>
4
		<title><!-- TMPL_VAR NAME="CHANNELTITLE" --></title>
5
		<link><!-- TMPL_VAR NAME="CHANNELLINK" --></link>
6
		<description><!-- TMPL_VAR NAME="CHANNELDESC" --></description>
7
		<language><!-- TMPL_VAR NAME="CHANNELLANG" --></language>
8
		<lastBuildDate><!-- TMPL_VAR NAME="CHANNELLASTBUILD" --></lastBuildDate>
9
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
10
		<generator>Koha</generator>
11
		<image>
12
			<title><!-- TMPL_VAR NAME="IMAGETITLE" --></title>
13
			<url><!-- TMPL_VAR NAME="IMAGEURL" --></url>
14
			<link><!-- TMPL_VAR NAME="IMAGELINK" --></link>
15
			<width><!-- TMPL_VAR NAME="IMAGEWIDTH" --></width>
16
			<height><!-- TMPL_VAR NAME="IMAGEHEIGHT" --></height>
17
			<description><!-- TMPL_VAR NAME="IMAGEDESCRIPTION" --></description>
18
		</image>
19
20
<!-- TMPL_LOOP NAME="ITEMS" -->
21
 <item>
22
  <title><!-- TMPL_VAR NAME="TITLE" --><!-- TMPL_IF NAME="AUTHOR" --> by <!-- TMPL_VAR NAME="AUTHOR" --><!-- /TMPL_IF --></title>
23
  <link>http://opac.library.org.nz/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" --></link>
24
<description><![CDATA[<!-- TMPL_VAR NAME="TITLE" --><!-- TMPL_IF NAME="AUTHOR" --> by <!-- TMPL_VAR NAME="AUTHOR" --><!-- /TMPL_IF -->
25
<br><!-- TMPL_IF NAME="publishercode" --><!-- TMPL_VAR NAME="place" --> <!-- TMPL_VAR NAME="publishercode" --> <!-- TMPL_VAR NAME="publicationyear" --><br><!-- /TMPL_IF -->
26
<!-- TMPL_IF NAME="pages" --><!-- TMPL_VAR NAME="pages" --><!-- TMPL_VAR NAME="illus" --><!-- TMPL_VAR NAME="size" --><!-- /TMPL_IF -->
27
<!-- TMPL_IF NAME="notes" --><p><!-- TMPL_VAR NAME="notes" --></p><!-- /TMPL_IF --><br>
28
<a href="http://opac.library.org.nz/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">View Details</a> | <a href="http://opac.library.org.nz/cgi-bin/koha/opac-reserve.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">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 -->
29
]]></description>
30
 </item>
31
<!-- /TMPL_LOOP -->
32
33
</channel>
34
</rss>
(-)a/misc/cronjobs/rss/lastAcquired-2.0.tt (+34 lines)
Line 0 Link Here
1
<?xml version="1.0"?>
2
<rss version="2.0">
3
	<channel>
4
		<title>[% CHANNELTITLE %]</title>
5
		<link>[% CHANNELLINK %]</link>
6
		<description>[% CHANNELDESC %]</description>
7
		<language>[% CHANNELLANG %]</language>
8
		<lastBuildDate>[% CHANNELLASTBUILD %]</lastBuildDate>
9
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
10
		<generator>Koha</generator>
11
		<image>
12
			<title>[% IMAGETITLE %]</title>
13
			<url>[% IMAGEURL %]</url>
14
			<link>[% IMAGELINK %]</link>
15
			<width>[% IMAGEWIDTH %]</width>
16
			<height>[% IMAGEHEIGHT %]</height>
17
			<description>[% IMAGEDESCRIPTION %]</description>
18
		</image>
19
20
[% FOREACH i IN ITEMS %]
21
 <item>
22
  <title>[% i.TITLE %][% IF i.AUTHOR %] by [% i.AUTHOR %][% END %]</title>
23
  <link>http://opac.library.org.nz/cgi-bin/koha/opac-detail.pl?biblionumber=[% i.biblionumber %]</link>
24
<description><![CDATA[[% i.TITLE %][% IF i.AUTHOR %] by [%  i.AUTHOR %][% END %]
25
<br>[% IF i.publishercode %][% i.place %] [%  i.publishercode %] [%  publicationyear %]<br>[% END %]
26
[% IF i.pages %][% i.pages %][% i.illus %][% i.size %][% END %]
27
[% IF i.notes %]<p>[% i.notes %]</p>[% END %]<br>
28
<a href="http://opac.library.org.nz/cgi-bin/koha/opac-detail.pl?biblionumber=[% i.biblionumber %]">View Details</a> | <a href="http://opac.library.org.nz/cgi-bin/koha/opac-reserve.pl?biblionumber=[% i.biblionumber %]">Reserve this Item</a>[% IF i.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=[% i.author %]&amp;resultsperpage=20&amp;orderby=biblio.title&amp;op=do_search">More by this Author</a>[% END %]
29
]]></description>
30
 </item>
31
[% END %]
32
33
</channel>
34
</rss>
(-)a/misc/cronjobs/rss/lastAcquired.conf (-1 / +1 lines)
Lines 9-15 title=Koha, the world's best Open Source Library System Link Here
9
url=http://www.koha-community.org/images/foo.jpg
9
url=http://www.koha-community.org/images/foo.jpg
10
link=http://www.koha-community.org
10
link=http://www.koha-community.org
11
config
11
config
12
tmpl=lastAcquired.tmpl
12
tmpl=lastAcquired.tt
13
output=lastAcquired.xml
13
output=lastAcquired.xml
14
query=select biblio.title as title, biblio.author as author, biblio.biblionumber 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
14
query=select biblio.title as title, biblio.author as author, biblio.biblionumber 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
15
15
(-)a/misc/cronjobs/rss/lastAcquired.tmpl (-30 lines)
Lines 1-30 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
3
<!DOCTYPE rss PUBLIC "-//Netscape Communications/DTD RSS 0.91/EN"
4
	  "http://my.netscape.com/publish/formats/rss-0.91.dtd">
5
6
<rss version="0.91">
7
8
<channel>
9
 <title><TMPL_VAR CHANNELTITLE></title>
10
 <link><TMPL_VAR CHANNELLINK></link>
11
 <description><TMPL_VAR CHANNELDESC></description>
12
 <language><TMPL_VAR CHANNELLANG></language>
13
 <lastBuildDate><TMPL_VAR CHANNELLASTBUILD></lastBuildDate>
14
15
 <image>
16
  <title><TMPL_VAR IMAGETITLE></title>
17
  <url><TMPL_VAR IMAGEURL></url>
18
  <link><TMPL_VAR IMAGELINK></link>
19
 </image>
20
21
<TMPL_LOOP NAME=ITEMS>
22
 <item>
23
  <title><TMPL_VAR TITLE>, by <TMPL_VAR AUTHOR></title>
24
  <link>http://opac.library.org.nz/cgi-bin/koha/opac-detail.pl?biblionumber=<TMPL_VAR NAME="biblionumber"></link>
25
26
 </item>
27
</TMPL_LOOP>
28
29
</channel>
30
</rss>
(-)a/misc/cronjobs/rss/lastAcquired.tt (+30 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
3
<!DOCTYPE rss PUBLIC "-//Netscape Communications/DTD RSS 0.91/EN"
4
	  "http://my.netscape.com/publish/formats/rss-0.91.dtd">
5
6
<rss version="0.91">
7
8
<channel>
9
 <title>[% CHANNELTITLE %]</title>
10
 <link>[% CHANNELLINK %]</link>
11
 <description>[% CHANNELDESC %]</description>
12
 <language>[% CHANNELLANG %]</language>
13
 <lastBuildDate>[% CHANNELLASTBUILD %]</lastBuildDate>
14
15
 <image>
16
  <title>[% IMAGETITLE %]</title>
17
  <url>[% IMAGEURL %]</url>
18
  <link>[% IMAGELINK %]</link>
19
 </image>
20
21
[% FOREACH i IN ITEMS %]
22
 <item>
23
  <title>[% i.TITLE %], by [% i.AUTHOR %]</title>
24
  <link>http://opac.library.org.nz/cgi-bin/koha/opac-detail.pl?biblionumber=[% i.biblionumber %]</link>
25
26
 </item>
27
[% END %]
28
29
</channel>
30
</rss>
(-)a/misc/cronjobs/rss/longestUnseen.conf (-1 / +1 lines)
Lines 8-14 title=Koha, the worlds best Open Source Library System Link Here
8
url=http://www.koha-community.org/images/foo.jpg
8
url=http://www.koha-community.org/images/foo.jpg
9
link=http://www.koha-community.org
9
link=http://www.koha-community.org
10
config
10
config
11
tmpl=longestUnseen.tmpl
11
tmpl=longestUnseen.tt
12
output=longestUnseen.xml
12
output=longestUnseen.xml
13
query=select biblioitems.isbn as isbn, biblio.title as title, biblio.author as author from biblio, biblioitems, items where biblioitems.biblionumber = items.biblionumber and biblio.biblionumber = items.biblionumber and items.datelastseen is not NULL and items.datelastseen != items.datelastborrowed order by items.datelastseen
13
query=select biblioitems.isbn as isbn, biblio.title as title, biblio.author as author from biblio, biblioitems, items where biblioitems.biblionumber = items.biblionumber and biblio.biblionumber = items.biblionumber and items.datelastseen is not NULL and items.datelastseen != items.datelastborrowed order by items.datelastseen
14
14
(-)a/misc/cronjobs/rss/longestUnseen.tmpl (-30 lines)
Lines 1-30 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
3
<!DOCTYPE rss PUBLIC "-//Netscape Communications/DTD RSS 0.91/EN"
4
	  "http://my.netscape.com/publish/formats/rss-0.91.dtd">
5
6
<rss version="0.91">
7
8
<channel>
9
 <title><TMPL_VAR CHANNELTITLE></title>
10
 <link><TMPL_VAR CHANNELLINK></link>
11
 <description><TMPL_VAR CHANNELDESC></description>
12
 <language><TMPL_VAR CHANNELLANG></language>
13
 <lastBuildDate><TMPL_VAR CHANNELLASTBUILD></lastBuildDate>
14
15
 <image>
16
  <title><TMPL_VAR IMAGETITLE></title>
17
  <url><TMPL_VAR IMAGEURL></url>
18
  <link><TMPL_VAR IMAGELINK></link>
19
 </image>
20
21
<TMPL_LOOP NAME=ITEMS>
22
 <item>
23
  <title><TMPL_VAR TITLE>, by <TMPL_VAR AUTHOR></title>
24
  <link>http://opac.library.org.nz/cgi-bin/koha/opac-searchresults.pl?isbn=<TMPL_VAR ISBN></link>
25
26
 </item>
27
</TMPL_LOOP>
28
29
</channel>
30
</rss>
(-)a/misc/cronjobs/rss/longestUnseen.tt (+30 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
3
<!DOCTYPE rss PUBLIC "-//Netscape Communications/DTD RSS 0.91/EN"
4
	  "http://my.netscape.com/publish/formats/rss-0.91.dtd">
5
6
<rss version="0.91">
7
8
<channel>
9
 <title>[% CHANNELTITLE></title>
10
 <link>[% CHANNELLINK %]</link>
11
 <description>[% CHANNELDESC %]</description>
12
 <language>[% CHANNELLANG %]</language>
13
 <lastBuildDate>[% CHANNELLASTBUILD %]</lastBuildDate>
14
15
 <image>
16
  <title>[% IMAGETITLE %]</title>
17
  <url>[% IMAGEURL %]</url>
18
  <link>[% IMAGELINK %]</link>
19
 </image>
20
21
[% FOREACH i IN ITEMS %]
22
 <item>
23
  <title>[% i.TITLE %], by [% i.AUTHOR %]</title>
24
  <link>http://opac.library.org.nz/cgi-bin/koha/opac-searchresults.pl?isbn=[% i.ISBN %]</link>
25
26
 </item>
27
[% END %]
28
29
</channel>
30
</rss>
(-)a/misc/cronjobs/rss/mostReserved.conf (-1 / +1 lines)
Lines 8-14 title=Koha, the worlds best Open Source Library System Link Here
8
url=http://www.koha-community.org/images/foo.jpg
8
url=http://www.koha-community.org/images/foo.jpg
9
link=http://www.koha-community.org
9
link=http://www.koha-community.org
10
config
10
config
11
tmpl=mostReserved.tmpl
11
tmpl=mostReserved.tt
12
output=mostReserved.xml
12
output=mostReserved.xml
13
query=select biblioitems.isbn as isbn, biblio.title as title, biblio.author as author from biblio, biblioitems, items where biblioitems.biblionumber = items.biblionumber and biblio.biblionumber = items.biblionumber and items.reserves is not NULL order by items.reserves desc
13
query=select biblioitems.isbn as isbn, biblio.title as title, biblio.author as author from biblio, biblioitems, items where biblioitems.biblionumber = items.biblionumber and biblio.biblionumber = items.biblionumber and items.reserves is not NULL order by items.reserves desc
14
14
(-)a/misc/cronjobs/rss/mostReserved.tmpl (-30 lines)
Lines 1-30 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
3
<!DOCTYPE rss PUBLIC "-//Netscape Communications/DTD RSS 0.91/EN"
4
	  "http://my.netscape.com/publish/formats/rss-0.91.dtd">
5
6
<rss version="0.91">
7
8
<channel>
9
 <title><TMPL_VAR CHANNELTITLE></title>
10
 <link><TMPL_VAR CHANNELLINK></link>
11
 <description><TMPL_VAR CHANNELDESC></description>
12
 <language><TMPL_VAR CHANNELLANG></language>
13
 <lastBuildDate><TMPL_VAR CHANNELLASTBUILD></lastBuildDate>
14
15
 <image>
16
  <title><TMPL_VAR IMAGETITLE></title>
17
  <url><TMPL_VAR IMAGEURL></url>
18
  <link><TMPL_VAR IMAGELINK></link>
19
 </image>
20
21
<TMPL_LOOP NAME=ITEMS>
22
 <item>
23
  <title><TMPL_VAR TITLE>, by <TMPL_VAR AUTHOR></title>
24
  <link>http://opac.library.org.nz/cgi-bin/koha/opac-searchresults.pl?isbn=<TMPL_VAR ISBN></link>
25
26
 </item>
27
</TMPL_LOOP>
28
29
</channel>
30
</rss>
(-)a/misc/cronjobs/rss/mostReserved.tt (-1 / +30 lines)
Line 0 Link Here
0
- 
1
<?xml version="1.0" encoding="UTF-8"?>
2
3
<!DOCTYPE rss PUBLIC "-//Netscape Communications/DTD RSS 0.91/EN"
4
	  "http://my.netscape.com/publish/formats/rss-0.91.dtd">
5
6
<rss version="0.91">
7
8
<channel>
9
 <title>[% CHANNELTITLE %]</title>
10
 <link>[% CHANNELLINK %]</link>
11
 <description>[% CHANNELDESC %]</description>
12
 <language>[% CHANNELLANG %]</language>
13
 <lastBuildDate>[% CHANNELLASTBUILD %]</lastBuildDate>
14
15
 <image>
16
  <title>[% IMAGETITLE %]</title>
17
  <url>[% IMAGEURL %]</url>
18
  <link>[% IMAGELINK %]</link>
19
 </image>
20
21
[% FOREACH i IN ITEMS %]
22
 <item>
23
  <title>[% TITLE %], by [% AUTHOR %]</title>
24
  <link>http://opac.library.org.nz/cgi-bin/koha/opac-searchresults.pl?isbn=[% ISBN %]</link>
25
26
 </item>
27
[% END %]
28
29
</channel>
30
</rss>

Return to bug 9000