Too many changes to list them all.
[Sone.git] / src / main / resources / templates / backup.xml
index 98569ff..5591e7c 100644 (file)
@@ -1,14 +1,18 @@
 <?xml version="1.0" encoding="utf-8" ?>
 <sone>
 
-       <name><% currentSone.name|xml></name>
-       <requestUri><% currentSone.requestUri|xml></requestUri>
-       <insertUri><% currentSone.insertUri|xml></insertUri>
+       <id><% currentSone.id|xml></id>
+       <time><% currentSone.time|xml></time>
+       <request-uri><% currentSone.requestUri|xml></request-uri>
+       <insert-uri><% currentSone.insertUri|xml></insert-uri>
 
        <profile>
                <first-name><% currentSone.profile.firstName|xml></first-name>
                <middle-name><% currentSone.profile.middleName|xml></middle-name>
                <last-name><% currentSone.profile.lastName|xml></last-name>
+               <birth-day><% currentSone.profile.birthDay|xml></birth-day>
+               <birth-month><% currentSone.profile.birthMonth|xml></birth-month>
+               <birth-year><% currentSone.profile.birthYear|xml></birth-year>
        </profile>
 
        <posts>
                <%/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>