Store all posts in the Sone.
[Sone.git] / src / main / resources / templates / insert / sone.xml
index 0bb35b0..b6668d6 100644 (file)
@@ -3,4 +3,19 @@
 
        <name><% currentSone.name|html></name>
 
+       <profile>
+               <first-name><% currentSone.profile.firstName|html></first-name>
+               <middle-name><% currentSone.profile.middleName|html></middle-name>
+               <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>