Sha256: 6f2fd6de87f540c60ce52690c9b9963ac392ae43b2f4e4fac7fda326b4f064cf

Contents?: true

Size: 416 Bytes

Versions: 4

Compression:

Stored size: 416 Bytes

Contents

atom_feed do |feed|
  feed.title @title
  feed.updated @updated
  
  @posts.each do |post|
    feed.entry(post) do |entry|
      entry.title(post.title)
      entry.content(post.content_as_html, :type => 'html')
      entry.summary(post.content_as_html_preview, :type => 'html')

      entry.author do |author|
        author.name  Mist.author.name
        author.email Mist.author.email
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mist-0.6.3 app/views/mist/posts/feed.atom.builder
mist-0.6.2 app/views/mist/posts/feed.atom.builder
mist-0.6.1 app/views/mist/posts/feed.atom.builder
mist-0.6.0 app/views/mist/posts/feed.atom.builder