Add a Sone’s replies.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 14 Oct 2010 10:22:23 +0000 (12:22 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 14 Oct 2010 10:22:23 +0000 (12:22 +0200)
src/main/resources/templates/insert/sone.xml

index a0fc281..948b29f 100644 (file)
                <%/foreach>
        </posts>
 
+       <replies>
+               <%foreach currentSone.replies reply>
+               <reply>
+                       <id><% reply.id></id>
+                       <sone-id><% reply.post.sone.requestUri|html></sone-id>
+                       <post-id><% reply.post.id></post-id>
+                       <time><% reply.time></time>
+                       <text><% reply.text></text>
+               </reply>
+               <%/foreach>
+       </replies>
+
 </sone>