| Line | |
|---|
| 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; 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}&pn=$idx&dw=100&dh=100"/> |
|---|
| 13 | <media:content tal:attributes="url string:${docinfo/imageURL}&pn=$idx&dw=800&dh=800"/> |
|---|
| 14 | |
|---|
| 15 | </item> |
|---|
| 16 | |
|---|
| 17 | </channel> |
|---|
| 18 | </rss> |
|---|
Note: See
TracBrowser
for help on using the repository browser.