X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finsert%2Fsone.xml;h=1f12d9076750b6432b4691a6d9901e2dfc972980;hb=0157d6ead52bd7c3052b368bed7026075be7cb33;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..1f12d90 100644 --- a/src/main/resources/templates/insert/sone.xml +++ b/src/main/resources/templates/insert/sone.xml @@ -1,20 +1,28 @@ - <% 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.posts post> <% post.id|xml> + <%ifnull !post.recipient><% post.recipient.id|xml><%/if> <% post.text|xml> @@ -32,24 +40,22 @@ <%/foreach> - - <%foreach currentSone.friends friend> - - <% friend.id|xml> - <% friend.requestUri|xml> - <% friend.name|xml> - + + <%foreach currentSone.likedPostIds postId> + <% postId|xml> + <%/foreach> + + + + <%foreach currentSone.likedReplyIds replyId> + <% replyId|xml> <%/foreach> - - - - <%foreach knownSones sone> - - <% sone.id|xml> - <% sone.requestUri|xml> - <% sone.name|xml> - + + + + <%foreach currentSone.albums album> + <%include insert/include/album.xml> <%/foreach> - +