diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2010-05-25 16:13:22 +0200 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2010-05-25 16:13:22 +0200 |
commit | b0eef2d3c6f67a1dfe052a287f5a106beb6a5bb6 (patch) | |
tree | 870b76f7350b2b574c587a60fa84e30d489aa0db /atom.rb | |
parent | a06f7e091afca7e7140d4c416e8cc3feaa9dca2b (diff) |
possible content for atom feed?
Diffstat (limited to 'atom.rb')
-rwxr-xr-x | atom.rb | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -47,6 +47,7 @@ log = VCS.history log.reverse_each {|l| feed.entries << Atom::Entry.new do |e| e.title = l.comment +# e.content = Atom::Content::Xhtml.new("<p><a href=\"#{SITEURL}history.cgi?revision=#{l.rev}\">permalink</a>, <a href='#{SITEURL}' >current version</a></p>") e.links << Atom::Link.new(:href => "#{SITEURL}history.cgi?revision=#{l.rev}") e.id = "urn:#{poll.class}:#{poll.name}:rev=#{l.rev}" e.updated = l.timestamp |