Dotclear

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

Revision 3455:14eb526d2e96, 2.2 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<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="{{tpl:BlogLanguage}}">
3     <title type="html">{{tpl:BlogName encode_xml="1"}}{{tpl:SysFeedSubtitle encode_xml="1"}} - {{tpl:lang Comments}}</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:Comments order="desc" with_pings="1">
14          <tpl:CommentIf is_ping="1">
15               <entry>
16                    <title>[ping] {{tpl:PingEntryTitle encode_xml="1"}} - {{tpl:PingBlogName encode_xml="1"}}</title>
17                    <link href="{{tpl:PingPostURL encode_xml=" 1 "}}#c{{tpl:PingID}}" rel="alternate" type="text/html" title="[ping] {{tpl:PingEntryTitle encode_xml=" 1 "}} - {{tpl:PingBlogName encode_xml="1 "}}" />
18                    <id>{{tpl:PingFeedID}}</id>
19                    <published>{{tpl:PingDate iso8601="1"}}</published>
20                    <updated>{{tpl:PingDate iso8601="1" upddt="1"}}</updated>
21                    <author>
22                         <name>{{tpl:PingBlogName encode_xml="1"}}</name>
23                    </author>
24                    <content type="html">&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"}}</content>
25               </entry>
26          </tpl:CommentIf>
27          <tpl:CommentIf is_ping="0">
28               <entry>
29                    <title>{{tpl:CommentEntryTitle encode_xml="1"}} - {{tpl:CommentAuthor encode_xml="1"}}</title>
30                    <link href="{{tpl:CommentPostURL encode_xml=" 1 "}}#c{{tpl:CommentID}}" rel="alternate" type="text/html" title="{{tpl:CommentEntryTitle encode_xml=" 1 "}} - {{tpl:CommentAuthor encode_xml="1 "}}" />
31                    <id>{{tpl:CommentFeedID}}</id>
32                    <published>{{tpl:CommentDate iso8601="1"}}</published>
33                    <updated>{{tpl:CommentDate iso8601="1" upddt="1"}}</updated>
34                    <author>
35                         <name>{{tpl:CommentAuthor encode_xml="1"}}</name>
36                    </author>
37                    <content type="html">{{tpl:CommentContent absolute_urls="1" encode_xml="1"}}</content>
38               </entry>
39          </tpl:CommentIf>
40     </tpl:Comments>
41</feed>
Note: See TracBrowser for help on using the repository browser.

Sites map