Commit 35d51ac8 authored by Matija Obreza's avatar Matija Obreza
Browse files

Included atom:published in feed

parent 9a67a26e
......@@ -24,12 +24,10 @@
<title><c:out value="${jspHelper.htmlToText(news.title)}" /></title>
<link href="<c:url value="${props.baseUrl}/content/news/${news.id}/${jspHelper.suggestUrlForText(news.title)}" />" />
<id><c:url value="${props.baseUrl}/content/news/${news.id}/#id" /></id>
<%-- <updated>2003-12-13T18:30:02Z</updated> --%>
<published><fmt:formatDate value="${news.postDate.time}" pattern="yyyy-MM-dd'T'HH:mm:ss'Z'" /></published>
<updated><fmt:formatDate value="${news.lastModifiedDate == null ? news.createdDate : news.lastModifiedDate}" pattern="yyyy-MM-dd'T'HH:mm:ss'Z'" /></updated>
<%-- <summary><c:out value="${jspHelper.htmlToText(news.body, 400)}" /></summary> --%>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<c:out value="${news.body}" escapeXml="false" />
......@@ -50,5 +48,6 @@
</author>
</entry>
</c:forEach> </feed>
</c:forEach>
</feed>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment