From 714e31509e204d368a59211a6ab04756d62a2b31 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 21 Oct 2010 20:16:33 +0200 Subject: [PATCH] Store posts, replies, and friends in backup. --- src/main/resources/templates/backup.xml | 37 +++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) 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> + + -- 2.7.4