X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finsert%2Fsone.xml;h=704c41520cb853403a29d37bdecc6400e38ecf59;hb=4c936ca25544b5715870dbe74f66e6b5da97f070;hp=681844541a98253b880dc3a71a43672042822203;hpb=18b5bf2c293ab16c99fc892b26315111ef8bf1a8;p=Sone.git diff --git a/src/main/resources/templates/insert/sone.xml b/src/main/resources/templates/insert/sone.xml index 6818445..704c415 100644 --- a/src/main/resources/templates/insert/sone.xml +++ b/src/main/resources/templates/insert/sone.xml @@ -2,21 +2,53 @@ <% currentSone.id> - <% currentSone.name|html> + <% currentSone.name|xml> - <% currentSone.profile.firstName|html> - <% currentSone.profile.middleName|html> - <% currentSone.profile.lastName|html> + <% currentSone.profile.firstName|xml> + <% currentSone.profile.middleName|xml> + <% currentSone.profile.lastName|xml> <%foreach currentSone.posts post> - - - <% post.text|html> - + + <% post.id|xml> + + <% post.text|xml> + <%/foreach> + + <%foreach currentSone.replies reply> + + <% reply.id> + <% reply.post.id|xml> + + <% reply.text|xml> + + <%/foreach> + + + + <%foreach currentSone.friends friend> + + <% friend.id|xml> + <% friend.requestUri|xml> + <% friend.name|xml> + + <%/foreach> + + + + <%foreach knownSones sone> + + <% sone.id|xml> + <% sone.requestUri|xml> + <% sone.name|xml> + + <%/foreach> + +