|
Lines 7-26
Link Here
|
| 7 |
<Tags>koha opac [% LibraryName | html %]</Tags> |
7 |
<Tags>koha opac [% LibraryName | html %]</Tags> |
| 8 |
<Contact>[% KohaAdminEmailAddress | html %]</Contact> |
8 |
<Contact>[% KohaAdminEmailAddress | html %]</Contact> |
| 9 |
<Url type="application/rss+xml" |
9 |
<Url type="application/rss+xml" |
| 10 |
template="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?q={searchTerms}&pw={startPage?}&format=rss2"/> |
10 |
template="[% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?q={searchTerms}&pw={startPage?}&format=rss"/> |
| 11 |
</OpenSearchDescription> |
11 |
</OpenSearchDescription> |
| 12 |
|
12 |
|
| 13 |
[% ELSE %] |
13 |
[% ELSE %] |
| 14 |
|
14 |
|
| 15 |
[% IF ( rss2 ) %] |
15 |
[% IF ( rss ) %] |
| 16 |
<rss version="2.0" |
16 |
<rss version="2.0" |
| 17 |
xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" |
17 |
xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" |
| 18 |
xmlns:dc="http://purl.org/dc/elements/1.1/" |
18 |
xmlns:dc="http://purl.org/dc/elements/1.1/" |
| 19 |
xmlns:atom="http://www.w3.org/2005/Atom"> |
19 |
xmlns:atom="http://www.w3.org/2005/Atom"> |
| 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=rss</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 | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi |uri %][% limit_cgi |uri %]&sort_by=[% sort_by | uri %]&format=atom"/> |
| 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> |