Changeset 295
- Timestamp:
- 03/06/06 06:11:11
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
qRSS2Syndication/branches/itunes-atvideo-support/skins/qrss2syndication/RSS2.pt
r294 r295 6 6 xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" 7 7 tal:define="results python:here.getSyndicatableContent();" 8 tal:on-error="nothing"> 8 tal:on-error="nothing"> 9 9 <tal:x define="dummy python:request.RESPONSE.setHeader('Content-Type', 'text/xml');" /> 10 10 <channel tal:define="author python:here.getObjectCreator(here.Creator()); 11 author_email python:author .getProperty('email','');12 author_fullname python:author .getProperty('fullname','');11 author_email python:author and author.getProperty('email','') or ''; 12 author_fullname python:author and author.getProperty('fullname','') or ''; 13 13 syInfo python:here.getSynProp(); 14 14 itunesEnabled python: syInfo['enable_itunes']"> … … 24 24 <author tal:condition="author_fullname" 25 25 tal:content="author_fullname"></author> 26 26 27 27 <tal:block condition="itunesEnabled"> 28 28 <ttl>240</ttl> 29 <itunes:author tal:con tent="author_fullname"></itunes:author>29 <itunes:author tal:condition="author_fullname" tal:content="author_fullname"></itunes:author> 30 30 <itunes:explicit tal:content="python:test(syInfo['itunes_explicit'],'yes','no')"></itunes:explicit> 31 <itunes:owner >32 <itunes:name tal:con tent="author_fullname"></itunes:name>33 <itunes:email tal:con tent="author_email"></itunes:email>31 <itunes:owner tal:condition="author"> 32 <itunes:name tal:condition="author_fullname" tal:content="author_fullname"></itunes:name> 33 <itunes:email tal:condition="author_email" tal:content="author_email"></itunes:email> 34 34 </itunes:owner> 35 35 <itunes:image href="" … … 42 42 item_path python: res.absolute_url(); 43 43 item_creator python:here.getObjectCreator(res.Creator()); 44 item_creator python: '%s %s' % (item_creator.getProperty('fullname',''),item_creator.getProperty('email',''))">44 item_creator python:item_creator and '%s %s' % (item_creator.getProperty('fullname',''),item_creator.getProperty('email','')) or ''"> 45 45 <item> 46 46 <title tal:content="res/title_or_id"></title>
