projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set fixed ID for the startup notification.
[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
704c415
..
d6dd643
100644
(file)
--- a/
src/main/resources/templates/insert/sone.xml
+++ b/
src/main/resources/templates/insert/sone.xml
@@
-1,13
+1,20
@@
<?xml version="1.0" encoding="utf-8" ?>
<sone>
<?xml version="1.0" encoding="utf-8" ?>
<sone>
- <id><% currentSone.id></id>
- <name><% currentSone.name|xml></name>
+ <time><% currentSone.time></time>
+
+ <client>
+ <name>Sone</name>
+ <version><% version|xml></version>
+ </client>
<profile>
<first-name><% currentSone.profile.firstName|xml></first-name>
<middle-name><% currentSone.profile.middleName|xml></middle-name>
<last-name><% currentSone.profile.lastName|xml></last-name>
<profile>
<first-name><% currentSone.profile.firstName|xml></first-name>
<middle-name><% currentSone.profile.middleName|xml></middle-name>
<last-name><% currentSone.profile.lastName|xml></last-name>
+ <birth-day><% currentSone.profile.birthDay|xml></birth-day>
+ <birth-month><% currentSone.profile.birthMonth|xml></birth-month>
+ <birth-year><% currentSone.profile.birthYear|xml></birth-year>
</profile>
<posts>
</profile>
<posts>
@@
-31,24
+38,16
@@
<%/foreach>
</replies>
<%/foreach>
</replies>
- <friends>
- <%foreach currentSone.friends friend>
- <friend>
- <sone-id><% friend.id|xml></sone-id>
- <sone-key><% friend.requestUri|xml></sone-key>
- <sone-name><% friend.name|xml></sone-name>
- </friend>
+ <post-likes>
+ <%foreach currentSone.likedPostIds postId>
+ <post-like><% postId|xml></post-like>
<%/foreach>
<%/foreach>
- </friends>
-
- <known-sones>
- <%foreach knownSones sone>
- <known-sone>
- <sone-id><% sone.id|xml></sone-id>
- <sone-key><% sone.requestUri|xml></sone-key>
- <sone-name><% sone.name|xml></sone-name>
- </known-sone>
+ </post-likes>
+
+ <reply-likes>
+ <%foreach currentSone.likedReplyIds replyId>
+ <reply-like><% replyId|xml></reply-like>
<%/foreach>
<%/foreach>
- </
known-son
es>
+ </
reply-lik
es>
</sone>
</sone>