Lines 1-4
Link Here
|
1 |
<?xml version='1.0' encoding='utf-8' ?> |
1 |
<?xml version='1.0' encoding='utf-8' ?> |
|
|
2 |
[% USE raw %] |
2 |
[% USE Koha %] |
3 |
[% USE Koha %] |
3 |
[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %] |
4 |
[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %] |
4 |
[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %] |
5 |
[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %] |
Lines 22-29
Link Here
|
22 |
xmlns:atom="http://www.w3.org/2005/Atom"> |
23 |
xmlns:atom="http://www.w3.org/2005/Atom"> |
23 |
<channel> |
24 |
<channel> |
24 |
<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> |
25 |
<link>[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi | html %][% limit_cgi | html %]&format=rss2</link> |
26 |
<link>[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | url %]&format=rss2</link> |
26 |
<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"/> |
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 |
<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> |
28 |
<opensearch:totalResults>[% total | html %]</opensearch:totalResults> |
29 |
<opensearch:totalResults>[% total | html %]</opensearch:totalResults> |
29 |
<opensearch:startIndex>[% offset | html %]</opensearch:startIndex> |
30 |
<opensearch:startIndex>[% offset | html %]</opensearch:startIndex> |
Lines 33-39
Link Here
|
33 |
<opensearch:itemsPerPage>20</opensearch:itemsPerPage> |
34 |
<opensearch:itemsPerPage>20</opensearch:itemsPerPage> |
34 |
[% END %] |
35 |
[% END %] |
35 |
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] |
36 |
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] |
36 |
<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"/> |
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 |
<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 %]" /> |
38 |
<item> |
39 |
<item> |
39 |
<title>[% SEARCH_RESULT.title | html %] [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl.subfield | html %][% END %]</title> |
40 |
<title>[% SEARCH_RESULT.title | html %] [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl.subfield | html %][% END %]</title> |
Lines 74-82
Link Here
|
74 |
[% IF ( atom ) %] |
75 |
[% IF ( atom ) %] |
75 |
<feed xmlns="http://www.w3.org/2005/Atom" |
76 |
<feed xmlns="http://www.w3.org/2005/Atom" |
76 |
xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"> |
77 |
xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"> |
77 |
<id>[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi | html %][% limit_cgi | html %]&format=atom</id> |
78 |
<id>[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | html %]&format=atom</id> |
78 |
<title>[% LibraryName | html %] Search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %]</title> |
79 |
<title>[% LibraryName | html %] Search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %]</title> |
79 |
<link href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi |uri %][% limit_cgi |uri %]&format=rss2"/> |
80 |
<link href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | url %]&format=rss2"/> |
80 |
<updated>[% timestamp | html %]</updated> |
81 |
<updated>[% timestamp | html %]</updated> |
81 |
<author> |
82 |
<author> |
82 |
<name>[% LibraryName | html %]</name> |
83 |
<name>[% LibraryName | html %]</name> |
Lines 90-101
Link Here
|
90 |
<opensearch:itemsPerPage>20</opensearch:itemsPerPage> |
91 |
<opensearch:itemsPerPage>20</opensearch:itemsPerPage> |
91 |
[% END %] |
92 |
[% END %] |
92 |
<opensearch:Query role="request" searchTerms="[% query_desc | html %] [% limit_desc | html %]" startPage="[% page | html %]" /> |
93 |
<opensearch:Query role="request" searchTerms="[% query_desc | html %] [% limit_desc | html %]" startPage="[% page | html %]" /> |
93 |
<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"/> |
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"/> |
94 |
<link rel="self" href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% query_cgi | uri %][% limit_cgi | uri %]&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"/> |
95 |
<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"/> |
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"/> |
96 |
<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"/> |
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"/> |
97 |
<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"/> |
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"/> |
98 |
<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"/> |
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"/> |
99 |
<link rel="search" type="application/opensearchdescription+xml" href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?format=opensearchdescription"/> |
100 |
<link rel="search" type="application/opensearchdescription+xml" href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?format=opensearchdescription"/> |
100 |
|
101 |
|
101 |
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] |
102 |
[% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] |