Mercurial > hg > documentViewer
view zpt/thumbs_main_rss.zpt @ 620:a71ae589d342
use https for annotations and fix bug when logging httplib errors.
author | casties |
---|---|
date | Thu, 11 Dec 2014 17:19:45 +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>