Changeset 303
- Timestamp:
- 03/07/06 04:54:02
- Files:
-
- qRSS2Syndication/branches/itunes-atvideo-support/skins/qrss2syndication/RSS2.pt (modified) (2 diffs)
- qRSS2Syndication/branches/itunes-atvideo-support/skins/qrss2syndication/ataudio_item.pt (modified) (2 diffs)
- qRSS2Syndication/branches/itunes-atvideo-support/skins/qrss2syndication/mediacoopimage_item.pt (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
qRSS2Syndication/branches/itunes-atvideo-support/skins/qrss2syndication/RSS2.pt
r302 r303 36 36 tal:condition="python:syInfo['itunes_image_url']" 37 37 tal:attributes="href python:syInfo['itunes_image_url']" /> 38 <itunes:subtitle tal:condition="here/ Description" tal:content="here/Description"></itunes:subtitle>38 <itunes:subtitle tal:condition="here/longDescription" tal:content="here/Description"></itunes:subtitle> 39 39 <itunes:summary tal:condition="here/longDescription|nothing" tal:content="here/longDescription"></itunes:summary> 40 40 </tal:block> … … 51 51 </description> 52 52 <tal:block condition="itunesEnabled"> 53 <itunes:subtitle tal:condition="res/ Description|nothing" tal:content="res/Description"></itunes:subtitle>53 <itunes:subtitle tal:condition="res/longDescription|nothing" tal:content="res/Description"></itunes:subtitle> 54 54 <itunes:summary tal:condition="res/longDescription|nothing" tal:content="res/longDescription"></itunes:summary> 55 55 </tal:block> qRSS2Syndication/branches/itunes-atvideo-support/skins/qrss2syndication/ataudio_item.pt
r302 r303 5 5 xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" > 6 6 <metal:block define-macro="item"> 7 <tal:define define="item_size item/getFileSize | python: 0; 8 content_type res/getMimeType;"> 7 <!-- todo: check for apropriate get size of file method (expression res/getFile can kill zope) --> 8 <tal:define define="file res/getFile; 9 item_size file/get_size | python: file and len(file) or 0; 10 content_type python:here.getFileFieldContentType(res); 11 "> 9 12 <enclosure 10 13 tal:attributes="type content_type; … … 12 15 length item_size"/> 13 16 <tal:block condition="itunesEnabled"> 14 <itunes:duration tal:content="res/getLengthString"></itunes:duration>17 <itunes:duration tal:content="res/getLengthString"></itunes:duration> 15 18 </tal:block> 16 19 </tal:define>
