[Vimoutliner] otl2html and ikiwiki

Joey Hess joey at kitenet.net
Sat Aug 19 14:42:57 EDT 2006


I discovered vimoutliner the other day, and I want to thank everyone who
made it possible, it's much nicer than hnb, which I was using before,
and for the first time I actually feel that using an outliner makes me
more productive.

I wanted to let you know that the next version of ikiwiki[1] will include
support for otl files as wiki pages. Since ikiwiki allows editing of
wiki pages in vim, and committing them with subversion, this is a nice
combination, in my opinion.

Which brings me to otl2html. With a basic stylesheet and a little bit of
extra processing for check boxes, I'm producing outlines like this one in
my wiki: http://kitenet.net/~joey/boxen/kite/move.html
Pretty happy with how that looks, but the underlying html is bad:
http://validator.w3.org/check?uri=http://kitenet.net/~joey/boxen/kite/move.html

otl2html doesn't produce valid xhtml, since it doesn't close <li> tags.
It also has a few other problems, like not wrapping everything inside
<ol> tags in <li>. I wonder if that could be fixed so it generates valid xhtml?
I don't speak python well, or I'd try to fix it. (If I have to tackle
this myself, I'll probably end up writing a perl library, since that
would be a better fit for me.)

One other nice improvement in otl2html would be to find bare urls and mark
them up as hyperlinks.

-- 
see shy jo

[1] http://ikiwiki.kitenet.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.vimoutliner.org/pipermail/vimoutliner/attachments/20060819/d609cf35/attachment.bin


More information about the VimOutliner mailing list