[Vimoutliner] Auto pretty printing from Apache

Mahlon E. Smith mahlon at martini.nu
Mon Feb 26 22:11:39 EST 2007


On Thu, Feb 22, 2007, Peter Princz wrote:

> As an employee I also must obey to some corporate standards, i.e.
> use windows xp and do not maintain internal web server. OK, I can
> workaround this by compiling Apache and otl_handler under win32.
> (Easier said than done, I'm still struggling with libapreq2 to get it
> work under win32.) And then to use this Apache for a parser only, and
> send out the generated html files as email attachments.

Oh man!  This sounds like a lot of work for just a pretty-parser.

> [...]
> I really cannot decide between otl2html and otl_handler: the former
> produces one file and is easy to distribute, the latter responds to
> expand/collapse thus easier to navigate.
>
> What do you think? Can this all css/js thing be folded into the html
> file?

If expand/collapse is a requirement, you can of course edit the OTL.pm
file to include hard coded javascript and css in the <head> area of the
output - then leave out the style/js keys in the .otl file itself.

If expand/collapse is NOT a requirement, I'd just use otl2html - save
yourself some headache with the win32 environment! :)

-Mahlon

--
Mahlon E. Smith  
http://www.martini.nu/contact.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: not available
Url : http://lists.vimoutliner.org/pipermail/vimoutliner/attachments/20070226/9b5bdbaf/attachment.bin


More information about the VimOutliner mailing list