<?xml version="<{$rss.xml_version}>" encoding="<{$rss.xml_encoding}>"?>
<rss version="<{$rss.rss_version}>">
  <channel>
    <title><{$rss.channel_title}></title>
    <link><{$rss.channel_link}></link>
    <description><{$rss.channel_desc}></description>
    <lastBuildDate><{$rss.channel_lastbuild}></lastBuildDate>
    <docs>http://backend.userland.com/rss/</docs>
    <generator><{$rss.channel_generator}></generator>
    <category><{$rss.channel_category}></category>
    <managingEditor><{$rss.channel_editor}></managingEditor>
    <webMaster><{$rss.channel_webmaster}></webMaster>
    <language><{$rss.channel_language}></language>
    <{if $rss.image_url != ""}>
    <image>
      <title><{$rss.image_title}></title>
      <url><{$rss.image_url}></url>
      <link><{$rss.image_link}></link>
      <width><{$rss.image_width}></width>
      <height><{$rss.image_height}></height>
    </image>
    <{/if}>
    <{foreach item=item from=$rss.items}>
    <item>
      <title><{$item.title}></title>
      <link><{$item.link}></link>
      <description><{$item.description}></description>
      <pubDate><{$item.pubdate}></pubDate>
      <guid><{$item.guid}></guid>
    </item>
    <{/foreach}>
  </channel>
</rss>