Sha256: d71e34e41339653fa5d7ce784b56b1302dc3ac183ec6724318104359502560fa

Contents?: true

Size: 998 Bytes

Versions: 3

Compression:

Stored size: 998 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)
  end

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
typo-3.99.0 app/views/xml/itunes_feed.rxml
typo-3.99.1 app/views/xml/itunes_feed.rxml
typo-3.99.2 app/views/xml/itunes_feed.rxml