swiftone has asked for the wisdom of the Perl Monks concerning the following question:
My recommendation to them was to convert their manual (currently thousands of pages in WordPerfect 5.2) to ASCII text, which would work in just about any word processor, now and in the future. It also works quite well with diff, cvs, and other text tools I have access to :) And of course, it can convert to HTML fairly cleanly.
This is all aided by the fact that they have a set of rules that the document(s) are written by, making automatic conversion plausible.
So I am now looking at converting text to HTML. In particular, I need to be able to recognize nested outline format, and table-like listings. HTML::FromText is nice, but doesn't support this well-enough. I'm currently entertaining either using Parser::RecDescent, or hacking up additions to HTML::FromText. Has anyone tried to do repeated automatic text to HTML conversion on this scale?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Parsing Text
by chromatic (Archbishop) on Sep 12, 2000 at 23:01 UTC | |
|
Re: Parsing Text
by ZZamboni (Curate) on Sep 13, 2000 at 02:55 UTC | |
|
Re: Parsing Text
by SuperCruncher (Pilgrim) on Sep 13, 2000 at 02:29 UTC | |
|
Re: Parsing Text
by extremely (Priest) on Sep 13, 2000 at 07:32 UTC | |
|
Re: Parsing Text
by runrig (Abbot) on Sep 12, 2000 at 22:59 UTC | |
by swiftone (Curate) on Sep 12, 2000 at 23:03 UTC |