-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 * Zdenek Sekera ([EMAIL PROTECTED]) wrote: > > -----Original Message----- > > From: Spencer Collyer [mailto:[EMAIL PROTECTED] > > Sent: 06 March 2007 08:31 > > Cc: Vim Mailing List > > Subject: Re: VimTips Wiki: New Direction > > > > On Tue, 6 Mar 2007 03:18:13 +0200, Ali Polatel wrote: > > > And check out > > > http://en.wikibooks.org/wiki/Learning_the_vi_editor/Vim/TipsSandbox > > > to see how it parsed tip #1. > > > > Looks good. Only comment I have is it might be better if the 'By' and > > 'On' lines for the comments were on the same line. Anything > > that allows > > more useful info on a screen at once is an improvement in my eyes.
Done. > > Yes, I very much agree, use screen real estate for useful info > as much as possible. Otherwise good IMHO! Thanks ! Another thing to mention is I found a great library called HTML-WikiConverter. Unfortunately it's a perl library and I don't have the time to convert stuff. But I found a rather ugly way to use it.HTML-WikiConverter comes with a script html2wiki and vimtips.py calls this with commands.getstatusoutput(). This is a major decrease in performance considering creation of temporary files but I don't think this is what we aim here.The library will help especially with converting <a href.. tags and it adds <nowiki> tags to appropriate places. Anyone who wants to test can get the library with perl -MCPAN -e 'install Bundle::HTMLWikiConverter' If vimtips.py can't find html2wiki it'll just issue a warning and go on parsing. Here is wikipedia page generated by the new version: http://en.wikibooks.org/wiki/Learning_the_vi_editor/Vim/TipsSandbox/Tip_1:_the_super_star Any comments,ideas welcome. Ali P.S.: links like <a href="/tips/tip.php?tip_id=5">vimtip #5</a> don't get parsed correctly but this will be done when we arrange the tips and start to add them for good using html2wiki's --base-uri and --wiki-uri options - -- Ali Polatel (hawking) <[EMAIL PROTECTED]> http://hawking.nonlogic.org/ gpg: F0186CA2 fp: 7110 01E2 F8B6 83A2 AC52 1D9F 986B 76E1 F018 6CA2 () ascii ribbon campaign - against html mail /\ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.2 (GNU/Linux) iD8DBQFF7ZkJmGt24fAYbKIRAnA4AJ48gETBvL7Bx/m4hRJk1qy/ZhRycgCg8P+N FQpbSYwdG6qlhrwQxYJXYcE= =VzBC -----END PGP SIGNATURE-----