Dotclear


Ignore:
Timestamp:
10/26/12 13:35:00 (13 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Add "republished" test attribute for EntryIf? tag and used in atom.xml. May be useful for theme creators in order to add a mention if a post has been modified since his publication. Fixes #1161.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/public/default-templates/atom.xml

    r0 r912  
    2525    <id>{{tpl:EntryFeedID}}</id> 
    2626    <published>{{tpl:EntryDate iso8601="1"}}</published> 
    27     <updated>{{tpl:EntryDate iso8601="1" upddt="1"}}</updated> 
     27    <tpl:EntryIf republished="1"> 
     28      <updated>{{tpl:EntryDate iso8601="1" upddt="1"}}</updated> 
     29    </tpl:EntryIf> 
     30    <tpl:EntryIf republished="0"> 
     31      <updated>{{tpl:EntryDate iso8601="1"}}</updated> 
     32    </tpl:EntryIf> 
    2833    <author><name>{{tpl:EntryAuthorCommonName encode_xml="1"}}</name></author> 
    2934    <tpl:EntryIf has_category="1"> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map