reintroducing rss in opac-result
authorPaul POULAIN <paul@koha-fr.org>
Mon, 10 Dec 2007 17:20:47 +0000 (18:20 +0100)
committerJoshua Ferraro <jmf@liblime.com>
Fri, 14 Dec 2007 15:06:19 +0000 (09:06 -0600)
and removing link to /cgi-bin/koha/opensearch, that is not available in Koha

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc
koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tmpl

index f786c5f..84ead34 100644 (file)
@@ -47,7 +47,6 @@
 
 <!-- TMPL_IF NAME="searchdesc" --><p><!-- TMPL_IF name="total" --><strong>&ldquo;<!-- TMPL_VAR NAME="query_desc" --><!-- TMPL_VAR NAME="limit_desc" -->&rdquo; </strong>returned <!-- TMPL_VAR NAME="total" --> results. <!-- TMPL_IF NAME="available" -->Showing only <strong>available</strong> items. <a href="/cgi-bin/koha/opac-search.pl?<!-- TMPL_VAR NAME="query_cgi" --><!-- TMPL_VAR NAME="limit_cgi_not_availablity" -->">Show all items</a><!-- TMPL_ELSE -->Limit to <a href="/cgi-bin/koha/opac-search.pl?<!-- TMPL_VAR NAME="query_cgi" --><!-- TMPL_VAR NAME="limit_cgi" -->&amp;limit=available">currently available items.</a><!-- /TMPL_IF --><!-- TMPL_IF NAME="related" --> (related searches: <!-- TMPL_LOOP NAME="related" --><!-- TMPL_VAR NAME="related_search" --><!-- /TMPL_LOOP -->). <!-- /TMPL_IF -->
 
-<a href="/cgi-bin/koha/opensearch?<!-- TMPL_VAR NAME="query_cgi" --><!-- TMPL_VAR NAME="limit_cgi" -->&count=10&amp;startPage=1"><img title="RSS Feed for search <!-- TMPL_VAR NAME="query_desc" --><!-- TMPL_VAR NAME="limit_desc" -->" alt="RSS Feed for search <!-- TMPL_VAR NAME="query_desc" --><!-- TMPL_VAR NAME="limit_desc" -->" src="<!-- TMPL_VAR NAME="themelang" -->/../images/feed-icon-16x16.png" border="0" /></a>
 <!-- TMPL_ELSE -->
 <!-- TMPL_IF NAME="searchdesc" -->
 <strong>No Result found !</strong>
index 458648a..81b9d5b 100644 (file)
@@ -7,6 +7,9 @@
 <!-- /TMPL_IF -->
 
 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+
+<link rel="alternate" type="application/rss+xml" title="Koha - RSS"
+href="/cgi-bin/koha/opac-rss.pl?q=<!-- TMPL_VAR name="searchdesc"-->">
 </head>
 <body>
 <!--TMPL_INCLUDE NAME="masthead.inc" -->