Use a unique ID for posts
[Sone.git] / src / main / resources / templates / insert / sone.xml
index 747ad51..2dd9499 100644 (file)
@@ -30,7 +30,7 @@
        <posts>
                <%foreach currentSone.posts post>
                <post>
-                       <id><% post.id|xml></id>
+                       <id><% post.internalId|xml></id>
                        <recipient><%if post.recipientId.present><% post.recipientId.get|xml><%/if></recipient>
                        <time><% post.time></time>
                        <text><% post.text|xml></text>
                        <%/if>
                        <title><%album.title|xml></title>
                        <description><%album.description|xml></description>
-                       <album-image><%album.albumImage.id|xml></album-image>
+                       <album-image><%album.albumImage.internalId|xml></album-image>
                        <%foreach album.images image>
                        <%first>
                        <images>
                                <%/first>
                                <image>
-                                       <id><%image.id|xml></id>
+                                       <id><%image.internalId|xml></id>
                                        <creation-time><%image.creationTime|xml></creation-time>
                                        <key><%image.key|xml></key>
                                        <title><%image.title|xml></title>