<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://purl.org/atom/ns#" version="0.3">
 <link rel="alternate" type="text/html" href="{$url->blogLink()}" />
 <title>{$blog->getBlog()}</title>
 <link rel="service.post" href="{$url->servicePostUrl()}" title="{$blog->getBlog()}" type="application/x.atom+xml" />
 {foreach from=$articles item=article}
 <entry>
  <id>{$url->getAtomUniqueId($article)}</id>
  {assign var=author value=$article->getUserInfo()}
  <author>
   <name>{$author->getUsername()}</name>
   <url>{$url->blogLink()}</url>
  </author>
  <link rel="alternate" type="text/html" href="{$url->postPermalink($article)}" />
  <link rel="service.edit" href="{$url->atomPostEditUrl($article)}" title="{$article->getTopic()}" type="application/x.atom+xml" />
  <title>{$article->getTopic()}</title>
  <content mode="xml" type="application/xhtm+xml">{$article->getText()}</content>
 {assign var=articleDate value=$article->getDateObject()}
 <issued>{$articleDate->getW3Date()}</issued>
 <created>{$articleDate->getW3Date()}</created>
 <modified>{$articleDate->getW3Date()}</modified>  
 </entry>
 {/foreach}
 {assign var=lastModification value=$articles[0]->getDateObject()}
 <modified>{$lastModification->getW3Date()}</modified>
</feed> 