Sha256: 6dda10af410237b5e455ee28ab3c446d70a724567f29e03fa976639e0fa75c2d

Contents?: true

Size: 738 Bytes

Versions: 6

Compression:

Stored size: 738 Bytes

Contents

xml.instruct! :xml, :version=>"1.0", :encoding=>"UTF-8"
xml.instruct! 'xml-stylesheet', :type=>"text/css", :href => url_for("/stylesheets/rss.css")

xml.rss "version" => "2.0", "xmlns:dc" => "http://purl.org/dc/elements/1.1/",
        "xmlns:atom" => "http://www.w3.org/2005/Atom",
        "xmlns:trackback" => "http://madskills.com/public/xml/rss/module/trackback/" do
  xml.channel do
    xml.title feed_title
    xml.link this_blog.base_url
    xml.atom :link, :href => this_blog.url_for(params), :rel => 'self', :type => 'application/rss+xml'
    xml.language this_blog.lang.gsub("_", "-").downcase
    xml.ttl "40"
    xml.description this_blog.blog_subtitle

    rss20_feed.each do |value|
      value.to_rss(xml)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
typo-5.5 app/views/articles/_rss20_feed.rss.builder
typo-5.4.4 app/views/articles/_rss20_feed.rss.builder
typo-5.4.3 app/views/articles/_rss20_feed.rss.builder
typo-5.4.2 app/views/articles/_rss20_feed.rss.builder
typo-5.4.1 app/views/articles/_rss20_feed.rss.builder
typo-5.4 app/views/articles/_rss20_feed.rss.builder