<birth-day><% currentSone.profile.birthDay|xml></birth-day>
<birth-month><% currentSone.profile.birthMonth|xml></birth-month>
<birth-year><% currentSone.profile.birthYear|xml></birth-year>
+ <avatar><%currentSone.profile.avatar|xml></avatar>
<fields>
<%foreach currentSone.profile.fields field>
<field>
<%foreach currentSone.posts post>
<post>
<id><% post.id|xml></id>
- <recipient><%ifnull !post.recipient><% post.recipient.id|xml><%/if></recipient>
+ <recipient><%if post.recipientId.present><% post.recipientId.get|xml><%/if></recipient>
<time><% post.time></time>
<text><% post.text|xml></text>
</post>
<%foreach currentSone.replies reply>
<reply>
<id><% reply.id></id>
- <post-id><% reply.post.id|xml></post-id>
+ <post-id><% reply.postId|xml></post-id>
<time><% reply.time></time>
<text><% reply.text|xml></text>
</reply>
<%/first>
<album>
<id><%album.id|xml></id>
- <%ifnull !album.parent>
+ <%if !album.parent.root>
<parent><%album.parent.id|xml></parent>
<%/if>
<title><%album.title|xml></title>
<description><%album.description|xml></description>
+ <!-- album-image is ignored, a random image is shown as album image. -->
<album-image><%album.albumImage.id|xml></album-image>
<%foreach album.images image>
<%first>