Lines 20-26
Link Here
|
20 |
<channel> |
20 |
<channel> |
21 |
<title><![CDATA[[% LibraryName | html %] Search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %]]]></title> |
21 |
<title><![CDATA[[% LibraryName | html %] Search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %]]]></title> |
22 |
<link>[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi | html %][% limit_cgi | html %]&format=rss2</link> |
22 |
<link>[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi | html %][% limit_cgi | html %]&format=rss2</link> |
23 |
<atom:link rel="self" type="application/rss+xml" href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi |uri %][% limit_cgi |uri %]&sort_by=[% sort_by | uri %]&format=rss2"/> |
23 |
<atom:link rel="self" type="application/rss+xml" href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi |uri %][% limit_cgi |uri %]&sort_by=[% sort_by | uri %]&format=rss2"/> |
24 |
<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> |
24 |
<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> |
25 |
<opensearch:totalResults>[% total | html %]</opensearch:totalResults> |
25 |
<opensearch:totalResults>[% total | html %]</opensearch:totalResults> |
26 |
<opensearch:startIndex>[% offset | html %]</opensearch:startIndex> |
26 |
<opensearch:startIndex>[% offset | html %]</opensearch:startIndex> |
Lines 30-36
Link Here
|
30 |
<opensearch:itemsPerPage>20</opensearch:itemsPerPage> |
30 |
<opensearch:itemsPerPage>20</opensearch:itemsPerPage> |
31 |
[% END %] |
31 |
[% END %] |
32 |
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] |
32 |
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] |
33 |
<atom:link rel="search" type="application/opensearchdescription+xml" href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% SEARCH_RESULT.query_cgi |uri %][% SEARCH_RESULT.limit_cgi |uri %]&sort_by=[% SEARCH_RESULT.sort_by |uri %]&format=opensearchdescription"/> |
33 |
<atom:link rel="search" type="application/opensearchdescription+xml" href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% SEARCH_RESULT.query_cgi |uri %][% SEARCH_RESULT.limit_cgi |uri %]&sort_by=[% SEARCH_RESULT.sort_by |uri %]&format=opensearchdescription"/> |
34 |
<opensearch:Query role="request" searchTerms="[% SEARCH_RESULT.query_desc |uri %][% SEARCH_RESULT.limit_desc |uri %]" startPage="[% SEARCH_RESULT.page | html %]" /> |
34 |
<opensearch:Query role="request" searchTerms="[% SEARCH_RESULT.query_desc |uri %][% SEARCH_RESULT.limit_desc |uri %]" startPage="[% SEARCH_RESULT.page | html %]" /> |
35 |
<item> |
35 |
<item> |
36 |
<title>[% SEARCH_RESULT.title | html %] [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl.subfield | html %][% END %]</title> |
36 |
<title>[% SEARCH_RESULT.title | html %] [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl.subfield | html %][% END %]</title> |
Lines 54-60
Link Here
|
54 |
[% IF ( SEARCH_RESULT.isbn ) %] [% SEARCH_RESULT.isbn | html %][% END %] |
54 |
[% IF ( SEARCH_RESULT.isbn ) %] [% SEARCH_RESULT.isbn | html %][% END %] |
55 |
</p> |
55 |
</p> |
56 |
[% IF Koha.Preference( 'RequestOnOpac' ) == 1 %] |
56 |
[% IF Koha.Preference( 'RequestOnOpac' ) == 1 %] |
57 |
<p><a href="[% OPACBaseURL | uri %]/cgi-bin/koha/opac-reserve.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]">Place Hold on <i>[% SEARCH_RESULT.title | html %]</i></a></p> |
57 |
<p><a href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-reserve.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]">Place Hold on <i>[% SEARCH_RESULT.title | html %]</i></a></p> |
58 |
[% END %] |
58 |
[% END %] |
59 |
]]></description> |
59 |
]]></description> |
60 |
<guid>[% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %]</guid> |
60 |
<guid>[% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %]</guid> |
Lines 69-75
Link Here
|
69 |
xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"> |
69 |
xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"> |
70 |
<id>[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi | html %][% limit_cgi | html %]&format=atom</id> |
70 |
<id>[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi | html %][% limit_cgi | html %]&format=atom</id> |
71 |
<title>[% LibraryName | html %] Search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %]</title> |
71 |
<title>[% LibraryName | html %] Search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %]</title> |
72 |
<link href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi |uri %][% limit_cgi |uri %]&format=rss2"/> |
72 |
<link href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi |uri %][% limit_cgi |uri %]&format=rss2"/> |
73 |
<updated>[% timestamp | html %]</updated> |
73 |
<updated>[% timestamp | html %]</updated> |
74 |
<author> |
74 |
<author> |
75 |
<name>[% LibraryName | html %]</name> |
75 |
<name>[% LibraryName | html %]</name> |
Lines 83-100
Link Here
|
83 |
<opensearch:itemsPerPage>20</opensearch:itemsPerPage> |
83 |
<opensearch:itemsPerPage>20</opensearch:itemsPerPage> |
84 |
[% END %] |
84 |
[% END %] |
85 |
<opensearch:Query role="request" searchTerms="[% query_desc | html %] [% limit_desc | html %]" startPage="[% page | html %]" /> |
85 |
<opensearch:Query role="request" searchTerms="[% query_desc | html %] [% limit_desc | html %]" startPage="[% page | html %]" /> |
86 |
<link rel="alternate" href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi | html %][% limit_cgi | html %]pw=[% page | html %]&format=atom" type="application/atom+xml"/> |
86 |
<link rel="alternate" href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi | uri %][% limit_cgi | uri %]pw=[% page | uri %]&format=atom" type="application/atom+xml"/> |
87 |
<link rel="self" href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi | html %][% limit_cgi | html %]&format=atom" type="application/atom+xml"/> |
87 |
<link rel="self" href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi | uri %][% limit_cgi | uri %]&format=atom" type="application/atom+xml"/> |
88 |
<link rel="first" href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi | html %][% limit_cgi | html %]pw=1&format=atom" type="application/atom+xml"/> |
88 |
<link rel="first" href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi | uri %][% limit_cgi | uri %]pw=1&format=atom" type="application/atom+xml"/> |
89 |
<link rel="previous" href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi | html %][% limit_cgi | html %]pw=2&format=atom" type="application/atom+xml"/> |
89 |
<link rel="previous" href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi | uri %][% limit_cgi | uri %]pw=2&format=atom" type="application/atom+xml"/> |
90 |
<link rel="next" href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi | html %][% limit_cgi | html %]pw=4&format=atom" type="application/atom+xml"/> |
90 |
<link rel="next" href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi | uri %][% limit_cgi | uri %]pw=4&format=atom" type="application/atom+xml"/> |
91 |
<link rel="last" href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi | html %][% limit_cgi | html %]pw=42299&format=atom" type="application/atom+xml"/> |
91 |
<link rel="last" href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi | uri %][% limit_cgi | uri %]pw=42299&format=atom" type="application/atom+xml"/> |
92 |
<link rel="search" type="application/opensearchdescription+xml" href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?format=opensearchdescription"/> |
92 |
<link rel="search" type="application/opensearchdescription+xml" href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?format=opensearchdescription"/> |
93 |
|
93 |
|
94 |
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] |
94 |
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] |
95 |
<entry> |
95 |
<entry> |
96 |
<title>[% SEARCH_RESULT.title | html %]</title> |
96 |
<title>[% SEARCH_RESULT.title | html %]</title> |
97 |
<link href="[% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %]"/> |
97 |
<link href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]"/> |
98 |
<!-- <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id> --> |
98 |
<!-- <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id> --> |
99 |
<updated>[% SEARCH_RESULT.timestamp | html %]</updated> |
99 |
<updated>[% SEARCH_RESULT.timestamp | html %]</updated> |
100 |
<content type="text"><!-- put content here --> |
100 |
<content type="text"><!-- put content here --> |