Mercurial > hg > documentViewer
view zpt/thumbs_main_rss.zpt @ 454:73e3273c7624 elementtree
more work
author | casties |
---|---|
date | Fri, 15 Jul 2011 11:02:26 +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>