Changeset 304

Show
Ignore:
Timestamp:
03/07/06 08:17:46
Author:
wreutz
Message:

copying stuff from mediacoopaudio_item.pt to ataudio_item.pt was a mistake, should have been the other way round
now fixed

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • qRSS2Syndication/branches/itunes-atvideo-support/skins/qrss2syndication/ataudio_item.pt

    r303 r304  
    55     xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" > 
    66<metal:block define-macro="item"> 
    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                        "> 
     7   <tal:define define="item_size item/getFileSize | python: 0; 
     8                       content_type  res/getMimeType;"> 
    129           <enclosure  
    1310               tal:attributes="type content_type; 
     
    1512                               length item_size"/> 
    1613          <tal:block condition="itunesEnabled"> 
    17                        <itunes:duration tal:content="res/getLengthString"></itunes:duration> 
     14               <itunes:duration tal:content="res/getLengthString"></itunes:duration> 
    1815          </tal:block> 
    1916  </tal:define> 
  • qRSS2Syndication/branches/itunes-atvideo-support/skins/qrss2syndication/mediacoopaudio_item.pt

    r303 r304  
    55     xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" > 
    66<metal:block define-macro="item"> 
    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                        "> 
     7   <tal:define define="item_size item/getFileSize | python: 0; 
     8                       content_type  res/getMimeType;"> 
    129           <enclosure  
    1310               tal:attributes="type content_type;