dsl/liveblog.rb in livetext-0.8.40 vs dsl/liveblog.rb in livetext-0.8.41
- old
+ new
@@ -106,15 +106,15 @@
y, m, d = y.to_i, m.to_i, d.to_i
@meta.date = ::Date.new(y, m, d)
@meta.pubdate = "%04d-%02d-%02d" % [y, m, d]
end
-def categories # now: tags
- _debug "args = #{_args}"
- @meta.categories = _args # phase out
- @meta.tags = _args
-end
+# def categories # now: tags
+# _debug "args = #{_args}"
+# @meta.categories = _args # phase out
+# @meta.tags = _args
+# end
def tags
_debug "args = #{_args}"
@meta.tags = _args
end
@@ -122,11 +122,17 @@
def views
_debug "data = #{_args}"
@meta.views = _args.dup # + ["main"]
end
-def liveblog_version
+def pin
+ _debug "data = #{_args}"
+ # verify only already-specified views?
+ @meta.pinned = _args.dup
end
+
+# def liveblog_version
+# end
def list
@body << "<ul>"
_body {|line| @body << "<li>#{line}</li>" }
@body << "</ul>"