Bug 38714: opac-showreviews-rss.tt
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
4ab83fbcb8
commit
64cb46cb03
|
|
@ -2,14 +2,18 @@
|
|||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title><![CDATA[[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog recent comments]]></title>
|
||||
<!-- prettier-ignore-start -->
|
||||
<link>[% OPACBaseURL | html %]/cgi-bin/koha/opac-showreviews.pl&format=rss2</link>
|
||||
<!-- prettier-ignore-end -->
|
||||
<description><![CDATA[ The most recent comments from [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] Catalog. Comments can be made by logged in users and are moderated by library staff.]]></description>
|
||||
<atom:link href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-showreviews.pl&format=rss2" rel="self" type="application/rss+xml" />
|
||||
<lastBuildDate>[% timestamp | html %]</lastBuildDate>
|
||||
[% FOREACH review IN reviews %]
|
||||
<item>
|
||||
<title>New comment on [% INCLUDE 'biblio-title-head.inc' biblio=review %]</title>
|
||||
<!-- prettier-ignore-start -->
|
||||
<link>[% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber | html %]#comments</link>
|
||||
<!-- prettier-ignore-end -->
|
||||
<description><![CDATA[
|
||||
[% IF ( OPACAmazonCoverImages ) %][% IF ( review.normalized_isbn ) %]<img src="https://images-na.ssl-images-amazon.com/images/P/[% review.normalized_isbn | html %].01.TZZZZZZZ.jpg" alt="" />[% END %][% END %]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue