projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use unique IDs for images
[Sone.git]
/
src
/
main
/
resources
/
templates
/
insert
/
sone.xml
diff --git
a/src/main/resources/templates/insert/sone.xml
b/src/main/resources/templates/insert/sone.xml
index
c7e6eff
..
10e57eb
100644
(file)
--- a/
src/main/resources/templates/insert/sone.xml
+++ b/
src/main/resources/templates/insert/sone.xml
@@
-42,7
+42,7
@@
<%foreach currentSone.replies reply>
<reply>
<id><% reply.id></id>
<%foreach currentSone.replies reply>
<reply>
<id><% reply.id></id>
- <post-id><% reply.postId
.get
|xml></post-id>
+ <post-id><% reply.postId|xml></post-id>
<time><% reply.time></time>
<text><% reply.text|xml></text>
</reply>
<time><% reply.time></time>
<text><% reply.text|xml></text>
</reply>
@@
-66,19
+66,19
@@
<albums>
<%/first>
<album>
<albums>
<%/first>
<album>
- <id><%album.id|xml></id>
- <%if
null !album.paren
t>
- <parent><%album.parent.id|xml></parent>
+ <id><%album.i
nternalI
d|xml></id>
+ <%if
!album.parent.roo
t>
+ <parent><%album.parent.i
nternalI
d|xml></parent>
<%/if>
<title><%album.title|xml></title>
<description><%album.description|xml></description>
<%/if>
<title><%album.title|xml></title>
<description><%album.description|xml></description>
- <album-image><%album.albumImage.id|xml></album-image>
+ <album-image><%album.albumImage.i
nternalI
d|xml></album-image>
<%foreach album.images image>
<%first>
<images>
<%/first>
<image>
<%foreach album.images image>
<%first>
<images>
<%/first>
<image>
- <id><%image.id|xml></id>
+ <id><%image.i
nternalI
d|xml></id>
<creation-time><%image.creationTime|xml></creation-time>
<key><%image.key|xml></key>
<title><%image.title|xml></title>
<creation-time><%image.creationTime|xml></creation-time>
<key><%image.key|xml></key>
<title><%image.title|xml></title>