Dotclear


Ignore:
Timestamp:
12/16/16 07:29:22 (9 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Switch from HTML comments to DC Template comments (not needed in final HTML output) — dotty templateset

File:
1 edited

Legend:

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

    r3246 r3455  
    11<?xml version="1.0" encoding="utf-8"?> 
    2 <feed xmlns="http://www.w3.org/2005/Atom" 
    3   xmlns:dc="http://purl.org/dc/elements/1.1/" 
    4   xmlns:wfw="http://wellformedweb.org/CommentAPI/" 
    5   xml:lang="{{tpl:BlogLanguage}}"> 
    6  
    7   <title type="html">{{tpl:BlogName encode_xml="1"}}{{tpl:SysFeedSubtitle encode_xml="1"}}</title> 
    8   <subtitle type="html">{{tpl:BlogDescription encode_xml="1"}}</subtitle> 
    9   <link href="{{tpl:SysSelfURI}}" rel="self" type="application/atom+xml"/> 
    10   <link href="{{tpl:BlogURL}}" rel="alternate" type="text/html" 
    11   title="{{tpl:BlogDescription remove_html="1" encode_xml="1"}}"/> 
    12   <updated>{{tpl:BlogUpdateDate iso8601="1"}}</updated> 
    13   <author> 
    14     <name>{{tpl:BlogEditor encode_xml="1"}}</name> 
    15   </author> 
    16   <id>{{tpl:BlogFeedID}}</id> 
    17   <generator uri="http://www.dotclear.org/">Dotclear</generator> 
    18  
    19   <tpl:Entries> 
    20  
    21   <entry> 
    22     <title>{{tpl:EntryTitle encode_xml="1"}}</title> 
    23     <link href="{{tpl:EntryURL}}" rel="alternate" type="text/html" 
    24     title="{{tpl:EntryTitle encode_xml="1"}}" /> 
    25     <id>{{tpl:EntryFeedID}}</id> 
    26     <published>{{tpl:EntryDate iso8601="1"}}</published> 
    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> 
    33     <author><name>{{tpl:EntryAuthorCommonName encode_xml="1"}}</name></author> 
    34     <tpl:EntryIf has_category="1"> 
    35     <dc:subject>{{tpl:EntryCategory encode_html="1"}}</dc:subject> 
    36     </tpl:EntryIf> 
    37     <tpl:EntryTags><dc:subject>{{tpl:TagID}}</dc:subject></tpl:EntryTags> 
    38  
    39     <content type="html">{{tpl:EntryExcerpt absolute_urls="1" encode_xml="1"}} 
    40     {{tpl:EntryContent absolute_urls="1" encode_xml="1"}}</content> 
    41  
    42     <tpl:Attachments> 
    43       <link rel="enclosure" href="{{tpl:AttachmentURL}}" 
    44       length="{{tpl:AttachmentSize full="1"}}" type="{{tpl:AttachmentMimeType}}" /> 
    45     </tpl:Attachments> 
    46  
    47  
    48     <tpl:EntryIf comments_active="1"> 
    49       <wfw:comment>{{tpl:EntryURL}}#comment-form</wfw:comment> 
    50       <wfw:commentRss>{{tpl:BlogFeedURL type="atom"}}/comments/{{tpl:EntryID}}</wfw:commentRss> 
    51     </tpl:EntryIf> 
    52   </entry> 
    53   </tpl:Entries> 
    54  
     2<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xml:lang="{{tpl:BlogLanguage}}"> 
     3     <title type="html">{{tpl:BlogName encode_xml="1"}}{{tpl:SysFeedSubtitle encode_xml="1"}}</title> 
     4     <subtitle type="html">{{tpl:BlogDescription encode_xml="1"}}</subtitle> 
     5     <link href="{{tpl:SysSelfURI}}" rel="self" type="application/atom+xml" /> 
     6     <link href="{{tpl:BlogURL}}" rel="alternate" type="text/html" title="{{tpl:BlogDescription remove_html=" 1 " encode_xml="1 "}}"/> 
     7     <updated>{{tpl:BlogUpdateDate iso8601="1"}}</updated> 
     8     <author> 
     9          <name>{{tpl:BlogEditor encode_xml="1"}}</name> 
     10     </author> 
     11     <id>{{tpl:BlogFeedID}}</id> 
     12     <generator uri="http://www.dotclear.org/">Dotclear</generator> 
     13     <tpl:Entries> 
     14          <entry> 
     15               <title>{{tpl:EntryTitle encode_xml="1"}}</title> 
     16               <link href="{{tpl:EntryURL}}" rel="alternate" type="text/html" title="{{tpl:EntryTitle encode_xml=" 1 "}}" /> 
     17               <id>{{tpl:EntryFeedID}}</id> 
     18               <published>{{tpl:EntryDate iso8601="1"}}</published> 
     19               <tpl:EntryIf republished="1"> 
     20                    <updated>{{tpl:EntryDate iso8601="1" upddt="1"}}</updated> 
     21               </tpl:EntryIf> 
     22               <tpl:EntryIf republished="0"> 
     23                    <updated>{{tpl:EntryDate iso8601="1"}}</updated> 
     24               </tpl:EntryIf> 
     25               <author> 
     26                    <name>{{tpl:EntryAuthorCommonName encode_xml="1"}}</name> 
     27               </author> 
     28               <tpl:EntryIf has_category="1"> 
     29                    <dc:subject>{{tpl:EntryCategory encode_html="1"}}</dc:subject> 
     30               </tpl:EntryIf> 
     31               <tpl:EntryTags> 
     32                    <dc:subject>{{tpl:TagID}}</dc:subject> 
     33               </tpl:EntryTags> 
     34               <content type="html">{{tpl:EntryExcerpt absolute_urls="1" encode_xml="1"}} {{tpl:EntryContent absolute_urls="1" encode_xml="1"}}</content> 
     35               <tpl:Attachments> 
     36                    <link rel="enclosure" href="{{tpl:AttachmentURL}}" length="{{tpl:AttachmentSize full=" 1 "}}" type="{{tpl:AttachmentMimeType}}" /> 
     37               </tpl:Attachments> 
     38               <tpl:EntryIf comments_active="1"> 
     39                    <wfw:comment>{{tpl:EntryURL}}#comment-form</wfw:comment> 
     40                    <wfw:commentRss>{{tpl:BlogFeedURL type="atom"}}/comments/{{tpl:EntryID}}</wfw:commentRss> 
     41               </tpl:EntryIf> 
     42          </entry> 
     43     </tpl:Entries> 
    5544</feed> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map