February 19, 2004

TidyText plugin makes MT posts valid XHTML

90% Crud: TidyText:

TidyText is my new plugin for Moveable Type.... It adds two new text formatting options for entries that will run them through HTML Tidy to make the XHTML valid before building the entry. Most of us want to support web standards, for me it's a pain to remember to change & to & when linking to URLs. ...TidyText ... fixes that broken XHTML and turns it into something valid.

You can download it or read the documentation, which I've included in this post. If you want to see it in action, compare the source of the linked documentation with the source that I copied and pasted for the documentation in this post.

This has been tested on a couple systems but I can't vouch for it working on yours. You will need to install HTML Tidy before this will work, and it isn't the fastest plugin due to the use of the filesystem. On the other hand, you can start making valid pages again!

[via Dive into Mark's b-links]
Posted by xian at February 19, 2004 10:32 AM
Other incoming links (via Technorati)

Hosted by Mediajunkie.

Sponsors
On this day in 2003
Get your war on early and often: My favorite pundit for these extreme times has gotten Get Your War On No. 19 out:... (Miscellany)
Brush with Havel: Let's Hear Your Havel Anecdotes! Everybody's got one. Mine was already written once, by Greg McIlvaine. To loosen up your memory box, here's a fine David Remnick essay in the New Yorker, a Paul Wilson National Post account of Havel's last days, and some Guardian reminiscences from Timothy Garton Ash. –Matt... (Salon Bloggers)