Sha256: 3dda47cf3aa06632fd748c9886f5f915150b587df4109f89ac2c793890f8fb82
Contents?: true
Size: 940 Bytes
Versions: 97
Compression:
Stored size: 940 Bytes
Contents
xml.instruct! # <?xml version="1.0" encoding="UTF-8"?> xml.comment! "a comment" # <!-- a comment --> xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do xml.title "My Atom Feed" # xml.subtitle h(@feed.subtitle), "type" => 'html' xml.link url_for( :only_path => false, :controller => 'main', :action => 'atom' ) xml.updated Time.now.iso8601 xml.author do xml.name "Jens-Christian Fischer" xml.email "jcfischer@gmail.com" end @waypoints.each do |entry| xml.entry do xml.code entry.code xml.title entry.name xml.link "href" => url_for( :only_path => false, :controller => 'entries', :action => 'show', :id => entry ) xml.id entry.uid xml.updated entry.updated_at.iso8601 xml.summary h(entry.description) end end end
Version data entries
97 entries across 94 versions & 6 rubygems