projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove blocking, blacklisting, and distribution of known Sones.
[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
2469e49
..
c80dbe7
100644
(file)
--- a/
src/main/resources/templates/insert/sone.xml
+++ b/
src/main/resources/templates/insert/sone.xml
@@
-9,6
+9,9
@@
<first-name><% currentSone.profile.firstName|xml></first-name>
<middle-name><% currentSone.profile.middleName|xml></middle-name>
<last-name><% currentSone.profile.lastName|xml></last-name>
<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>
@@
-32,24
+35,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>
- </
friend
s>
+ </
post-like
s>
- <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>
+ <reply-likes>
+ <%foreach currentSone.likedReplyIds replyId>
+ <reply-like><% replyId|xml></reply-like>
<%/foreach>
<%/foreach>
- </
known-son
es>
+ </
reply-lik
es>
</sone>
</sone>