From d6c4a0918c2d506744bf678e7d434716854008d9 Mon Sep 17 00:00:00 2001
From: Christophe Croullebois 
Date: Tue, 17 May 2011 10:16:07 +1200
Subject: [PATCH] Bug 6147 : Correcting invalid RSS
---
 .../opac-tmpl/prog/en/modules/opac-opensearch.tt   |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-opensearch.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-opensearch.tt
index 0710344..14a5f3e 100644
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-opensearch.tt
+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-opensearch.tt
@@ -14,11 +14,12 @@
 [% IF ( rss2 ) %]
 
    
      
      [% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&format=rss2
-     
+     
      
      [% total %]
      [% offset %]
@@ -27,20 +28,19 @@
      [% ELSE %]
        20
      [% END %]
-     
-     
 	 [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
+     
+     
      - 
        [% SEARCH_RESULT.title |html %] [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl.subfield |html %][% END %]
-       [% SEARCH_RESULT.isbn |html %]
+       ISBN [% SEARCH_RESULT.isbn |html %]
        [% IF ( SEARCH_RESULT.BiblioDefaultViewmarc ) %][% OPACBaseURL %]/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %][% ELSE %][% IF ( SEARCH_RESULT.BiblioDefaultViewisbd ) %][% OPACBaseURL %]/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %][% ELSE %][% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %][% END %][% END %]
        [% END %][% END %][% END %]
-
-[% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( SEARCH_RESULT.content_identifier_exists ) %][% IF ( using_https ) %]
+[% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( SEARCH_RESULT.content_identifier_exists ) %]
 [% ELSE %]
 
-[% END %][% END %][% END %][% END %]
+[% END %][% END %][% END %]
 
 [% IF ( BakerTaylorEnabled ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]
[% END %][% END %]
 	   [% IF ( SEARCH_RESULT.author ) %]By [% SEARCH_RESULT.author |html %]. [% END %]
@@ -51,7 +51,7 @@
                         [% IF ( SEARCH_RESULT.size ) %] [% SEARCH_RESULT.size |html %]. [% END %]
                         [% IF ( SEARCH_RESULT.isbn ) %] [% SEARCH_RESULT.isbn |html %][% END %] 
 [% IF ( RequestOnOpac ) %]
-Place Hold on [% SEARCH_RESULT.title |html %]
+Place Hold on [% SEARCH_RESULT.title %] 
 [% END %]
 						]]>
        [% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]
@@ -80,12 +80,12 @@
      20
    [% END %]
    
-   
+   
    
    
    
    
-   
+   
    
 
    [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
-- 
1.7.7.3