Store all posts in the Sone.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 14 Oct 2010 09:20:35 +0000 (11:20 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 14 Oct 2010 09:20:35 +0000 (11:20 +0200)
src/main/resources/templates/insert/sone.xml

index 5f72f18..b6668d6 100644 (file)
@@ -9,4 +9,13 @@
                <last-name><% currentSone.profile.lastName|html></last-name>
        </profile>
 
+       <posts>
+               <%foreach posts post>
+                       <post>
+                               <time><% post.time></time>
+                               <text><% post.text|html></text>
+                       </post>
+               <%/foreach>
+       </posts>
+
 </sone>