source: documentViewer/zpt/thumbs_main_rss.zpt

Last change on this file was 588:e1034c2ca255, checked in by casties, 11 years ago

bug with missing current param.

File size: 853 bytes
Line 
1<?xml version="1.0" encoding="utf-8" standalone="yes"?>
2<rss version="2.0"
3     xmlns:media="http://search.yahoo.com/mrss"
4     xmlns:tal="http://xml.zope.org/namespaces/tal">
5
6<channel tal:define="docinfo options/docinfo; pageinfo options/pageinfo; viewMode options/viewMode; start pageinfo/start; end pageinfo/end; rows pageinfo/rows; cols pageinfo/cols; grpsize pageinfo/groupsize; pages docinfo/numPages">
7 
8    <item tal:repeat="idx python:range(1,pages)">
9      <title tal:content="string:$idx">title</title>
10      <link tal:content="structure python:here.getLinkAmp(param='pn',val=idx)">link</link>
11   
12      <media:thumbnail tal:attributes="url string:${docinfo/imageURL}&amp;pn=$idx&amp;dw=100&amp;dh=100"/>
13      <media:content tal:attributes="url string:${docinfo/imageURL}&amp;pn=$idx&amp;dw=800&amp;dh=800"/>
14
15  </item>
16
17</channel>
18</rss>
Note: See TracBrowser for help on using the repository browser.