I also did not know about this Perl converter, nice!

This week I needed to convert a page to txt2tags and used the unhtml.vim
script. It still works, but it's a dirty hack I've made back in 2002! It
could be easily converted to sed, since it's all about s///g.

But what I really wanted is a nice Python script using the standard HTML
parser. There must be plenty of Markdown to HTML converters out there. I
would start searching for a Python one and adapting it to txt2tags.



On Fri, Dec 7, 2012 at 3:43 PM, M. Fioretti <[email protected]> wrote:

> On Fri, Dec 07, 2012 10:38:52 AM +0000, Forgeot Eric wrote:
> > Look at this:
> >
> > http://wiki.txt2tags.org/index.php/Main/Html2wiki
> >
> > It works quite well for me, better than unvim at least.
>
> Eric,
>
> this sounds just like what I need, but... where is the source code? I
> know how to checkout with svn, how to install Perl modules as binary
> packages or from source (perl Makefile.pl etc...) but something isn't
> clear (I have already installed the generic perl-HTML-WikiConverter)
>
> More exactly:
>
> the page http://wiki.txt2tags.org/index.php/Main/Html2wiki says
> (numbered for clarity)
>
> #######################################################################
>
> 1) I've created a txt2tags export:
>
> https://code.google.com/p/txt2tags/source/browse/trunk/extras/HTML-WikiConverter-Txt2tags/lib/HTML/WikiConverter/Txt2tags.pm
>
> 2) Get and install HTML-WikiConverter first:
> http://search.cpan.org/dist/HTML-WikiConverter/
>
>     Install this module (see README if needed):
>         perl Makefile.PL
>         make
>         # make test (is not working at the moment)
>         make install
>
> 3) You can get a released version there:
>    Attach:HTML-WikiConverter-Txt2tags-0.02.zip
>
> ###################################################################
>
> (2) is not even needed on certain distributions, as html-wikiconverter
> is available as binary package, so no problem
>
> from (1) you only get the raw .pm file. Shouldn't it too be installed
> with the usual "perl Makefile.pl.."? If yes, where is the Makefile? If
> no, should one just drop it in the same folder where the rest of
> HTML-wikiconverter gets installed?
>
> if I click on (3) I am asked for a password, so no luck, and I don't
> recognize any other way from the html2wiki page to get my hands on the
> source code of an html2wiki program.
>
> I'll try to install the .pm file manually and report the result, but
> of course any suggestion is very welcome
>
> 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
>



-- 
Aurelio | www.aurelio.net | @oreio
------------------------------------------------------------------------------
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

Reply via email to