aboutsummaryrefslogtreecommitdiff
path: root/atom.rb
diff options
context:
space:
mode:
Diffstat (limited to 'atom.rb')
-rwxr-xr-xatom.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/atom.rb b/atom.rb
index ffdb74f..b648998 100755
--- a/atom.rb
+++ b/atom.rb
@@ -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