Sha256: 38378abaaadf50d0e55605d7777cf6a537996e71a15c409d06c44bb5cffcf042
Contents?: true
Size: 565 Bytes
Versions: 3
Compression:
Stored size: 565 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::STRING}" 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
alula-0.4.27 | vendor/layouts/feed.xml.builder |
alula-0.4.26 | vendor/layouts/feed.xml.builder |
alula-0.4.25 | vendor/layouts/feed.xml.builder |