|
Lines 11-30
Link Here
|
| 11 |
<Tags>koha opac [% LibraryName | html %]</Tags> |
11 |
<Tags>koha opac [% LibraryName | html %]</Tags> |
| 12 |
<Contact>[% KohaAdminEmailAddress | html %]</Contact> |
12 |
<Contact>[% KohaAdminEmailAddress | html %]</Contact> |
| 13 |
<Url type="application/rss+xml" |
13 |
<Url type="application/rss+xml" |
| 14 |
template="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?q={searchTerms}&pw={startPage?}&format=rss2"/> |
14 |
template="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?q={searchTerms}&pw={startPage?}&format=rss"/> |
| 15 |
</OpenSearchDescription> |
15 |
</OpenSearchDescription> |
| 16 |
|
16 |
|
| 17 |
[% ELSE %] |
17 |
[% ELSE %] |
| 18 |
|
18 |
|
| 19 |
[% IF ( rss2 ) %] |
19 |
[% IF ( rss ) %] |
| 20 |
<rss version="2.0" |
20 |
<rss version="2.0" |
| 21 |
xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" |
21 |
xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" |
| 22 |
xmlns:dc="http://purl.org/dc/elements/1.1/" |
22 |
xmlns:dc="http://purl.org/dc/elements/1.1/" |
| 23 |
xmlns:atom="http://www.w3.org/2005/Atom"> |
23 |
xmlns:atom="http://www.w3.org/2005/Atom"> |
| 24 |
<channel> |
24 |
<channel> |
| 25 |
<title><![CDATA[[% LibraryName | html %] Search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %]]]></title> |
25 |
<title><![CDATA[[% LibraryName | html %] Search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %]]]></title> |
| 26 |
<link>[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | url %]&format=rss2</link> |
26 |
<link href=[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %]&format=rss</link> |
| 27 |
<atom:link rel="self" type="application/rss+xml" href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | url %]&sort_by=[% sort_by | uri %]&format=rss2"/> |
27 |
<atom:link rel="self" type="application/rss+xml" href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %]&sort_by=[% sort_by | uri %]&format=atom"/> |
| 28 |
<description><![CDATA[ Search results [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %] at [% LibraryName | html %]]]></description> |
28 |
<description><![CDATA[ Search results [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %] at [% LibraryName | html %]]]></description> |
| 29 |
<opensearch:totalResults>[% total | html %]</opensearch:totalResults> |
29 |
<opensearch:totalResults>[% total | html %]</opensearch:totalResults> |
| 30 |
<opensearch:startIndex>[% offset | html %]</opensearch:startIndex> |
30 |
<opensearch:startIndex>[% offset | html %]</opensearch:startIndex> |
|
Lines 34-45
Link Here
|
| 34 |
<opensearch:itemsPerPage>20</opensearch:itemsPerPage> |
34 |
<opensearch:itemsPerPage>20</opensearch:itemsPerPage> |
| 35 |
[% END %] |
35 |
[% END %] |
| 36 |
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] |
36 |
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] |
| 37 |
<atom:link rel="search" type="application/opensearchdescription+xml" href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% SEARCH_RESULT.query_cgi | $raw %][% SEARCH_RESULT.limit_cgi | url %]&sort_by=[% SEARCH_RESULT.sort_by |uri %]&format=opensearchdescription"/> |
37 |
<atom:link rel="search" type="application/opensearchdescription+xml" href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% SEARCH_RESULT.query_cgi | $raw %][% SEARCH_RESULT.limit_cgi | $raw %]&sort_by=[% SEARCH_RESULT.sort_by |uri %]&format=opensearchdescription"/> |
| 38 |
<opensearch:Query role="request" searchTerms="[% SEARCH_RESULT.query_desc |uri %][% SEARCH_RESULT.limit_desc |uri %]" startPage="[% SEARCH_RESULT.page | html %]" /> |
38 |
<opensearch:Query role="request" searchTerms="[% SEARCH_RESULT.query_desc |uri %][% SEARCH_RESULT.limit_desc |uri %]" startPage="[% SEARCH_RESULT.page | html %]" /> |
| 39 |
<item> |
39 |
<item> |
| 40 |
<title>[% INCLUDE 'biblio-title-head.inc' biblio=SEARCH_RESULT %]</title> |
40 |
<title>[% INCLUDE 'biblio-title-head.inc' biblio=SEARCH_RESULT %]</title> |
| 41 |
<dc:identifier>ISBN [% SEARCH_RESULT.isbn | html %]</dc:identifier> |
41 |
<dc:identifier>ISBN [% SEARCH_RESULT.isbn | html %]</dc:identifier> |
| 42 |
<link>[% IF ( SEARCH_RESULT.BiblioDefaultViewmarc ) %][% OPACBaseURL | html %]/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %][% ELSE %][% IF ( SEARCH_RESULT.BiblioDefaultViewisbd ) %][% OPACBaseURL | html %]/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %][% ELSE %][% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %][% END %][% END %]</link> |
42 |
[% IF ( SEARCH_RESULT.BiblioDefaultViewmarc ) %] |
|
|
43 |
<link href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %]" /> |
| 44 |
[% ELSIF ( SEARCH_RESULT.BiblioDefaultViewisbd ) %] |
| 45 |
<link href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %]" /> |
| 46 |
[% ELSE %] |
| 47 |
<link href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %]" /> |
| 48 |
[% END %] |
| 43 |
<description><![CDATA[ |
49 |
<description><![CDATA[ |
| 44 |
[% IF ( AdlibrisEnabled && SEARCH_RESULT.normalized_isbn ) %] |
50 |
[% IF ( AdlibrisEnabled && SEARCH_RESULT.normalized_isbn ) %] |
| 45 |
<img src="[% AdlibrisURL | html %]?isbn=[% SEARCH_RESULT.normalized_isbn | html %]" alt="Adlibris cover image" /> |
51 |
<img src="[% AdlibrisURL | html %]?isbn=[% SEARCH_RESULT.normalized_isbn | html %]" alt="Adlibris cover image" /> |
|
Lines 75-83
Link Here
|
| 75 |
[% IF ( atom ) %] |
81 |
[% IF ( atom ) %] |
| 76 |
<feed xmlns="http://www.w3.org/2005/Atom" |
82 |
<feed xmlns="http://www.w3.org/2005/Atom" |
| 77 |
xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"> |
83 |
xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"> |
| 78 |
<id>[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | html %]&format=atom</id> |
84 |
<id>[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %]&format=atom</id> |
| 79 |
<title>[% LibraryName | html %] Search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %]</title> |
85 |
<title>[% LibraryName | html %] Search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %]</title> |
| 80 |
<link href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | url %]&format=rss2"/> |
86 |
<link href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %]&format=rss2"/> |
| 81 |
<updated>[% timestamp | html %]</updated> |
87 |
<updated>[% timestamp | html %]</updated> |
| 82 |
<author> |
88 |
<author> |
| 83 |
<name>[% LibraryName | html %]</name> |
89 |
<name>[% LibraryName | html %]</name> |
|
Lines 90-113
Link Here
|
| 90 |
[% ELSE %] |
96 |
[% ELSE %] |
| 91 |
<opensearch:itemsPerPage>20</opensearch:itemsPerPage> |
97 |
<opensearch:itemsPerPage>20</opensearch:itemsPerPage> |
| 92 |
[% END %] |
98 |
[% END %] |
| 93 |
<opensearch:Query role="request" searchTerms="[% query_desc | html %] [% limit_desc | html %]" startPage="[% page | html %]" /> |
99 |
<opensearch:Query role="request" searchTerms="[% SEARCH_RESULT.query_desc | html %] [% SEARCH_RESULT.limit_desc | html %]" startPage="[% page | html %]" /> |
| 94 |
<link rel="alternate" href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | url %]pw=[% page | uri %]&format=atom" type="application/atom+xml"/> |
100 |
<link rel="alternate" href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% SEARCH_RESULT.query_cgi | $raw %][% SEARCH_RESULT.limit_cgi | $raw %]pw=[% page %]&format=atom" type="application/atom+xml"/> |
| 95 |
<link rel="self" href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | url %]&format=atom" type="application/atom+xml"/> |
101 |
<link rel="self" href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% SEARCH_RESULT.query_cgi | $raw %][% SEARCH_RESULT.limit_cgi | $raw %]&format=atom" type="application/atom+xml"/> |
| 96 |
<link rel="first" href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | url %]pw=1&format=atom" type="application/atom+xml"/> |
102 |
<link rel="first" href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% SEARCH_RESULT.query_cgi | $raw %][% SEARCH_RESULT.limit_cgi | $raw %]pw=1&format=atom" type="application/atom+xml"/> |
| 97 |
<link rel="previous" href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | url %]pw=2&format=atom" type="application/atom+xml"/> |
103 |
<link rel="previous" href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% SEARCH_RESULT.query_cgi | $raw %][% SEARCH_RESULT.limit_cgi | $raw %]pw=2&format=atom" type="application/atom+xml"/> |
| 98 |
<link rel="next" href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | url %]pw=4&format=atom" type="application/atom+xml"/> |
104 |
<link rel="next" href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% SEARCH_RESULT.query_cgi | $raw %][% SEARCH_RESULT.limit_cgi | $raw %]pw=4&format=atom" type="application/atom+xml"/> |
| 99 |
<link rel="last" href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | url %]pw=42299&format=atom" type="application/atom+xml"/> |
105 |
<link rel="last" href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% SEARCH_RESULT.query_cgi | $raw %][% SEARCH_RESULT.limit_cgi | $raw %]pw=42299&format=atom" type="application/atom+xml"/> |
| 100 |
<link rel="search" type="application/opensearchdescription+xml" href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?format=opensearchdescription"/> |
106 |
<link rel="search" type="application/opensearchdescription+xml" href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?format=opensearchdescription"/> |
| 101 |
|
107 |
|
| 102 |
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] |
108 |
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] |
| 103 |
<entry> |
109 |
<entry> |
| 104 |
<title>[% SEARCH_RESULT.title | html %]</title> |
110 |
<title>[% SEARCH_RESULT.title | html %] [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl.subfield | html %][% END %]</title> |
| 105 |
<link href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]"/> |
111 |
<link>[% IF ( SEARCH_RESULT.BiblioDefaultViewmarc ) %][% OPACBaseURL | html %]/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %][% ELSE %][% IF ( SEARCH_RESULT.BiblioDefaultViewisbd ) %][% OPACBaseURL | html %]/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %][% ELSE %][% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %][% END %][% END %]</link> |
| 106 |
<!-- <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id> --> |
112 |
<!-- <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id> --> |
| 107 |
<updated>[% SEARCH_RESULT.timestamp | html %]</updated> |
113 |
<updated>[% SEARCH_RESULT.timestamp | html %]</updated> |
| 108 |
<content type="text"><!-- put content here --> |
|
|
| 109 |
</content> |
| 110 |
<id>[% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %]</id> |
114 |
<id>[% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %]</id> |
|
|
115 |
<content type="text"> |
| 116 |
|
| 117 |
</content> |
| 111 |
</entry> |
118 |
</entry> |
| 112 |
[% END %] |
119 |
[% END %] |
| 113 |
</feed> |
120 |
</feed> |