]> git.koha-community.org Git - koha.git/commit
Bug 16111: Fix content type for RSS feed
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 18 Jun 2018 20:31:27 +0000 (17:31 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 9 Sep 2019 13:47:25 +0000 (15:47 +0200)
commit5a30719f84857832fc737c287173cdaec5fb30e9
tree096b1b3d5bd9deab591f383969854aac0d263a69
parent0b8d8e7ecb4e2d830ff49715168c5734fac6a7ed
Bug 16111: Fix content type for RSS feed

Test plan:
GET http://catalogue/cgi-bin/koha/opac-search.pl?idx=kw&q=perl&count=50&sort_by=acqdate_dsc&format=rss2

=> Without this patch it returns content type text/html
=> With this patch it returns text/xml

GET http://catalogue/cgi-bin/koha/opac-search.pl?idx=kw&q=perl&count=50&sort_by=acqdate_dsc&format=rss
=> Without this patch it does not work
=> With this patch it returns text/xml

Bug 16111: Fix atom support
Bug 16111: Remove 'rss2' which should be 'rss' or 'atom'
Bug 16111: Replace <link> with <link href...

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit b946e996ff208e71bbfd5cfb7714f9a656065093)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt
opac/opac-search.pl