X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finsert%2Fsone.xml;h=8d9aafd46b466d77c168524b8f8a8bbb45148870;hb=0df5e91852f737d760c5a9f54c5667309fbadcc2;hp=c80dbe71df79a76ee29c599244df59b8e016d81f;hpb=9ceea683ab66b047fc4ded3ee6f92b33ceea3968;p=Sone.git diff --git a/src/main/resources/templates/insert/sone.xml b/src/main/resources/templates/insert/sone.xml index c80dbe7..8d9aafd 100644 --- a/src/main/resources/templates/insert/sone.xml +++ b/src/main/resources/templates/insert/sone.xml @@ -1,9 +1,13 @@ - <% currentSone.id> - <% currentSone.name|xml> + 0 + + + Sone + <% version|xml> + <% currentSone.profile.firstName|xml> @@ -12,12 +16,21 @@ <% 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> @@ -47,4 +60,38 @@ <%/foreach> + <%foreach currentSone.albums album> + <%first> + + <%/first> + + <%album.id|xml> + <%ifnull !album.parent> + <%album.parent.id|xml> + <%/if> + <%album.title|xml> + <%album.description|xml> + <%foreach album.images image> + <%first> + + <%/first> + + <%image.id|xml> + <%image.creationTime|xml> + <%image.key|xml> + <%image.title|xml> + <%image.description|xml> + <%image.width|xml> + <%image.height|xml> + + <%last> + + <%/last> + <%/foreach> + + <%last> + + <%/last> + <%/foreach> +