[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] HTML to Text Script ?



Hi!

OK, its not a Mac related question, but to somebody know a perl-script 
which converts HTML to text? I setup a cron job on a unix machine which 
emails a page to a few accounts.

So I need a script to converts HTML to Text. This means:

1) Remove html tags
2) Convert entities
3) Convert line breaks

and maybe

4) Convert some tags to text meanings (e.g. <B>bla</B> to _bla_)
5) Convert tables

  ... and more ...

If nobody knows about such a script, I will write it on my own and post 
it to the CSPAN archive.




--
Reality: |)      |/         Fon: +49-261-309571 |
         |_)oris |\lug      Fax: +49-261-679144 | Developing for the
E-Mail:  <mailto:boris@rhein-zeitung.de>        | Macintosh & Internet
         <mailto:klug@uni-koblenz.de>      -----+-----------------------
Web:     <http://www.uni-koblenz.de/~klug>      | Ask T-shirts, not ties