Add a Sone’s replies.
[Sone.git] / 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>