Sha256: f500d7ef50d071f0e1b6a06e251d318827dc5f1617ee9002fa769d1487989f01

Contents?: true

Size: 1005 Bytes

Versions: 19

Compression:

Stored size: 1005 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:trackback" => "http://madskills.com/public/xml/rss/module/trackback/",
        "xmlns:itunes" => "http://www.itunes.com/dtds/podcast-1.0.dtd" do

  xml.channel do
    xml.title feed_title
    xml.link @link
    xml.language "en-us"
    xml.ttl "40"
    xml.description this_blog.blog_subtitle

    xml.itunes :author,(this_blog.itunes_author)
    xml.itunes :subtitle,(this_blog.itunes_subtitle)
    xml.itunes :summary,(this_blog.itunes_summary)
    xml.itunes :owner do
      xml.itunes :name,(this_blog.itunes_name)
      xml.itunes :email,(this_blog.itunes_email)
    end
    xml.copyright(this_blog.itunes_copyright)

    @items.each do |item|
      render :partial => "itunes_item_resource",
        :locals => {:item => item, :xm => xml}
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
typo-5.5 app/views/xml/itunes_feed.rss.builder
typo-5.4.4 app/views/xml/itunes_feed.rss.builder
typo-5.4.3 app/views/xml/itunes_feed.rss.builder
typo-5.4.2 app/views/xml/itunes_feed.rss.builder
typo-5.4.1 app/views/xml/itunes_feed.rss.builder
typo-5.4 app/views/xml/itunes_feed.rss.builder
typo-5.0.2 app/views/xml/itunes_feed.rss.builder
typo-5.0.1 app/views/xml/itunes_feed.rss.builder
typo-5.0.3.98.1 app/views/xml/itunes_feed.rss.builder
typo-5.0 app/views/xml/itunes_feed.rss.builder
typo-5.0.3.98 app/views/xml/itunes_feed.rss.builder
typo-5.1.2 app/views/xml/itunes_feed.rss.builder
typo-5.1.1 app/views/xml/itunes_feed.rss.builder
typo-5.1.3 app/views/xml/itunes_feed.rss.builder
typo-5.1.98 app/views/xml/itunes_feed.rss.builder
typo-5.1 app/views/xml/itunes_feed.rss.builder
typo-5.2 app/views/xml/itunes_feed.rss.builder
typo-5.2.98 app/views/xml/itunes_feed.rss.builder
typo-5.3 app/views/xml/itunes_feed.rss.builder