Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Is this Bug in PM?

by extremely (Priest)
on Feb 02, 2001 at 02:12 UTC ( #55871=note: print w/replies, xml ) Need Help??

in reply to Is this Bug in PM?

How would you have it work? Automatic or just warn people?

I've thought a great deal about this very issue, even started tinkering with HTML::TokeParser and related vermin. The problem is diagnosing borked HTML gets pretty hairy pretty fast. I'd like to solve it tho, then I could send it to the Blogger people so I could be sloppy and not fubar my entire website. =)

Getting a HTML fixer would be nice for post-processing years of HTML files to get them up to XHTML standards too. Little things like <b>Bold <i>Both</b> Italic</i> need to be transformed to <b>Bold <i>Both</i></b><i> Italic</i> as a part of that fix too, though.

$you = new YOU;
honk() if $you->love(perl)

Replies are listed 'Best First'.
Re: (OT) Is this Bug in PM?
by OeufMayo (Curate) on Feb 02, 2001 at 02:25 UTC

    Hey! No need to fight with the TokeParser, the guys at the W3C just thought about this issue and made a really cool soft called Tidy.
    If you're dealing on a daily basis with user-created HTML, you'll get addicted very fast to this one.

    Basically, you feed it with anything that is loosely based on HTML (yes, even the Word2000 disgusting HTML output!) and it gives you a really nice output (HTML, XHTML, XML, you name it). It's highly configurable, so you can choose what to keep and what to weed out, it's fast and it works in command-line so you can pre-process user entries before creating them. Check it now!

    -- Wow, I sure sounded like a commercial

    UPDATE: Actually, this soft can be directly hooked to Perl! Now, you *really* got to have this one!

    PerlMonger::Paris(http => '');</kbd>

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://55871]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2023-12-03 00:05 GMT
Find Nodes?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?

    Results (20 votes). Check out past polls.