Sha256: ddf4da7954e395bd4634543e1bd3b2d581cf9d0f333b69046b0816d0c6d98ed4

Contents?: true

Size: 784 Bytes

Versions: 9

Compression:

Stored size: 784 Bytes

Contents

xml.instruct! :xml, :version=>"1.0", :encoding=>"UTF-8"
xml.feed "xml:lang" => "en-US", "xmlns" => 'http://www.w3.org/2005/Atom' do
  xml.title feed_title
  unless this_blog.blog_subtitle.blank?
    xml.subtitle this_blog.blog_subtitle, "type"=>"html"
  end
  xml.id "tag:#{@controller.request.host},2005:Typo"
  xml.generator "Typo", :uri => "http://www.typosphere.org", :version => '4.0'
  xml.link "rel" => "self", "type" => "application/atom+xml", "href" => url_for(:only_path => false)
  xml.link "rel" => "alternate", "type" => "text/html", "href" => @link

  xml.updated @items.first.updated_at.xmlschema unless @items.empty?

  @items.each do |item|
    render :partial => "atom10_item_#{item.class.name.to_s.downcase}",
      :locals => {:item => item, :xm => xml}
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
typo-5.5 app/views/xml/feed.atom.builder
typo-5.4.4 app/views/xml/feed.atom.builder
typo-5.4.3 app/views/xml/feed.atom.builder
typo-5.4.2 app/views/xml/feed.atom.builder
typo-5.4.1 app/views/xml/feed.atom.builder
typo-5.4 app/views/xml/feed.atom.builder
typo-5.2 app/views/xml/feed.atom.builder
typo-5.2.98 app/views/xml/feed.atom.builder
typo-5.3 app/views/xml/feed.atom.builder