Sha256: cecfeb9071dbf975c4b2e0e7bf82820ac04d4ab070aa420cc96f601b17215676

Contents?: true

Size: 875 Bytes

Versions: 2

Compression:

Stored size: 875 Bytes

Contents

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
  xmlns:atom="http://www.w3.org/2005/Atom">

  <channel>
    <title><%= options[:title] %></title>
    <atom:link href="<%= request.url %>" rel="self" type="application/rss+xml" />
    <link><%= options[:link] %></link>
    <description><%= options[:description] %></description>
    <lastBuildDate><%= Time.now.xmlschema %></lastBuildDate>
    <language><%= options[:language] || I18n.default_locale.to_s %></language>

    <% items.each do |item| %>
    <item>
      <title><%= item.title %></title>
      <link><%= item.link %></link>
      <pubDate><%= item.pubdate %></pubDate>
      <category><%= item.category %></category>
      <guid isPermaLink="<%= item.guid_is_permalink? %>"><%= item.guid %></guid>
      <description><%= item.description %></description>
    </item>
    <% end -%>

  </channel>
</rss>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fullstack-rss-0.1.2 app/views/fullstack/rss/feed.xml.erb
fullstack-rss-0.1.1 app/views/fullstack/rss/feed.xml.erb