Sha256: a7377baafc94cbfcfd328131377ec69a788ad0f397adf6ac5d04e2b399ec4c1a

Contents?: true

Size: 372 Bytes

Versions: 3

Compression:

Stored size: 372 Bytes

Contents

atom_feed do |feed|
  feed.title(SETTINGS.site_name)

  feed.updated @entries.first.try(:published_at)

  @entries.each do |post|
    feed.entry(post, :url => public_entry_url(post)) do |entry|
      entry.title h post.title
      entry.content post.body, :type => 'html'

      entry.author do |author|
        author.name(SETTINGS.site_name)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jabe-0.5.9 app/views/feed/index.xml.builder
jabe-0.5.8 app/views/feed/index.xml.builder
jabe-0.5.7 app/views/feed/index.xml.builder