Sha256: 5cf4c839a423f8f752cacfce659ace68d3858b5a31153217eb353a1f9dace7fe

Contents?: true

Size: 935 Bytes

Versions: 1

Compression:

Stored size: 935 Bytes

Contents

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
  xmlns:atom="http://www.w3.org/2005/Atom"
  xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title><![CDATA[<%= @page.title %>]]></title>
    <link><%= "#{@page.url}" %></link>
    <atom:link href="<%= "#{request.base_url}#{request.path}" %>" rel="self"/>
    <description><![CDATA[<%= @page.description %>]]></description>
    <lastBuildDate><%= Time.now.rfc822 %></lastBuildDate>
    <% items.each do |item| %>
    <item>
      <title><![CDATA[<%= item.title %>]]></title>
      <link><%= item.link %></link>
      <% if item.time %>
        <pubDate><%= item.time.rfc822 %></pubDate>
      <% end %>
      <description><![CDATA[<%= item.description %>]]></description>
      <content:encoded><![CDATA[<%= item.description %>]]></content:encoded>
      <guid isPermaLink="true"><%= item.link %></guid>
    </item>
    <% end %>
  </channel>
</rss>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
weneedfeed-0.8.0 templates/show_feed.xml.erb