Sha256: 322e984202d94d4dbb8c082dd15615d1e0b6b0eef0c2ab59dfa4c5e9673a4b11

Contents?: true

Size: 786 Bytes

Versions: 11

Compression:

Stored size: 786 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
  if(not 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

11 entries across 11 versions & 1 rubygems

Version Path
typo-3.99.0 app/views/xml/atom10_feed.rxml
typo-3.99.3 app/views/xml/atom10_feed.rxml
typo-3.99.2 app/views/xml/atom10_feed.rxml
typo-3.99.1 app/views/xml/atom10_feed.rxml
typo-4.0.0 app/views/xml/atom10_feed.rxml
typo-4.0.1 app/views/xml/atom10_feed.rxml
typo-4.0.2 app/views/xml/atom10_feed.rxml
typo-3.99.4 app/views/xml/atom10_feed.rxml
typo-4.1.1 app/views/xml/atom10_feed.rxml
typo-4.0.3 app/views/xml/atom10_feed.rxml
typo-4.1 app/views/xml/atom10_feed.rxml