lib/vpim/agent/atomize.rb in vpim-0.695 vs lib/vpim/agent/atomize.rb in vpim-13.11.11
- old
+ new
@@ -1,5 +1,6 @@
+# -*- encoding : utf-8 -*-
=begin
Copyright (C) 2009 Sam Roberts
This library is free software; you can redistribute it and/or modify it
under the same terms as the ruby language itself, see the file COPYING for
@@ -50,9 +51,12 @@
end
if caluri
# This is maybe better described as :via, but with :alternate being
# an html view of this feed.
+ #
+ # TODO should I change the scheme to be webcal?
+ # TODO should I extend URI to support webcal?
f.links << Atom::Link.new do |l|
l.href = caluri
l.type = "text/calendar"
l.rel = :alternate
end