projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change album ID to be unique, add internal ID
[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
..
747ad51
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,9
+66,9
@@
<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>