From: David ‘Bombe’ Roden Date: Thu, 21 Oct 2010 18:16:33 +0000 (+0200) Subject: Store posts, replies, and friends in backup. X-Git-Tag: 0.1-RC1~106 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=714e31509e204d368a59211a6ab04756d62a2b31;p=Sone.git Store posts, replies, and friends in backup. --- diff --git a/src/main/resources/templates/backup.xml b/src/main/resources/templates/backup.xml index 7ad2cc3..98569ff 100644 --- a/src/main/resources/templates/backup.xml +++ b/src/main/resources/templates/backup.xml @@ -5,4 +5,41 @@ <% currentSone.requestUri|xml> <% currentSone.insertUri|xml> + + <% currentSone.profile.firstName|xml> + <% currentSone.profile.middleName|xml> + <% currentSone.profile.lastName|xml> + + + + <%foreach currentSone.posts post> + + <% post.id|xml> + + <% post.text|xml> + + <%/foreach> + + + + <%foreach currentSone.replies reply> + + <% reply.id> + <% reply.post.id|xml> + + <% reply.text|xml> + + <%/foreach> + + + + <%foreach currentSone.friends friend> + + <% friend.id|xml> + <% friend.requestUri|xml> + <% friend.name|xml> + + <%/foreach> + +