|
Lines 6-12
Link Here
|
| 6 |
<Tags>koha opac [% LibraryName |html %]</Tags> |
6 |
<Tags>koha opac [% LibraryName |html %]</Tags> |
| 7 |
<Contact>[% KohaAdminEmailAddress |html %]</Contact> |
7 |
<Contact>[% KohaAdminEmailAddress |html %]</Contact> |
| 8 |
<Url type="application/rss+xml" |
8 |
<Url type="application/rss+xml" |
| 9 |
template="[% OPACBaseurl %]/cgi-bin/koha/opac-search.pl?q={searchTerms}&pw={startPage?}&format=rss2"/> |
9 |
template="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?q={searchTerms}&pw={startPage?}&format=rss2"/> |
| 10 |
</OpenSearchDescription> |
10 |
</OpenSearchDescription> |
| 11 |
|
11 |
|
| 12 |
[% ELSE %] |
12 |
[% ELSE %] |
|
Lines 17-24
Link Here
|
| 17 |
xmlns:atom="http://www.w3.org/2005/Atom"> |
17 |
xmlns:atom="http://www.w3.org/2005/Atom"> |
| 18 |
<channel> |
18 |
<channel> |
| 19 |
<title><![CDATA[[% LibraryName |html %] Search [% IF ( query_desc ) %]for '[% query_desc |html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc |html %]'[% END %]]]></title> |
19 |
<title><![CDATA[[% LibraryName |html %] Search [% IF ( query_desc ) %]for '[% query_desc |html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc |html %]'[% END %]]]></title> |
| 20 |
<link>[% OPACBaseurl %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&format=rss2</link> |
20 |
<link>[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&format=rss2</link> |
| 21 |
<atom:link rel="self" type="application/rss+xml" href="[% OPACBaseurl %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&format=rss2" /> |
21 |
<atom:link rel="self" type="application/rss+xml" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&format=rss2" /> |
| 22 |
<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> |
22 |
<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> |
| 23 |
<opensearch:totalResults>[% total %]</opensearch:totalResults> |
23 |
<opensearch:totalResults>[% total %]</opensearch:totalResults> |
| 24 |
<opensearch:startIndex>[% offset %]</opensearch:startIndex> |
24 |
<opensearch:startIndex>[% offset %]</opensearch:startIndex> |
|
Lines 27-39
Link Here
|
| 27 |
[% ELSE %] |
27 |
[% ELSE %] |
| 28 |
<opensearch:itemsPerPage>20</opensearch:itemsPerPage> |
28 |
<opensearch:itemsPerPage>20</opensearch:itemsPerPage> |
| 29 |
[% END %] |
29 |
[% END %] |
| 30 |
<atom:link rel="search" type="application/opensearchdescription+xml" href="[% OPACBaseurl %]/cgi-bin/koha/opac-search.pl?format=opensearchdescription"/> |
30 |
<atom:link rel="search" type="application/opensearchdescription+xml" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?format=opensearchdescription"/> |
| 31 |
<opensearch:Query role="request" searchTerms="[% query_desc |html %] [% limit_desc |html %]" startPage="[% page %]" /> |
31 |
<opensearch:Query role="request" searchTerms="[% query_desc |html %] [% limit_desc |html %]" startPage="[% page %]" /> |
| 32 |
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] |
32 |
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] |
| 33 |
<item> |
33 |
<item> |
| 34 |
<title>[% SEARCH_RESULT.title |html %] [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl.subfield |html %][% END %]</title> |
34 |
<title>[% SEARCH_RESULT.title |html %] [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl.subfield |html %][% END %]</title> |
| 35 |
<isbn>[% SEARCH_RESULT.isbn |html %]</isbn> |
35 |
<isbn>[% SEARCH_RESULT.isbn |html %]</isbn> |
| 36 |
<link>[% IF ( SEARCH_RESULT.BiblioDefaultViewmarc ) %][% SEARCH_RESULT.OPACBaseurl %]/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %][% ELSE %][% IF ( SEARCH_RESULT.BiblioDefaultViewisbd ) %][% SEARCH_RESULT.OPACBaseurl %]/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %][% ELSE %][% SEARCH_RESULT.OPACBaseurl %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %][% END %][% END %]</link> |
36 |
<link>[% IF ( SEARCH_RESULT.BiblioDefaultViewmarc ) %][% SEARCH_RESULT.OPACBaseURL %]/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %][% ELSE %][% IF ( SEARCH_RESULT.BiblioDefaultViewisbd ) %][% SEARCH_RESULT.OPACBaseURL %]/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %][% ELSE %][% SEARCH_RESULT.OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %][% END %][% END %]</link> |
| 37 |
<description><![CDATA[ |
37 |
<description><![CDATA[ |
| 38 |
[% IF ( OPACAmazonEnabled ) %][% IF ( OPACAmazonCoverImages ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]<img src="http://images.amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" />[% END %][% END %][% END %] |
38 |
[% IF ( OPACAmazonEnabled ) %][% IF ( OPACAmazonCoverImages ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]<img src="http://images.amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" />[% END %][% END %][% END %] |
| 39 |
|
39 |
|
|
Lines 51-60
Link Here
|
| 51 |
[% IF ( SEARCH_RESULT.size ) %] [% SEARCH_RESULT.size |html %]. [% END %] |
51 |
[% IF ( SEARCH_RESULT.size ) %] [% SEARCH_RESULT.size |html %]. [% END %] |
| 52 |
[% IF ( SEARCH_RESULT.isbn ) %] [% SEARCH_RESULT.isbn |html %][% END %] </p><p> |
52 |
[% IF ( SEARCH_RESULT.isbn ) %] [% SEARCH_RESULT.isbn |html %][% END %] </p><p> |
| 53 |
[% IF ( RequestOnOpac ) %] |
53 |
[% IF ( RequestOnOpac ) %] |
| 54 |
<a href="[% SEARCH_RESULT.OPACBaseurl %]/cgi-bin/koha/opac-reserve.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Place Hold on <i>[% SEARCH_RESULT.title |html %]</i></a></p> |
54 |
<a href="[% SEARCH_RESULT.OPACBaseURL %]/cgi-bin/koha/opac-reserve.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]">Place Hold on <i>[% SEARCH_RESULT.title |html %]</i></a></p> |
| 55 |
[% END %] |
55 |
[% END %] |
| 56 |
]]></description> |
56 |
]]></description> |
| 57 |
<guid>[% SEARCH_RESULT.OPACBaseurl %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]</guid> |
57 |
<guid>[% SEARCH_RESULT.OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]</guid> |
| 58 |
</item> |
58 |
</item> |
| 59 |
[% END %] |
59 |
[% END %] |
| 60 |
</channel> |
60 |
</channel> |
|
Lines 64-72
Link Here
|
| 64 |
[% IF ( atom ) %] |
64 |
[% IF ( atom ) %] |
| 65 |
<feed xmlns="http://www.w3.org/2005/Atom" |
65 |
<feed xmlns="http://www.w3.org/2005/Atom" |
| 66 |
xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"> |
66 |
xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"> |
| 67 |
<id>[% OPACBaseurl %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&format=atom</id> |
67 |
<id>[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&format=atom</id> |
| 68 |
<title>[% LibraryName |html %] Search [% IF ( query_desc ) %]for '[% query_desc |html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc |html %]'[% END %]</title> |
68 |
<title>[% LibraryName |html %] Search [% IF ( query_desc ) %]for '[% query_desc |html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc |html %]'[% END %]</title> |
| 69 |
<link href="[% OPACBaseurl %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&format=rss2"/> |
69 |
<link href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&format=rss2"/> |
| 70 |
<updated>[% timestamp %]</updated> |
70 |
<updated>[% timestamp %]</updated> |
| 71 |
<author> |
71 |
<author> |
| 72 |
<name>[% LibraryName |html %]</name> |
72 |
<name>[% LibraryName |html %]</name> |
|
Lines 80-102
Link Here
|
| 80 |
<opensearch:itemsPerPage>20</opensearch:itemsPerPage> |
80 |
<opensearch:itemsPerPage>20</opensearch:itemsPerPage> |
| 81 |
[% END %] |
81 |
[% END %] |
| 82 |
<opensearch:Query role="request" searchTerms="[% query_desc |html %] [% limit_desc |html %]" startPage="[% page |html %]" /> |
82 |
<opensearch:Query role="request" searchTerms="[% query_desc |html %] [% limit_desc |html %]" startPage="[% page |html %]" /> |
| 83 |
<link rel="alternate" href="[% OPACBaseurl %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]pw=[% page %]" type="text/html"/> |
83 |
<link rel="alternate" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]pw=[% page %]" type="text/html"/> |
| 84 |
<link rel="self" href="[% OPACBaseurl %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]&format=atom" type="application/atom+xml"/> |
84 |
<link rel="self" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]&format=atom" type="application/atom+xml"/> |
| 85 |
<link rel="first" href="[% OPACBaseurl %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]pw=1&format=atom" type="application/atom+xml"/> |
85 |
<link rel="first" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]pw=1&format=atom" type="application/atom+xml"/> |
| 86 |
<link rel="previous" href="[% OPACBaseurl %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]pw=2&format=atom" type="application/atom+xml"/> |
86 |
<link rel="previous" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]pw=2&format=atom" type="application/atom+xml"/> |
| 87 |
<link rel="next" href="[% OPACBaseurl %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]pw=4&format=atom" type="application/atom+xml"/> |
87 |
<link rel="next" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi %]pw=4&format=atom" type="application/atom+xml"/> |
| 88 |
<link rel="last" href="[% OPACBaseurl %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]pw=42299&format=atom" type="application/atom+xml"/> |
88 |
<link rel="last" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]pw=42299&format=atom" type="application/atom+xml"/> |
| 89 |
<link rel="search" type="application/opensearchdescription+xml" href="[% OPACBaseurl %]/cgi-bin/koha/opac-search.pl?format=opensearchdescription"/> |
89 |
<link rel="search" type="application/opensearchdescription+xml" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?format=opensearchdescription"/> |
| 90 |
|
90 |
|
| 91 |
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] |
91 |
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] |
| 92 |
<entry> |
92 |
<entry> |
| 93 |
<title>[% SEARCH_RESULT.title |html %]</title> |
93 |
<title>[% SEARCH_RESULT.title |html %]</title> |
| 94 |
<link href="[% SEARCH_RESULT.OPACBaseurl %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]"/> |
94 |
<link href="[% SEARCH_RESULT.OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]"/> |
| 95 |
<!-- <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id> --> |
95 |
<!-- <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id> --> |
| 96 |
<updated>[% SEARCH_RESULT.timestamp %]</updated> |
96 |
<updated>[% SEARCH_RESULT.timestamp %]</updated> |
| 97 |
<content type="text"><!-- put content here --> |
97 |
<content type="text"><!-- put content here --> |
| 98 |
</content> |
98 |
</content> |
| 99 |
<id>[% SEARCH_RESULT.OPACBaseurl %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]</id> |
99 |
<id>[% SEARCH_RESULT.OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]</id> |
| 100 |
</entry> |
100 |
</entry> |
| 101 |
[% END %] |
101 |
[% END %] |
| 102 |
</feed> |
102 |
</feed> |