X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finsert%2Fsone.xml;h=e25cac924a79b44416553ebe4f110a41f5e83a95;hb=be545f41a8fcaf98c63920fd38770ded27e875b3;hp=2469e4943220417683c15341fce40645a32592ad;hpb=08f0784ec6247da055b3d07835aa089333de0bcb;p=Sone.git diff --git a/src/main/resources/templates/insert/sone.xml b/src/main/resources/templates/insert/sone.xml index 2469e49..e25cac9 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.name|xml> + <% field.value|xml> + + <%/foreach> + <%foreach currentSone.posts post> <% post.id|xml> + <%ifnull !post.recipient><% post.recipient.id|xml><%/if> <% post.text|xml> @@ -32,24 +48,16 @@ <%/foreach> - - <%foreach currentSone.friends friend> - - <% friend.id|xml> - <% friend.requestUri|xml> - <% friend.name|xml> - + + <%foreach currentSone.likedPostIds postId> + <% postId|xml> <%/foreach> - - - - <%foreach knownSones sone> - - <% sone.id|xml> - <% sone.requestUri|xml> - <% sone.name|xml> - + + + + <%foreach currentSone.likedReplyIds replyId> + <% replyId|xml> <%/foreach> - +