Sha256: 92c21080ee0b4bf9204fae1ccedcb699ab3860cf7b917245217ed708685bc392

Contents?: true

Size: 778 Bytes

Versions: 2

Compression:

Stored size: 778 Bytes

Contents

<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"> 
  <channel>
    <title><%= @blog.title %></title>
    <link><%= @blog.url %></link>
    <description><%= @blog.description %></description>
    <language><%= @blog.language %></language>
    <copyright><%= @blog.author %></copyright>
    <pubDate><%= rfc822 Time.now %></pubDate>
    <% for post in @posts %>
      <item>
        <title><%= post.title %></title>
        <category><%= post.category %></category>
        <description><![CDATA[ <%= post.transform(post.body, :code_css => :style) %>]]></description>
        <author><%= @blog.author %></author>
        <link><%= @blog.url %><%= post_path post %></link>
        <pubDate><%= rfc822 post.date %></pubDate>
      </item>
    <% end %>
  </channel>
</rss>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shinmun-1.0.3 templates/index.rxml
shinmun-1.0.2 templates/index.rxml