Dotclear

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

Revision 3455:14eb526d2e96, 2.1 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: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"}} - {{tpl:lang Comments}}</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:Comments order="desc" with_pings="1">
15                    <tpl:CommentIf is_ping="1">
16                         <item>
17                              <title>[ping] {{tpl:PingEntryTitle encode_xml="1"}} - {{tpl:PingBlogName encode_xml="1"}}</title>
18                              <link>{{tpl:PingPostURL encode_xml="1"}}#c{{tpl:PingID}}</link>
19                              <guid isPermaLink="false">{{tpl:PingFeedID}}</guid>
20                              <pubDate>{{tpl:PingDate rfc822="1"}}</pubDate>
21                              <dc:creator>{{tpl:PingBlogName encode_xml="1"}}</dc:creator>
22                              <description>&lt;p&gt;&lt;a href="{{tpl:PingAuthorURL encode_xml="1"}}"&gt;{{tpl:PingTitle encode_xml="1"}}&lt;/a&gt;&lt;/p&gt; {{tpl:PingContent encode_xml="1"}}</description>
23                         </item>
24                    </tpl:CommentIf>
25                    <tpl:CommentIf is_ping="0">
26                         <item>
27                              <title>{{tpl:CommentEntryTitle encode_xml="1"}} - {{tpl:CommentAuthor encode_xml="1"}}</title>
28                              <link>{{tpl:CommentPostURL encode_xml="1"}}#c{{tpl:CommentID}}</link>
29                              <guid isPermaLink="false">{{tpl:CommentFeedID}}</guid>
30                              <pubDate>{{tpl:CommentDate rfc822="1"}}</pubDate>
31                              <dc:creator>{{tpl:CommentAuthor encode_xml="1"}}</dc:creator>
32                              <description>{{tpl:CommentContent absolute_urls="1" encode_xml="1"}}</description>
33                         </item>
34                    </tpl:CommentIf>
35               </tpl:Comments>
36          </channel>
37     </rss>
Note: See TracBrowser for help on using the repository browser.

Sites map