Sha256: d3bfb02aa681846f5bbe91b6a79a0de58d3bf3c5e513291c5210acc7dcf2acb5
Contents?: true
Size: 838 Bytes
Versions: 22
Compression:
Stored size: 838 Bytes
Contents
xml.instruct! :xml, :version => "1.0" xml.rss :version => "2.0" do xml.channel do xml.title @page.title xml.description @page.meta_description xml.link show_page_url(:urlname => @page.urlname, :lang => multi_language? ? @page.language_code : nil) @page.feed_elements.each do |element| xml.item do xml.title element.content_for_rss_title.ingredient xml.description element.content_for_rss_description.ingredient xml.pubDate element.ingredient('date').to_s(:rfc822) if element.has_ingredient?('date') xml.link show_page_url(:urlname => @page.urlname, :anchor => element_dom_id(element), :lang => multi_language? ? @page.language_code : nil) xml.guid show_page_url(:urlname => @page.urlname, :anchor => element_dom_id(element), :lang => multi_language? ? @page.language_code : nil) end end end end
Version data entries
22 entries across 22 versions & 1 rubygems
Version | Path |
---|---|
alchemy_cms-2.1.beta5 | app/views/alchemy/pages/show.rss.builder |
alchemy_cms-2.1.beta1 | app/views/pages/show.rss.builder |