Backup ID and last modification time of Sone, too.
[Sone.git] / src / main / resources / templates / backup.xml
index d7db058..d844fbb 100644 (file)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="utf-8" ?>
 <sone>
 
+       <id><% currentSone.id|xml></id>
        <name><% currentSone.name|xml></name>
+       <time><% currentSone.time|xml></time>
        <requestUri><% currentSone.requestUri|xml></requestUri>
        <insertUri><% currentSone.insertUri|xml></insertUri>
 
                <%/foreach>
        </replies>
 
+       <post-likes>
+               <%foreach currentSone.likedPostIds postId>
+               <post-like><% postId|xml></post-like>
+               <%/foreach>
+       </post-likes>
+
+       <reply-likes>
+               <%foreach currentSone.likedReplyIds replyId>
+               <reply-like><% replyId|xml></reply-like>
+               <%/foreach>
+       </reply-likes>
+
        <friends>
                <%foreach currentSone.friends friend>
                <friend>