Dotclear

source: inc/public/default-templates/dotty/rss2.xml @ 3455:14eb526d2e96

Revision 3455:14eb526d2e96, 2.0 KB checked in by franck <carnet.franck.paul@…>, 9 years ago (diff)

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

Line 
1<?xml version="1.0" encoding="utf-8"?>
2<?xml-stylesheet title="XSL formatting" type="text/xsl" href="{{tpl:BlogURL}}feed/rss2/xslt" ?>
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 TracBrowser for help on using the repository browser.

Sites map