Sha256: 631b99f5a0540b469298301ebb9f07245aafa08ba60cd28ed83d2b2655910acc

Contents?: true

Size: 424 Bytes

Versions: 1

Compression:

Stored size: 424 Bytes

Contents

atom_feed do |feed|
  feed.title    @presenter.title
  feed.updated  @presenter.updated
  @presenter.posts.each do |post|
    feed.entry(post) do |entry|
      entry.url         post.url
      entry.title       post.title
      entry.content     post.body, :type => 'html'
      entry.updated_at  @presenter.ftime(post.updated_at)
      entry.author do |author|
        author.name post.user.to_s
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kublog-0.0.1.1 app/views/kublog/posts/index.atom.builder