diff --git a/opac/opac-shelves.pl b/opac/opac-shelves.pl index e2ac9aafc8..180d0d2701 100755 --- a/opac/opac-shelves.pl +++ b/opac/opac-shelves.pl @@ -433,4 +433,5 @@ $template->param( listsview => 1, ); -output_html_with_http_headers $query, $cookie, $template->output; +my $content_type = $query->param('rss')? 'rss' : 'html'; +output_with_http_headers $query, $cookie, $template->output, $content_type;