Old_Gray_Bear has asked for the wisdom of the Perl Monks concerning the following question:
Most of it is pretty readable, in the sense that there are syntax and indentation rules that are (usually) followed. But it can be a bit of a long slog to trace through. After searching through a particularly obfuscated piece of "code" (something that dense is certainly not 'text'), I got to thinking about reformatting the pages into something a little more user-friendy, or at least consistant.
Figuring that someone must have already sorted out this particular Wheel, I went off to search CPAN and Google-Space for HTML Reformatters and Pretty Printers, ala perltidy(1). So far I have found several promissing candidates. I am soliciting input and opinions.
I have not included 'WebLint', 'HTML::Clean', 'HTML::Lint', etc, since my goal is to generate human (or at least Bear) readable text, rather than optimize my pages or validate the correctness of the tags. They will be useful tools, later in maintenance cycle, but they don't do what I want to do right now.
Have I missed anyone's favorite? Does anyone have opinions pro or con?
OGB
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: What do Monks Recommend For HTML Reformatters?
by allolex (Curate) on Dec 01, 2003 at 07:37 UTC | |
|
Re: What do Monks Recommend For HTML Reformatters?
by Aristotle (Chancellor) on Dec 01, 2003 at 01:21 UTC | |
|
Re: What do Monks Recommend For HTML Reformatters?
by Roger (Parson) on Dec 01, 2003 at 01:20 UTC | |
|
Re: What do Monks Recommend For HTML Reformatters?
by tune (Curate) on Dec 01, 2003 at 09:40 UTC | |
by Aristotle (Chancellor) on Dec 01, 2003 at 17:28 UTC | |
by tune (Curate) on Dec 02, 2003 at 09:12 UTC | |
|
Re: What do Monks Recommend For HTML Reformatters?
by chanio (Priest) on Dec 02, 2003 at 04:40 UTC |