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