Changeset 292
- Timestamp:
- 03/04/06 14:52:30
- Files:
-
- qRSS2Syndication/branches/itunes-atvideo-support/README.txt (modified) (1 diff)
- qRSS2Syndication/branches/itunes-atvideo-support/TODO.txt (modified) (1 diff)
- qRSS2Syndication/branches/itunes-atvideo-support/skins/qrss2syndication/RSS2.pt (modified) (5 diffs)
- qRSS2Syndication/branches/itunes-atvideo-support/skins/qrss2syndication/ataudio_item.pt (modified) (1 diff)
- qRSS2Syndication/branches/itunes-atvideo-support/skins/qrss2syndication/getObjectCreator.py (moved) (moved from qRSS2Syndication/branches/itunes-atvideo-support/skins/qrss2syndication/getMemberEmail.py)
- qRSS2Syndication/branches/itunes-atvideo-support/skins/qrss2syndication/mediacoopaudio_item.pt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
qRSS2Syndication/branches/itunes-atvideo-support/README.txt
r291 r292 2 2 * includes support of audio and video feeds. 3 3 * the syndication of ATAudio objects, mp3, wmv, ppt, jpg files using RSS 2.0 with enclosures. 4 * full body of article <content:encoded> support for Documents and SimpleBlog. 5 * Smart Folders/Topic syndication suported 4 6 5 7 qRSS2Syndication/branches/itunes-atvideo-support/TODO.txt
r291 r292 1 get rid of getFileFieldContentType method 2 listSyndicatableContent should use ExtendedPathindex in query on Plone 2.1+ 3 4 1 5 itunes related: 2 6 --------------- 7 3 8 add length of video file from a atvideo object to atvideo_item.pt like in ataudio_item.pt 4 9 add categories to the channel for itunes feed qRSS2Syndication/branches/itunes-atvideo-support/skins/qrss2syndication/RSS2.pt
r291 r292 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"> 9 8 tal:on-error="nothing"> 10 9 <tal:x define="dummy python:request.RESPONSE.setHeader('Content-Type', 'text/xml');" /> 11 <channel tal:define="creator here/Creator; syInfo python:here.getSynProp()"> 12 10 <channel tal:define="author python:here.getObjectCreator(here.Creator()); 11 author_email python:author.getProperty('email',''); 12 author_fullname python:author.getProperty('fullname',''); 13 syInfo python:here.getSynProp(); 14 itunesEnabled python: syInfo['enable_itunes']"> 13 15 <title tal:define="portal_title here/portal_properties/title; 14 16 here_title here/title_or_id; … … 17 19 tal:content="string:$portal_title - $here_title">Title of page</title> 18 20 <link tal:content="here/absolute_url"></link> 19 <description tal:content="here/Description"> 20 </description> 21 <description tal:content="here/Description"></description> 21 22 <language>en-us</language> 22 23 <generator>Plone CMS</generator> 23 <author tal:content="python:here.portal_membership.getMemberInfo(creator)['fullname']"></author> 24 <author tal:condition="author_fullname" 25 tal:content="author_fullname"></author> 24 26 25 <tal:block condition="python: syInfo['enable_itunes']"> 26 <ttl>240</ttl> 27 <itunes:author tal:content="python:here.portal_membership.getMemberInfo(creator)['fullname']"></itunes:author> 28 <itunes:explicit tal:content="python:test(syInfo['itunes_explicit'],'yes','no')"></itunes:explicit> 29 <itunes:owner> 30 <itunes:name tal:content="python:here.portal_membership.getMemberInfo(creator)['fullname']"></itunes:name> 31 <itunes:email tal:content="python:here.getMemberEmail(creator)"></itunes:email> 32 </itunes:owner> 33 <itunes:image href="" tal:attributes="href python:syInfo['itunes_image_url']" tal:condition="python:syInfo['itunes_image_url']" /> 27 <tal:block condition="itunesEnabled"> 28 <ttl>240</ttl> 29 <itunes:author tal:content="author_fullname"></itunes:author> 30 <itunes:explicit tal:content="python:test(syInfo['itunes_explicit'],'yes','no')"></itunes:explicit> 31 <itunes:owner> 32 <itunes:name tal:content="author_fullname"></itunes:name> 33 <itunes:email tal:content="author_email"></itunes:email> 34 </itunes:owner> 35 <itunes:image href="" 36 tal:condition="python:syInfo['itunes_image_url']" 37 tal:attributes="href python:syInfo['itunes_image_url']" /> 34 38 </tal:block> 35 39 … … 37 41 <tal:block define="macros nocall: python:here.getItemMacros(res.portal_type); 38 42 item_path python: res.absolute_url(); 39 res_creator here.portal_membership.getMemberInfo(res.Creator());40 creator python: res_creator['fullname']+' '+res_creator['email']">43 item_creator here.portal_membership.getMemberInfo(res.Creator()); 44 item_creator python: '%s %s' % (item_creator.getProperty('fullname',''),item_creatorgetProperty('email',''))"> 41 45 <item> 42 46 <title tal:content="res/title_or_id"></title> … … 44 48 <description tal:content="res/Description"> 45 49 </description> 46 <author tal:content="creator"></author> 50 <author tal;condition="item_creator" 51 tal:content="item_creator"></author> 47 52 <tal:repeat repeat="subj res/Subject"> 48 53 <category tal:content="subj"> … … 52 57 <metal:block use-macro="macros"/> 53 58 </item> 54 55 59 </tal:block> 56 57 60 </tal:block> 58 59 60 61 </channel> 61 62 62 </rss> 63 63 qRSS2Syndication/branches/itunes-atvideo-support/skins/qrss2syndication/ataudio_item.pt
r291 r292 11 11 url item_path; 12 12 length item_size"/> 13 <tal:block condition=" python: syInfo['enable_itunes']">13 <tal:block condition="itunesEnabled"> 14 14 <itunes:duration tal:content="res/getLengthString"></itunes:duration> 15 15 </tal:block> qRSS2Syndication/branches/itunes-atvideo-support/skins/qrss2syndication/mediacoopaudio_item.pt
r291 r292 14 14 url item_path; 15 15 length item_size"/> 16 <tal:block condition=" python: syInfo['enable_itunes']">16 <tal:block condition="itunesEnabled"> 17 17 <itunes:duration tal:content="res/getLengthString"></itunes:duration> 18 18 </tal:block>
