X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finsert%2Fsone.xml;h=2469e4943220417683c15341fce40645a32592ad;hb=5176fec23f420e0ebfe3c94d2b40afcb43d29841;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..2469e49 100644 --- a/src/main/resources/templates/insert/sone.xml +++ b/src/main/resources/templates/insert/sone.xml @@ -2,21 +2,54 @@ <% 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> + +