X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finsert%2Fsone.xml;h=2dd9499aa4b727f4c084275908ee9e91539a5473;hb=d72167e26461a77ad3b916cabf44df416ebb2a72;hp=511cbf2383275351ebacef6abb4eea33f0f44cd8;hpb=b75331ce64e008c578634b65f690defc8dd0c6a6;p=Sone.git diff --git a/src/main/resources/templates/insert/sone.xml b/src/main/resources/templates/insert/sone.xml index 511cbf2..2dd9499 100644 --- a/src/main/resources/templates/insert/sone.xml +++ b/src/main/resources/templates/insert/sone.xml @@ -30,7 +30,7 @@ <%foreach currentSone.posts post> - <% post.id|xml> + <% post.internalId|xml> <%if post.recipientId.present><% post.recipientId.get|xml><%/if> <% post.text|xml> @@ -66,19 +66,19 @@ <%/first> - <%album.id|xml> - <%ifnull !album.parent> - <%album.parent.id|xml> + <%album.internalId|xml> + <%if !album.parent.root> + <%album.parent.internalId|xml> <%/if> <%album.title|xml> <%album.description|xml> - <%album.albumImage.id|xml> + <%album.albumImage.internalId|xml> <%foreach album.images image> <%first> <%/first> - <%image.id|xml> + <%image.internalId|xml> <%image.creationTime|xml> <%image.key|xml> <%image.title|xml>