Sorry for the late reply. I'm glad you managed to make it work and it can be useful for you. I think I forgot to upload the archive. It's corrected now: http://wiki.txt2tags.org/uploads/HTML-WikiConverter-Txt2tags-0.02.zip
It's working quite well, except for some badly formed HTML, for example when they use a wysiwyg tool and select extra spaces around the words they want to underline ou make as italic. Then it will result in a // bad export// and it won't display correctly. It's maybe possible to correct this with some sed afterwards. A python tool would make the whole txt2tags experience easier if there is no need to compile a perl module. ----- Mail original ----- De : M. Fioretti <[email protected]> À : [email protected] Cc : Envoyé le : Vendredi 7 décembre 2012 19h17 Objet : Re: [t2t] How do you convert HTML to txt2tags _automatically_??? On Fri, Dec 07, 2012 16:15:32 PM -0200, Aurelio Jargas wrote: > I also did not know about this Perl converter, nice! yes, the very first thing to do, before even looking for a Python converter, would be to add a huge link to it in the official txt2tags site. The real, if not only problem of unhtml.vim is not that is an old and dirty hack, it is that it is not scriptable. I too realized that... > It could be easily converted to sed, since it's all about s///g but lack of time made me search for a quicker solution, so I'm glad I found this one and made it work (see other email). Marco ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ txt2tags-list mailing list https://lists.sourceforge.net/lists/listinfo/txt2tags-list
