From d9379351e992704c7b93ed0b74d2e1c60e166538 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 15 Sep 2016 01:51:30 +0300 Subject: juick-www: signup/rss -> pebble --- juick-www/src/main/resources/layouts/rss.xml | 38 ++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 juick-www/src/main/resources/layouts/rss.xml (limited to 'juick-www/src/main/resources/layouts') diff --git a/juick-www/src/main/resources/layouts/rss.xml b/juick-www/src/main/resources/layouts/rss.xml new file mode 100644 index 00000000..61dd3be8 --- /dev/null +++ b/juick-www/src/main/resources/layouts/rss.xml @@ -0,0 +1,38 @@ + + + + + {{ user.getUName() }} - Juick + http://juick.com/{{ user.getUName() }}/ + The latest messages by @{{ user.getUName() }} at Juick + + http://i.juick.com/a/{{ user.getUID() }}.png + {{ user.getUName() }} - Juick + http://juick.com/{{ user.getUName() }}/ + + {% for msg in msgs %} + + http://juick.com/{{ msg.getUser().getUName() }}/{{ msg.getMID() }} + http://juick.com/{{ msg.getUser().getUName() }}/{{ msg.getMID() }} + <![CDATA[@{{ msg.getUser().getUName() }}: {% for tag in msg.Tags %} *{{ tag }}{% endfor %}]]> + + {{ sdfRSS.format(msg.getDate()) }} + http://juick.com/{{ msg.getUser().getUName() }}/{{ msg.getMID() }} + {% for tag in msg.Tags %} + {{ tag }} + {% endfor %} + {% if msg.AttachmentType is not empty %} + {% if msg.AttachmentType == "jpg" %} + + + {% elseif msg.AttachmentType == "png" %} + + + {% endif %} + {% endif %} + + + {% endfor %} + + \ No newline at end of file -- cgit v1.2.3