Changeset 1944


Ignore:
Timestamp:
08/16/07 17:49:02 (12 years ago)
Author:
jukka
Message:

Fixed #1490.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/skins/lemill/rss_template.pt

    r1886 r1944  
    6060<tal:block repeat="brain python: objects"> 
    6161<item rdf:about="" tal:attributes="rdf:about obj_item/getURL|obj_item/absolute_url|nothing" tal:define="obj_item brain/getObject|python:brain" tal:condition="obj_item/absolute_url | brain/absolute_url | python:False"> 
    62 <tal:not_discussionitem condition="python:obj_item.portal_type!='Discussion Item'"> 
     62<tal:not_discussionitem condition="python:obj_item.portal_type!='Discussion Item'" define="modDate obj_item/getLatestEdit"> 
    6363    <link tal:content="obj_item/Identifier | nothing">Identifier</link> 
    6464    <title tal:content="obj_item/pretty_title_or_id | nothing ">Title</title> 
    6565    <description tal:define="text obj_item/getRSSDescription | obj_item/getBodyText | nothing" tal:content="python:context.cookText(text)">            Description        </description> 
    66     <dc:creator tal:content="obj_item/Creator | nothing">Creator</dc:creator>         
     66    <dc:creator tal:content="obj_item/getLastEditor | obj_item/Creator | nothing">Creator</dc:creator>         
    6767    <dc:rights tal:content="obj_item/Rights | nothing">Rights</dc:rights>                 
    68     <dc:date tal:content="python: obj_item.modified().HTML4()">Modification date</dc:date>   
     68    <dc:date tal:content="modDate/HTML4">Modification date</dc:date>   
    6969</tal:not_discussionitem> 
    7070<tal:discussionitem condition="python:obj_item.portal_type=='Discussion Item'"> 
     
    7272    <title>re: <span tal:omit-tag="" tal:content="python:obj_item.aq_parent.Title()"></span></title> 
    7373    <description tal:content="obj_item/CookedBody | nothing">Comment body</description> 
    74     <dc:creator tal:content="obj_item/Creator | nothing">Creator</dc:creator>         
     74    <dc:creator tal:content="obj_item/getLastEditor | obj_item/Creator | nothing">Creator</dc:creator>         
    7575    <dc:rights></dc:rights>                 
    7676    <dc:date tal:content="python: obj_item.modified().HTML4()">Modification date</dc:date>   
Note: See TracChangeset for help on using the changeset viewer.