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/rss2.xml

    r3246 r3455  
    11<?xml version="1.0" encoding="utf-8"?> 
    22<?xml-stylesheet title="XSL formatting" type="text/xsl" href="{{tpl:BlogURL}}feed/rss2/xslt" ?> 
    3 <rss version="2.0" 
    4   xmlns:dc="http://purl.org/dc/elements/1.1/" 
    5   xmlns:wfw="http://wellformedweb.org/CommentAPI/" 
    6   xmlns:content="http://purl.org/rss/1.0/modules/content/" 
    7   xmlns:atom="http://www.w3.org/2005/Atom"> 
    8 <channel> 
    9   <title>{{tpl:BlogName encode_xml="1"}}{{tpl:SysFeedSubtitle encode_xml="1"}}</title> 
    10   <link>{{tpl:BlogURL}}</link> 
    11   <atom:link href="{{tpl:SysSelfURI}}" rel="self" type="application/rss+xml"/> 
    12   <description>{{tpl:BlogDescription remove_html="1" encode_xml="1"}}</description> 
    13   <language>{{tpl:BlogLanguage}}</language> 
    14   <pubDate>{{tpl:BlogUpdateDate rfc822="1"}}</pubDate> 
    15   <copyright>{{tpl:BlogCopyrightNotice encode_xml="1"}}</copyright> 
    16   <docs>http://blogs.law.harvard.edu/tech/rss</docs> 
    17   <generator>Dotclear</generator> 
    18  
    19   <tpl:Entries> 
    20  
    21   <item> 
    22     <title>{{tpl:EntryTitle encode_xml="1"}}</title> 
    23     <link>{{tpl:EntryURL}}</link> 
    24     <guid isPermaLink="false">{{tpl:EntryFeedID}}</guid> 
    25     <pubDate>{{tpl:EntryDate rfc822="1"}}</pubDate> 
    26     <dc:creator>{{tpl:EntryAuthorCommonName encode_xml="1"}}</dc:creator> 
    27     <tpl:EntryIf has_category="1"> 
    28     <category>{{tpl:EntryCategory encode_html="1"}}</category> 
    29     </tpl:EntryIf> 
    30     <tpl:EntryTags><category>{{tpl:TagID}}</category></tpl:EntryTags> 
    31  
    32     <description>{{tpl:EntryExcerpt absolute_urls="1" encode_xml="1"}} 
    33     {{tpl:EntryContent absolute_urls="1" encode_xml="1"}}</description> 
    34  
    35     <tpl:Attachments> 
    36       <enclosure url="{{tpl:AttachmentURL}}" 
    37       length="{{tpl:AttachmentSize full="1"}}" type="{{tpl:AttachmentMimeType}}" /> 
    38     </tpl:Attachments> 
    39  
    40     <tpl:EntryIf comments_active="1"> 
    41       <comments>{{tpl:EntryURL}}#comment-form</comments> 
    42       <wfw:comment>{{tpl:EntryURL}}#comment-form</wfw:comment> 
    43       <wfw:commentRss>{{tpl:BlogFeedURL}}/comments/{{tpl:EntryID}}</wfw:commentRss> 
    44     </tpl:EntryIf> 
    45   </item> 
    46   </tpl:Entries> 
    47  
    48 </channel> 
    49 </rss> 
     3     <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom"> 
     4          <channel> 
     5               <title>{{tpl:BlogName encode_xml="1"}}{{tpl:SysFeedSubtitle encode_xml="1"}}</title> 
     6               <link>{{tpl:BlogURL}}</link> 
     7               <atom:link href="{{tpl:SysSelfURI}}" rel="self" type="application/rss+xml" /> 
     8               <description>{{tpl:BlogDescription remove_html="1" encode_xml="1"}}</description> 
     9               <language>{{tpl:BlogLanguage}}</language> 
     10               <pubDate>{{tpl:BlogUpdateDate rfc822="1"}}</pubDate> 
     11               <copyright>{{tpl:BlogCopyrightNotice encode_xml="1"}}</copyright> 
     12               <docs>http://blogs.law.harvard.edu/tech/rss</docs> 
     13               <generator>Dotclear</generator> 
     14               <tpl:Entries> 
     15                    <item> 
     16                         <title>{{tpl:EntryTitle encode_xml="1"}}</title> 
     17                         <link>{{tpl:EntryURL}}</link> 
     18                         <guid isPermaLink="false">{{tpl:EntryFeedID}}</guid> 
     19                         <pubDate>{{tpl:EntryDate rfc822="1"}}</pubDate> 
     20                         <dc:creator>{{tpl:EntryAuthorCommonName encode_xml="1"}}</dc:creator> 
     21                         <tpl:EntryIf has_category="1"> 
     22                              <category>{{tpl:EntryCategory encode_html="1"}}</category> 
     23                         </tpl:EntryIf> 
     24                         <tpl:EntryTags> 
     25                              <category>{{tpl:TagID}}</category> 
     26                         </tpl:EntryTags> 
     27                         <description>{{tpl:EntryExcerpt absolute_urls="1" encode_xml="1"}} {{tpl:EntryContent absolute_urls="1" encode_xml="1"}}</description> 
     28                         <tpl:Attachments> 
     29                              <enclosure url="{{tpl:AttachmentURL}}" length="{{tpl:AttachmentSize full=" 1 "}}" type="{{tpl:AttachmentMimeType}}" /> 
     30                         </tpl:Attachments> 
     31                         <tpl:EntryIf comments_active="1"> 
     32                              <comments>{{tpl:EntryURL}}#comment-form</comments> 
     33                              <wfw:comment>{{tpl:EntryURL}}#comment-form</wfw:comment> 
     34                              <wfw:commentRss>{{tpl:BlogFeedURL}}/comments/{{tpl:EntryID}}</wfw:commentRss> 
     35                         </tpl:EntryIf> 
     36                    </item> 
     37               </tpl:Entries> 
     38          </channel> 
     39     </rss> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map