Backup post and reply likes.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 25 Oct 2010 19:53:11 +0000 (21:53 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 25 Oct 2010 19:53:11 +0000 (21:53 +0200)
src/main/resources/templates/backup.xml

index d7db058..1278404 100644 (file)
                <%/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>