File:  [Repository] / documentViewer / zpt / thumbs_main_rss.zpt
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Wed Jun 25 10:47:58 2008 UTC (16 years ago) by dwinter
Branches: MAIN
CVS tags: HEAD
piclens rss/support

    1: <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    2: <rss version="2.0" 
    3:      xmlns:media="http://search.yahoo.com/mrss"
    4:      xmlns:tal="http://xml.zope.org/namespaces/tal">
    5: 
    6: <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">
    7:  
    8:     <item tal:repeat="idx python:range(1,pages)">
    9:       <title tal:content="string:$idx">title</title>
   10:       <link tal:content="structure python:here.getLinkAmp(param='pn',val=idx)">link</link>
   11:     
   12:       <media:thumbnail tal:attributes="url string:${docinfo/imageURL}&amp;pn=$idx&amp;dw=100&amp;dh=100"/>
   13:       <media:content tal:attributes="url string:${docinfo/imageURL}&amp;pn=$idx&amp;dw=500&amp;dh=500"/>
   14: 
   15:   </item>
   16: 
   17: </channel>
   18: </rss>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>