Converting text/html to text/plain
Karl Anderson
kra@monkey.org
21 Jun 2002 14:26:00 -0700
Gary Lawrence Murphy <garym@canada.com> writes:
> >>>>> "J" == Joseph S Barrera, <Joseph> writes:
>
> J> Do it all in XSLT and *then* I'll be impressed. - Joe
>
> J> Dan Kohn wrote:
> >> I spent far too long today figuring out how to convert
> >> text/html to text/plain
>
> What I want to find is a good transformer for ascii email into HTML;
> before anyone recommends hmonarc or txt2html.pl, let me add that the
> application needs to fold this into a blogging tool like MT so the
> story-input can be written in WikiText instead of expecting the
> blogger to learn HTML.
>
> Anyone know of any free perl/python/c utility function lib that could
> translate wiki-style /or/ _email_ *style* markup into html?
StructuredText resembles email style markup, if by email style you
mean *bold* /ital/ - list - list "link":url etc. I thought that all
of the wikitexters worked like that, though. And in any case, I'd
assume that unless the author intended to be working in the format,
it'd end up looking silly about 10% of the time as unintended
formatting rules got triggered.
--
Karl Anderson kra@monkey.org http://www.monkey.org/~kra/