Sha256: b207a60ed761a28634e33497231fc1eab94247e5332815849832b0d00bf42c0e

Contents?: true

Size: 396 Bytes

Versions: 10

Compression:

Stored size: 396 Bytes

Contents

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

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

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

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
jabe-0.9.1 app/views/jabe/feed/index.xml.builder
jabe-0.9.0 app/views/jabe/feed/index.xml.builder
jabe-0.8.0 app/views/jabe/feed/index.xml.builder
jabe-0.7.0 app/views/jabe/feed/index.xml.builder
jabe-0.6.5 app/views/jabe/feed/index.xml.builder
jabe-0.6.4 app/views/jabe/feed/index.xml.builder
jabe-0.6.3 app/views/jabe/feed/index.xml.builder
jabe-0.6.2 app/views/jabe/feed/index.xml.builder
jabe-0.6.1 app/views/jabe/feed/index.xml.builder
jabe-0.6.0 app/views/jabe/feed/index.xml.builder