X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finsert%2Fsone.xml;h=9ba037f335b971714e591c252b05b83bacbf4f4b;hb=f4ea1e1b3526175e255831c975d6eea813589f25;hp=66032d5f25b5a5d36e4aca30d3c67f2e9d1ee0dc;hpb=c8f518f638aa16cf37145561b709d28252de213a;p=Sone.git diff --git a/src/main/resources/templates/insert/sone.xml b/src/main/resources/templates/insert/sone.xml index 66032d5..9ba037f 100644 --- a/src/main/resources/templates/insert/sone.xml +++ b/src/main/resources/templates/insert/sone.xml @@ -1,20 +1,36 @@ - <% currentSone.id> - <% currentSone.name|xml> + 0 + + + Sone + <% version|xml> + <% currentSone.profile.firstName|xml> <% currentSone.profile.middleName|xml> <% currentSone.profile.lastName|xml> + <% currentSone.profile.birthDay|xml> + <% currentSone.profile.birthMonth|xml> + <% currentSone.profile.birthYear|xml> + + <%foreach currentSone.profile.fields field> + + <% field.key|xml> + <% field.value|xml> + + <%/foreach> + <%foreach currentSone.posts post> <% post.id|xml> + <%ifnull !post.recipient><% post.recipient.id|xml><%/if> <% post.text|xml> @@ -38,14 +54,10 @@ <%/foreach> - - <%foreach knownSones sone> - - <% sone.id|xml> - <% sone.requestUri|xml> - <% sone.name|xml> - + + <%foreach currentSone.likedReplyIds replyId> + <% replyId|xml> <%/foreach> - +