Add friends to Sone.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 14 Oct 2010 16:11:00 +0000 (18:11 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 14 Oct 2010 16:11:00 +0000 (18:11 +0200)
src/main/resources/templates/insert/sone.xml

index 83969fa..53ffabd 100644 (file)
                <%/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>