<sone>
<time><% currentSone.time></time>
+ <protocol-version>0</protocol-version>
+
+ <client>
+ <name>Sone</name>
+ <version><% version|xml></version>
+ </client>
<profile>
<first-name><% currentSone.profile.firstName|xml></first-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>
+ <fields>
+ <%foreach currentSone.profile.fields field>
+ <field>
+ <field-name><% field.name|xml></field-name>
+ <field-value><% field.value|xml></field-value>
+ </field>
+ <%/foreach>
+ </fields>
</profile>
<posts>
<%foreach currentSone.posts post>
<post>
<id><% post.id|xml></id>
+ <recipient><%ifnull !post.recipient><% post.recipient.id|xml><%/if></recipient>
<time><% post.time></time>
<text><% post.text|xml></text>
</post>