Last change
on this file since 1 was
1,
checked in by myroslav, 19 years ago
|
Building directory structure
|
File size:
764 bytes
|
Rev | Line | |
---|
[1] | 1 | <?xml version="1.0" encoding="utf-8"?> |
---|
| 2 | <rss version="2.0" |
---|
| 3 | xmlns:tal="http://xml.zope.org/namespaces/tal" |
---|
| 4 | xmlns:metal="http://xml.zope.org/namespaces/metal" |
---|
| 5 | xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" > |
---|
| 6 | <metal:block define-macro="item"> |
---|
| 7 | <tal:define define="item_size item/getFileSize | python: 0; |
---|
| 8 | content_type res/getMimeType;"> |
---|
| 9 | <enclosure |
---|
| 10 | tal:attributes="type content_type; |
---|
| 11 | url item_path; |
---|
| 12 | length item_size"/> |
---|
| 13 | <tal:block condition="itunesEnabled"> |
---|
| 14 | <itunes:duration tal:content="res/getLengthString"></itunes:duration> |
---|
| 15 | </tal:block> |
---|
| 16 | </tal:define> |
---|
| 17 | </metal:block> |
---|
| 18 | </rss> |
---|
Note: See
TracBrowser
for help on using the repository browser.