Sha256: 01c9809494c5058663d3f2c2846d6d9847f7128e4d8b75aecb6878a30c1a93ea

Contents?: true

Size: 954 Bytes

Versions: 1

Compression:

Stored size: 954 Bytes

Contents

---
template: ~
--- pipeline:erb
<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0">
  <channel>
    <title><%= h(context.node['title']) %></title>
    <link><%= context.node.feed_link %></link>
    <description><%= h(context.node['description']) %></description>
    <pubDate><%= Time.now.rfc822 %></pubDate>
    <lastBuildDate><%= Time.now.rfc822 %></lastBuildDate>
    <generator>webgen - Webgen::SourceHandler::Feed</generator>

    <% context.node.feed_entries.each do |entry| %>
    <item>
      <title><%= h(entry['title']) %></title>
      <link><%= Webgen::Node.url(File.join(context.node['site_url'], entry.path), false) %></link>
      <description><%= h(context.node.entry_content(entry)) %></description>
      <pubDate><%= entry['modified_at'].rfc822 %></pubDate>
      <guid isPermaLink="true"><%= Webgen::Node.url(File.join(context.node['site_url'], entry.path), false) %></guid>
    </item>
    <% end %>

  </channel>
</rss>



Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
webgen-0.5.17 data/webgen/passive_sources/templates/rss_feed.template