Mercurial > hg > documentViewer
comparison zpt/thumbs_main_rss.zpt @ 588:e1034c2ca255
bug with missing current param.
author | casties |
---|---|
date | Thu, 15 Nov 2012 17:20:03 +0100 |
parents | 1493ff41d380 |
children |
comparison
equal
deleted
inserted
replaced
587:6000c7e24d8a | 588:e1034c2ca255 |
---|---|
1 <?xml version="1.0" encoding="utf-8" standalone="yes"?> | 1 <?xml version="1.0" encoding="utf-8" standalone="yes"?> |
2 <rss version="2.0" | 2 <rss version="2.0" |
3 xmlns:media="http://search.yahoo.com/mrss" | 3 xmlns:media="http://search.yahoo.com/mrss" |
4 xmlns:tal="http://xml.zope.org/namespaces/tal"> | 4 xmlns:tal="http://xml.zope.org/namespaces/tal"> |
5 | 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"> | 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; grpsize pageinfo/groupsize; pages docinfo/numPages"> |
7 | 7 |
8 <item tal:repeat="idx python:range(1,pages)"> | 8 <item tal:repeat="idx python:range(1,pages)"> |
9 <title tal:content="string:$idx">title</title> | 9 <title tal:content="string:$idx">title</title> |
10 <link tal:content="structure python:here.getLinkAmp(param='pn',val=idx)">link</link> | 10 <link tal:content="structure python:here.getLinkAmp(param='pn',val=idx)">link</link> |
11 | 11 |