Sha256: 0ad8f4e6ad73610af29afe5debf792eb4ebab8fc2edebc7180c4448d7642aade

Contents?: true

Size: 698 Bytes

Versions: 4

Compression:

Stored size: 698 Bytes

Contents

<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"> 
  <channel>
    <title><%= @name %></title>
    <link><%= @blog.url %>/categories/<%= urlify @category %>.html</link>
    <language><%= @blog.language %></language>
    <copyright><%= @blog.author %></copyright>
    <pubDate><%= rfc822 Time.now %></pubDate>
    <% for post in @posts[0, 20] %>
      <item>
	<title><%= post.title %></title>
	<category><%= post.category %></category>
	<description><%= strip_tags post.summary %></description>
	<author><%= @author || @blog.author %></author>
	<link><%= @blog.url %>/<%= post.path %>.html</link>
	<pubDate><%= rfc822 post.date %></pubDate>
      </item>
    <% end %>
  </channel> 
</rss>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
georgi-shinmun-0.3.1 example/templates/category.rxml
georgi-shinmun-0.3.2 example/templates/category.rxml
georgi-shinmun-0.3.3 example/templates/category.rxml
georgi-shinmun-0.3 example/templates/category.rxml