Sha256: 9ac4dab5ed5352850f968061e087a1d0ca8af87df2a450e1ad3e81042b3ea78f

Contents?: true

Size: 1.59 KB

Versions: 1

Compression:

Stored size: 1.59 KB

Contents

<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"
      xmlns:thr="http://purl.org/syndication/thread/1.0"
      xml:base="<%= feed_url %>"
      xml:lang="en-us">

  <id><%= site_url %></id>
  <link rel="alternate" type="text/html"            href="<%= site_url %>" />
  <link rel="self"      type="application/atom+xml" href="<%= feed_url %>" />

  <title>   <%= setting :site_title       %></title>
  <subtitle><%= setting :site_description %></subtitle>

  <link href="./" />
  <link rel="self" href="" />

  <logo>/images/apple-touch-icon-144-precomposed.png</logo>
  <icon>/images/favicon.ico</icon>

  <updated><%= @posts.first.updated_at.xmlschema %></updated>

  <author><name><%= setting :author_name %></name></author>


  <rights>
    All site content is copyright (c) <%= Time.now.year %>
    <%= setting :author_name %> unless explicity stated otherwise
  </rights>

  <generator uri="http://homesteading.io">Generated by Homesteading.</generator>


  <% @posts.each do |post| %>
    <entry>
      <id><%= canonical_url post %></id>
      <published><%= post.published_at.xmlschema %></published>
      <updated><%= post.updated_at.xmlschema %></updated>
      <link rel="alternate" type="text/html" href="<%= canonical_url post %>"/>
      <title><%= post.name %></title>

      <% post.categories.split.each do |tag| %>
        <category scheme="<%= tag %>" term="<%= tag %>" />
      <% end %>

      <content type="html">
        <%= post.content %>
      </content>
      <author>
        <name><%= setting :author_name %></name>
      </author>
    </entry>
  <% end %>
</feed>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
homesteading_publisher-0.2.4 app/views/homesteading_publisher/posts/index.atom.erb