<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
  xmlns:admin="http://webns.net/mvcb/"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">

  <channel>
    <title>{$title|escape:'html':'UTF-8'|regex_replace:'/[\r\t\n]/':''|regex_replace:'/[ ]+/':' '}</title>
    <link>{$baseurl}?cage=simpleblog&amp;act=rss</link>
    <description>{$description|escape:'html':'UTF-8'|regex_replace:'/[\r\t\n]/':''|regex_replace:'/[ ]+/':' '}</description>
    <dc:language>ja</dc:language>
    <dc:date>{$rss_update_date}</dc:date>

  {section name=items_detail loop=$arr_items max=10}
    <item>
      <guid isPermaLink="true">{$baseurl}?cage=simpleblog&amp;act=blogcomment&amp;blogid={$arr_items[$smarty.section.items_detail.index].blog_id}</guid>
      <title>{$arr_items[$smarty.section.items_detail.index].blog_title|escape:'html':'UTF-8'|regex_replace:'/[\r\t\n]/':''|regex_replace:'/[ ]+/':' '}</title>
      <link>{$baseurl}?cage=simpleblog&amp;act=blogcomment&amp;blogid={$arr_items[$smarty.section.items_detail.index].blog_id}</link>
      <description>{$arr_items[$smarty.section.items_detail.index].blog_body|escape:'html':'UTF-8'|regex_replace:'/[\r\t\n]/':''|regex_replace:'/[ ]+/':' '}</description>
      <dc:creator>{$arr_items[$smarty.section.items_detail.index].user_name|escape:'html':'UTF-8'|regex_replace:'/[\r\t\n]/':''|regex_replace:'/[ ]+/':' '}</dc:creator>
      <dc:date>{$arr_items[$smarty.section.items_detail.index].post_datetime}</dc:date>
    </item>
  {/section}
  </channel>
</rss>