]> gitweb.factorcode.org Git - factor.git/blob - extra/webapps/blogs/user-posts.xml
95fae23b34ff945852d42ec4b11db9ea9b36a5ad
[factor.git] / extra / webapps / blogs / user-posts.xml
1 <?xml version='1.0' ?>
2
3 <t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
4
5         <t:atom t:href="$blogs/by" t:query="author">
6                 Recent Posts by <t:label t:name="author" />
7         </t:atom>
8
9         <t:title>
10                 Recent Posts by <t:label t:name="author" />
11         </t:title>
12
13         <t:bind-each t:name="posts">
14
15                 <h2 class="post-title">
16                         <t:a t:href="$blogs/post" t:query="id">
17                                 <t:label t:name="title" />
18                         </t:a>
19                 </h2>
20
21                 <p class="posting-body">
22                         <t:farkup t:name="content" />
23                 </p>
24
25                 <div class="posting-footer">
26                         Post by
27                         <t:a t:href="$blogs/by" t:query="author">
28                                 <t:label t:name="author" />
29                         </t:a>
30                         on
31                         <t:label t:name="date" />
32                         |
33                         <t:a t:href="$blogs/post" t:query="id">
34                                 <t:label t:name="comments" />
35                                 comments.
36                         </t:a>
37                 </div>
38
39         </t:bind-each>
40
41 </t:chloe>