Mercurial > hg > documentViewer
view zpt/thumbs_main_rss.zpt @ 626:7dafe8283312
make sslify accessible for templates.
author | casties |
---|---|
date | Mon, 15 Dec 2014 17:31:08 +0100 |
parents | e1034c2ca255 |
children |
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; 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>