Changeset 299

Show
Ignore:
Timestamp:
03/06/06 16:49:01
Author:
wreutz
Message:

added support for longDescription from mediacoopVideo, mediacoopAudio and mediacoopFolder or any other type providing this field
if a longDescription field is found <itunes:summary> gets the long description and <itunes:subtitle> gets the value of the Description field

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • qRSS2Syndication/branches/itunes-atvideo-support/README.txt

    r298 r299  
    2626 
    2727Volodymyr Cherepanyak <chervol@quintagroup.com> 
    28 Wolfgang Reutz <wolfgang.reutz@fhv.at> - iTunes support, midacoop audio/video support.   
     28Wolfgang Reutz <wolfgang.reutz@fhv.at> - iTunes support, mediacoop audio/video support.   
  • qRSS2Syndication/branches/itunes-atvideo-support/TODO.txt

    r298 r299  
    66--------------- 
    77 
    8 add length of video file from a atvideo object to atvideo_item.pt like in ataudio_item.pt 
    9 add categories to the channel for itunes feed 
    10 add <itunes:keywords> for an item aggregated from the keywords of the object or tags(?) 
    11 subtitle for items and channel (maybe take first sentence of description) 
     8- add length of video file from a atvideo object to atvideo_item.pt like in ataudio_item.pt 
     9- add categories to the channel for itunes feed 
     10- add <itunes:keywords> for an item aggregated from the keywords of the object or tags(?) 
     11- subtitle for items and channel (maybe take first sentence of description) 
     12- add tab for smartfolder to configure the itunes related parameters (enable itunes support, channel image,...) 
     13- strip html tags from <itunes:summary> and <itunes:subtitle>, substitute <br /> and </p> with a new line (\n) 
    1214 
    1315maybe add a check for the type of the items (mp3, m4a, m4v, mp4, mov, ..) that itunes understand, otherwise output 
  • qRSS2Syndication/branches/itunes-atvideo-support/skins/qrss2syndication/RSS2.pt

    r298 r299  
    3636                      tal:condition="python:syInfo['itunes_image_url']" 
    3737                      tal:attributes="href python:syInfo['itunes_image_url']"  /> 
     38        <itunes:subtitle tal:condition="here/longDescription" tal:content="here/Description"></itunes:subtitle> 
     39        <itunes:summary tal:condition="here/longDescription" tal:content="here/longDescription"></itunes:summary> 
    3840        </tal:block> 
    3941 
     
    4244                               item_path python: res.absolute_url(); 
    4345                               item_creator python:here.getObjectCreator(res.Creator()); 
    44                                item_creator python:item_creator and '%s %s' % (item_creator.getProperty('fullname',''),item_creator.getProperty('email','')) or ''"> 
     46                               item_creator python:item_creator and '%s (%s)' % (item_creator.getProperty('fullname',''),item_creator.getProperty('email','')) or ''"> 
    4547                  <item> 
    4648                      <title tal:content="res/title_or_id"></title> 
     
    4850                      <description tal:content="res/Description"> 
    4951                      </description> 
     52                      <tal:block condition="itunesEnabled"> 
     53                        <itunes:subtitle tal:condition="res/longDescription" tal:content="res/Description"></itunes:subtitle> 
     54                        <itunes:summary tal:condition="res/longDescription" tal:content="res/longDescription"></itunes:summary> 
     55                      </tal:block> 
    5056                      <author tal:condition="item_creator" 
    5157                              tal:content="item_creator"></author>