diff --git a/opac/opac-shelves.pl b/opac/opac-shelves.pl index 949aaa7b9f..4d0f3d7c8f 100755 --- a/opac/opac-shelves.pl +++ b/opac/opac-shelves.pl @@ -397,4 +397,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;