Mercurial > hg > documentViewer
view zpt/thumbs_main_rss.zpt @ 93:fd2e11a1c369
more changed templates, now with metal:use-macro
zogilib mostly working
author | casties |
---|---|
date | Fri, 09 Apr 2010 20:33:53 +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>