Add friends to Sone.
[Sone.git] / src / main / resources / templates / insert / sone.xml
index 948b29f..53ffabd 100644 (file)
@@ -25,6 +25,8 @@
                <reply>
                        <id><% reply.id></id>
                        <sone-id><% reply.post.sone.requestUri|html></sone-id>
+                       <sone-key><% reply.post.sone.requestUri|html></sone-key>
+                       <sone-name><% reply.post.sone.niceName|html></sone-name>
                        <post-id><% reply.post.id></post-id>
                        <time><% reply.time></time>
                        <text><% reply.text></text>
                <%/foreach>
        </replies>
 
+       <friends>
+               <%foreach currentSone.friends friend>
+               <friend>
+                       <sone-id><% friend.id|html></sone-id>
+                       <sone-key><% friend.requestUri|html></sone-key>
+                       <sone-name><% friend.niceName|html></sone-name>
+               </friend>
+               <%/foreach>
+       </friends>
+
 </sone>