aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www/src/main')
-rw-r--r--juick-www/src/main/resources/layouts/rss.xml42
1 files changed, 21 insertions, 21 deletions
diff --git a/juick-www/src/main/resources/layouts/rss.xml b/juick-www/src/main/resources/layouts/rss.xml
index 12f7375b..23866c8a 100644
--- a/juick-www/src/main/resources/layouts/rss.xml
+++ b/juick-www/src/main/resources/layouts/rss.xml
@@ -2,37 +2,37 @@
<rss version='2.0' xmlns:atom='http://www.w3.org/2005/Atom' xmlns:media='http://search.yahoo.com/mrss/'
xmlns:juick='http://juick.com/'>
<channel>
- <atom:link href='http://rss.juick.com/{{ user.getUName() }}/blog' rel='self' type='application/rss+xml'/>
- <title>{{ user.getUName() }} - Juick</title>
- <link>http://juick.com/{{ user.getUName() }}/</link>
- <description>The latest messages by @{{ user.getUName() }} at Juick</description>
+ <atom:link href='http://rss.juick.com/{{ user.getName() }}/blog' rel='self' type='application/rss+xml'/>
+ <title>{{ user.getName() }} - Juick</title>
+ <link>http://juick.com/{{ user.getName() }}/</link>
+ <description>The latest messages by @{{ user.getName() }} at Juick</description>
<image>
- <url>http://i.juick.com/a/{{ user.getUID() }}.png</url>
- <title>{{ user.getUName() }} - Juick</title>
- <link>http://juick.com/{{ user.getUName() }}/</link>
+ <url>http://i.juick.com/a/{{ user.getUid() }}.png</url>
+ <title>{{ user.getName() }} - Juick</title>
+ <link>http://juick.com/{{ user.getName() }}/</link>
</image>
{% for msg in msgs %}
<item>
- <link>http://juick.com/{{ msg.getUser().getUName() }}/{{ msg.getMID() }}</link>
- <guid>http://juick.com/{{ msg.getUser().getUName() }}/{{ msg.getMID() }}</guid>
- <title><![CDATA[@{{ msg.getUser().getUName() }}: {% for tag in msg.tags %} *{{ tag }}{% endfor %}]]></title>
+ <link>http://juick.com/{{ msg.getUser().getName() }}/{{ msg.getMid() }}</link>
+ <guid>http://juick.com/{{ msg.getUser().getName() }}/{{ msg.getMid() }}</guid>
+ <title><![CDATA[@{{ msg.getUser().getName() }}: {% for tag in msg.getTags() %} *{{ tag }}{% endfor %}]]></title>
<description><![CDATA[{{ msg.getText() | raw }}]]></description>
<pubDate>{{ sdfRSS.format(msg.getDate()) }}</pubDate>
- <comments>http://juick.com/{{ msg.getUser().getUName() }}/{{ msg.getMID() }}</comments>
- {% for tag in msg.tags %}
+ <comments>http://juick.com/{{ msg.getUser().getName() }}/{{ msg.getMid() }}</comments>
+ {% for tag in msg.getTags() %}
<category>{{ tag }}</category>
{% endfor %}
- {% if msg.AttachmentType is not empty %}
- {% if msg.AttachmentType == "jpg" %}
- <media:content url='http://i.juick.com/photos-1024/{{ msg.getMID() }}.jpg' type='image/jpeg'/>
- <media:thumbnail url='http://i.juick.com/ps/{{ msg.getMID() }}.jpg'/>
- {% elseif msg.AttachmentType == "png" %}
- <media:content url='http://i.juick.com/photos-1024/{{ msg.getMID() }}.png' type='image/png'/>
- <media:thumbnail url='http://i.juick.com/ps/{{ msg.getMID() }}.png'/>
+ {% if msg.getAttachmentType() is not empty %}
+ {% if msg.getAttachmentType() == "jpg" %}
+ <media:content url='http://i.juick.com/photos-1024/{{ msg.getMid() }}.jpg' type='image/jpeg'/>
+ <media:thumbnail url='http://i.juick.com/ps/{{ msg.getMid() }}.jpg'/>
+ {% elseif msg.getAttachmentType() == "png" %}
+ <media:content url='http://i.juick.com/photos-1024/{{ msg.getMid() }}.png' type='image/png'/>
+ <media:thumbnail url='http://i.juick.com/ps/{{ msg.getMid() }}.png'/>
{% endif %}
{% endif %}
- <juick:user uid='{{ msg.getUser().getUID() }}'/>
+ <juick:user uid='{{ msg.getUser().getUid() }}'/>
</item>
{% endfor %}
</channel>
-</rss> \ No newline at end of file
+</rss>