source: products/qRSS2Syndication/trunk/skins/qrss2syndication/ataudio_item.pt @ 1

Last change on this file since 1 was 1, checked in by myroslav, 18 years ago

Building directory structure

File size: 654 bytes
Line 
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<metal:block define-macro="item">
6   <tal:define define="file res/getFile;
7                       item_size file/get_size | python: file and len(file) or 0;
8                       content_type  python:here.getFileFieldContentType(res);
9                       ">
10           <enclosure
11               tal:attributes="type content_type;
12                               url item_path;
13                               length item_size"/>
14  </tal:define>
15</metal:block>
16</rss>
Note: See TracBrowser for help on using the repository browser.