Sha256: af98e4ef600ebf5795e1e9456557f23745611bc2027f3840cba2b42923855762

Contents?: true

Size: 1.07 KB

Versions: 10

Compression:

Stored size: 1.07 KB

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.guid %></guid>
      <% if item.image_url %>
        <enclosure url=<%= item.image_url.encode(xml: :attr) %> length="0" type="<%= item.image_mime_type %>"/>
      <% end %>
    </item>
    <% end %>
  </channel>
</rss>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
weneedfeed-0.20.0 templates/show_feed.xml.erb
weneedfeed-0.19.3 templates/show_feed.xml.erb
weneedfeed-0.19.2 templates/show_feed.xml.erb
weneedfeed-0.19.1 templates/show_feed.xml.erb
weneedfeed-0.19.0 templates/show_feed.xml.erb
weneedfeed-0.18.0 templates/show_feed.xml.erb
weneedfeed-0.17.0 templates/show_feed.xml.erb
weneedfeed-0.16.1 templates/show_feed.xml.erb
weneedfeed-0.16.0 templates/show_feed.xml.erb
weneedfeed-0.15.0 templates/show_feed.xml.erb