Sha256: 427d4bd97240834bc073dac6b1ea2f83021d1f0b61e4f063686cde4075f274d3
Contents?: true
Size: 557 Bytes
Versions: 12
Compression:
Stored size: 557 Bytes
Contents
xml.instruct! :xml, :version => "1.0" xml.rss :version => "2.0" do xml.channel do xml.title site.title xml.description site.tagline xml.link site.url xml.lastBuildDate Time.now.strftime("%a, %d %b %Y %H:%M:%S %z") xml.generator "Alula #{Alula::VERSION}" for post in item.posts xml.item do xml.title { xml.cdata! post.title } xml.description { xml.cdata! post.body } xml.pubDate post.date.strftime("%a, %d %b %Y %H:%M:%S %z") xml.link "#{site.url}#{post.url}" end end end end
Version data entries
12 entries across 12 versions & 1 rubygems