Mercurial > hg > documentViewer
view zpt/thumbs_main_rss.zpt @ 493:79d414cead6d elementtree
first button for digilib
author | casties |
---|---|
date | Mon, 05 Sep 2011 11:10:36 +0200 |
parents | 1493ff41d380 |
children | e1034c2ca255 |
line wrap: on
line source
<?xml version="1.0" encoding="utf-8" standalone="yes"?> <rss version="2.0" xmlns:media="http://search.yahoo.com/mrss" xmlns:tal="http://xml.zope.org/namespaces/tal"> <channel tal:define="docinfo options/docinfo; pageinfo options/pageinfo; viewMode options/viewMode; start pageinfo/start; end pageinfo/end; rows pageinfo/rows; cols pageinfo/cols; current pageinfo/current; grpsize pageinfo/groupsize; pages docinfo/numPages"> <item tal:repeat="idx python:range(1,pages)"> <title tal:content="string:$idx">title</title> <link tal:content="structure python:here.getLinkAmp(param='pn',val=idx)">link</link> <media:thumbnail tal:attributes="url string:${docinfo/imageURL}&pn=$idx&dw=100&dh=100"/> <media:content tal:attributes="url string:${docinfo/imageURL}&pn=$idx&dw=800&dh=800"/> </item> </channel> </rss>