Link Here
|
1 |
[% USE KohaDates # XML declaration should have no white space before it %][% USE Koha %]<?xml version="1.0" encoding="utf-8"?> |
1 |
[% FILTER collapse %] |
2 |
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> |
2 |
[% USE KohaDates %] |
3 |
<channel> |
3 |
[% USE Koha %] |
4 |
<title><![CDATA[[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog recent comments]]></title> |
4 |
[% PROCESS 'i18n.inc' %] |
5 |
<!-- prettier-ignore-start --> |
5 |
[% PROCESS 'html_helpers.inc' %] |
|
|
6 |
<?xml version="1.0" encoding="utf-8"?> |
7 |
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> |
8 |
<channel> |
9 |
<title> <![CDATA[ [% t("Recent comments") | html %] - [% PROCESS 'library_name_title' %] ]]> </title> |
10 |
<!-- prettier-ignore-start --> |
6 |
<link>[% OPACBaseURL | html %]/cgi-bin/koha/opac-showreviews.pl&format=rss2</link> |
11 |
<link>[% OPACBaseURL | html %]/cgi-bin/koha/opac-showreviews.pl&format=rss2</link> |
7 |
<!-- prettier-ignore-end --> |
12 |
<!-- prettier-ignore-end --> |
8 |
<description |
13 |
<description |
9 |
><![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 |
14 |
><![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 |
10 |
staff.]]></description |
15 |
staff.]]></description |
11 |
> |
16 |
> |
12 |
<atom:link href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-showreviews.pl&format=rss2" rel="self" type="application/rss+xml" /> |
17 |
<atom:link href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-showreviews.pl&format=rss2" rel="self" type="application/rss+xml" /> |
13 |
<lastBuildDate>[% timestamp | html %]</lastBuildDate> |
18 |
<lastBuildDate>[% timestamp | html %]</lastBuildDate> |
14 |
[% FOREACH review IN reviews %] |
19 |
[% FOREACH review IN reviews %] |
15 |
<item> |
20 |
<item> |
16 |
<title>New comment on [% INCLUDE 'biblio-title-head.inc' biblio=review %]</title> |
21 |
<title>New comment on [% INCLUDE 'biblio-title-head.inc' biblio=review %]</title> |
17 |
<!-- prettier-ignore-start --> |
22 |
<!-- prettier-ignore-start --> |
18 |
<link>[% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber | html %]#comments</link> |
23 |
<link>[% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber | html %]#comments</link> |
19 |
<!-- prettier-ignore-end --> |
24 |
<!-- prettier-ignore-end --> |
20 |
<description |
25 |
<description |
21 |
><![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 %] |
26 |
><![CDATA[ |
|
|
27 |
[% 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 %] |
22 |
|
28 |
|
23 |
[% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( review.content_identifier_exists ) %] |
29 |
[% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( review.content_identifier_exists ) %] |
24 |
<img |
30 |
<img |
25 |
src="https://secure.syndetics.com/index.aspx?isbn=[% review.normalized_isbn | html %]/SC.GIF&client=[% SyndeticsClientCode | html %]&type=xw10&upc=[% review.normalized_upc | html %]&oclc=[% review.normalized_oclc | html %]" |
31 |
src="https://secure.syndetics.com/index.aspx?isbn=[% review.normalized_isbn | html %]/SC.GIF&client=[% SyndeticsClientCode | html %]&type=xw10&upc=[% review.normalized_upc | html %]&oclc=[% review.normalized_oclc | html %]" |
26 |
alt="" |
32 |
alt="" |
27 |
/> |
33 |
/> |
28 |
[% END %][% END %][% END %] |
34 |
[% END %][% END %][% END %] |
29 |
|
35 |
|
30 |
[% bt_id = ( review.normalized_upc || review.normalized_isbn ) %] |
36 |
[% bt_id = ( review.normalized_upc || review.normalized_isbn ) %] |
31 |
[% IF ( BakerTaylorEnabled && bt_id ) %]<a href="https://[% BakerTaylorBookstoreURL | uri %][% bt_id | uri %]"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /></a>[% END %] |
37 |
[% IF ( BakerTaylorEnabled && bt_id ) %] |
|
|
38 |
<a href="https://[% BakerTaylorBookstoreURL | uri %][% bt_id | uri %]"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /></a> |
39 |
[% END %] |
32 |
|
40 |
|
33 |
[% IF Koha.Preference('OPACCustomCoverImages') AND Koha.Preference('CustomCoverImagesURL') %] |
41 |
[% IF Koha.Preference('OPACCustomCoverImages') AND Koha.Preference('CustomCoverImagesURL') %] |
34 |
[% SET custom_cover_image_url = review.biblio_object.custom_cover_image_url %] |
42 |
[% SET custom_cover_image_url = review.biblio_object.custom_cover_image_url %] |
35 |
[% IF custom_cover_image_url %] |
43 |
[% IF custom_cover_image_url %] |
36 |
<a href="[% custom_cover_image_url | url %]"><img alt="Cover image" src="[% custom_cover_image_url | url %]" /></a> |
44 |
<a href="[% custom_cover_image_url | url %]"><img alt="Cover image" src="[% custom_cover_image_url | url %]" /></a> |
|
|
45 |
[% END %] |
37 |
[% END %] |
46 |
[% END %] |
38 |
[% END %] |
|
|
39 |
|
47 |
|
40 |
[% IF ( review.author ) %]<p>By [% review.author | html %].</p>[% END %] |
48 |
[% IF ( review.author ) %]<p>By [% review.author | html %].</p>[% END %] |
41 |
<p>[% IF ( review.place ) %][% review.place | html %][% END %][% IF ( review.publishercode ) %][% review.publishercode | html %][% END %][% IF ( review.publicationyear ) %] |
49 |
<p>[% IF ( review.place ) %][% review.place | html %][% END %][% IF ( review.publishercode ) %][% review.publishercode | html %][% END %][% IF ( review.publicationyear ) %] |
42 |
[% review.publicationyear | html %] |
50 |
[% review.publicationyear | html %] |
43 |
[% ELSE %] |
51 |
[% ELSE %] |
44 |
[% IF ( review.copyrightdate ) %][% review.copyrightdate | html %][% END %] |
52 |
[% IF ( review.copyrightdate ) %][% review.copyrightdate | html %][% END %] |
45 |
[% END %] |
53 |
[% END %] |
46 |
[% IF ( review.pages ) %]. [% review.pages | html %][% END %] |
54 |
[% IF ( review.pages ) %]. [% review.pages | html %][% END %] |
47 |
[% IF ( review.notes ) %], [% review.notes | html %][% END %] |
55 |
[% IF ( review.notes ) %], [% review.notes | html %][% END %] |
48 |
[% IF ( review.size ) %][% review.size | html %].[% END %] |
56 |
[% IF ( review.size ) %][% review.size | html %].[% END %] |
49 |
[% IF ( review.isbn ) %][% review.isbn | html %][% END %] |
57 |
[% IF ( review.isbn ) %][% review.isbn | html %][% END %] |
50 |
</p> <p>[% IF ( review.borrowernumber && ShowReviewer ) %][% review.firstname | html %] [% review.surname | html %] commented[% ELSE %]Comment[% END %] on [% review.datereviewed | $KohaDates %]: |
58 |
</p> <p>[% IF ( review.borrowernumber && ShowReviewer ) %][% review.firstname | html %] [% review.surname | html %] commented[% ELSE %]Comment[% END %] on [% review.datereviewed | $KohaDates %]: |
51 |
[% review.review | html %]</p> ]]></description |
59 |
[% review.review | html %]</p> ]]></description |
52 |
> |
60 |
> |
53 |
<guid>[% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber | html %]&reviewid=[% review.reviewid | html %]</guid> |
61 |
<guid>[% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber | html %]&reviewid=[% review.reviewid | html %]</guid> |
54 |
<pubDate>[% review.timestamp | html %]</pubDate> |
62 |
<pubDate>[% review.timestamp | html %]</pubDate> |
55 |
</item> |
63 |
</item> |
56 |
[% END %] |
64 |
[% END %] |
57 |
</channel> |
65 |
</channel> |
58 |
</rss> |
66 |
</rss> |
|
|
67 |
[% END %] |