Dotclear

source: inc/public/default-templates/dotty/atom-comments.xml @ 3246:9b71237c9035

Revision 3246:9b71237c9035, 2.2 KB checked in by franck <carnet.franck.paul@…>, 9 years ago (diff)

New dotty html5 template set, first step ; addresses #2061

Line 
1<?xml version="1.0" encoding="utf-8"?>
2<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="{{tpl:BlogLanguage}}">
3
4  <title type="html">{{tpl:BlogName encode_xml="1"}}{{tpl:SysFeedSubtitle encode_xml="1"}}
5  - {{tpl:lang Comments}}</title>
6  <subtitle type="html">{{tpl:BlogDescription encode_xml="1"}}</subtitle>
7  <link href="{{tpl:SysSelfURI}}" rel="self" type="application/atom+xml"/>
8  <link href="{{tpl:BlogURL}}" rel="alternate" type="text/html"
9  title="{{tpl:BlogDescription remove_html="1" encode_xml="1"}}"/>
10  <updated>{{tpl:BlogUpdateDate iso8601="1"}}</updated>
11  <author>
12    <name>{{tpl:BlogEditor encode_xml="1"}}</name>
13  </author>
14  <id>{{tpl:BlogFeedID}}</id>
15  <generator uri="http://www.dotclear.org/">Dotclear</generator>
16
17  <tpl:Comments order="desc" with_pings="1">
18
19  <tpl:CommentIf is_ping="1">
20  <entry>
21    <title>[ping] {{tpl:PingEntryTitle encode_xml="1"}} - {{tpl:PingBlogName encode_xml="1"}}</title>
22    <link href="{{tpl:PingPostURL encode_xml="1"}}#c{{tpl:PingID}}" rel="alternate" type="text/html"
23    title="[ping] {{tpl:PingEntryTitle encode_xml="1"}} - {{tpl:PingBlogName encode_xml="1"}}" />
24    <id>{{tpl:PingFeedID}}</id>
25    <published>{{tpl:PingDate iso8601="1"}}</published>
26    <updated>{{tpl:PingDate iso8601="1" upddt="1"}}</updated>
27    <author><name>{{tpl:PingBlogName encode_xml="1"}}</name></author>
28    <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>
29  </entry>
30
31  </tpl:CommentIf>
32
33  <tpl:CommentIf is_ping="0">
34  <entry>
35    <title>{{tpl:CommentEntryTitle encode_xml="1"}} - {{tpl:CommentAuthor encode_xml="1"}}</title>
36    <link href="{{tpl:CommentPostURL encode_xml="1"}}#c{{tpl:CommentID}}" rel="alternate" type="text/html"
37    title="{{tpl:CommentEntryTitle encode_xml="1"}} - {{tpl:CommentAuthor encode_xml="1"}}" />
38    <id>{{tpl:CommentFeedID}}</id>
39    <published>{{tpl:CommentDate iso8601="1"}}</published>
40    <updated>{{tpl:CommentDate iso8601="1" upddt="1"}}</updated>
41    <author><name>{{tpl:CommentAuthor encode_xml="1"}}</name></author>
42    <content type="html">{{tpl:CommentContent absolute_urls="1" encode_xml="1"}}</content>
43  </entry>
44  </tpl:CommentIf>
45  </tpl:Comments>
46
47</feed>
Note: See TracBrowser for help on using the repository browser.

Sites map