Sha256: b1932323b4ee977e65a4d2047c24527f9115cac4c9a46a165e95f90950afed49

Contents?: true

Size: 760 Bytes

Versions: 6

Compression:

Stored size: 760 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 => request.url, :rel => 'self', :type => 'application/rss+xml'
    xml.language this_blog.lang.gsub("_", "-").downcase
    xml.ttl "40"
    xml.description this_blog.blog_subtitle

    @items.each do |item|
      render "shared/rss_item_comment", {feed: xml, item: item}
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
publify_core-9.0.0.pre6 app/views/comments/index_rss_feed.rss.builder
publify_core-9.0.0.pre5 app/views/comments/index_rss_feed.rss.builder
publify_core-9.0.0.pre4 app/views/comments/index_rss_feed.rss.builder
publify_core-9.0.0.pre3 app/views/comments/index_rss_feed.rss.builder
publify_core-9.0.0.pre2 app/views/comments/index_rss_feed.rss.builder
publify_core-9.0.0.pre1 app/views/comments/index_rss_feed.rss.builder