Sha256: 5230394664a88b4e53e5c1b0fab634fa71ee09027e4e48135427b166e408f635

Contents?: true

Size: 1.21 KB

Versions: 2

Compression:

Stored size: 1.21 KB

Contents

---
title:     A Mother Clucker
subtitle:  raising chickens in the city
site:      example.com
author:    Tim Pease
email:     author@example.com
extension: xml
layout:    nil
dirty:     true
filter:    erb
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
 
  <title><%= h(@page.title) %></title>
  <subtitle><%= h(@page.subtitle) %></subtitle>
  <link href="http://<%= @page.site %>/tumblog/" rel="self" />
  <link href="http://<%= @page.site %>/" />
  <updated><%= Time.now.xmlschema %></updated>
  <author>
    <name><%= h(@page.author) %></name>
    <email><%= h(@page.email) %></email>
  </author>
  <id>http://<%= @page.site %>/</id>
  <% @pages.find(:limit => 10,
                 :layout => 'tumblog/post',
                 :sort_by => 'created_at',
                 :reverse => true).each do |article| %>
  <entry>
    <title><%= h(article.title) %></title>
    <link href="<%= article.url %>" />
    <id>tag:<%= @page.site %>,<%= article.created_at.strftime('%Y-%m-%d') %>:<%= article.created_at.to_i %></id>
    <updated><%= article.created_at.xmlschema %></updated>
    <content type="html"><%= h(render(article)) %></content>
  </entry>
  <% end %>
</feed>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
webby-0.9.3-x86-mswin32 examples/tumblog/content/tumblog/rss.txt
webby-0.9.4-x86-mswin32 examples/tumblog/content/tumblog/rss.txt