Hour 19. Scrubbing Content with Sanitize

Wouldn't it be great if you could always trust that the data coming into your weblog from various sources would be formatted just the way you want it? Unfortunately, for any number of reasons, this is usually not the case. Luckily, Movable Type provides a tool called Sanitize that can help solve this problem.

In this hour you will

  • Learn how Sanitize works and why you'd want to use it

  • Change the global Sanitize settings for all weblogs in your Movable Type install

  • Change the Sanitize settings for a single weblog

  • Manipulate Sanitize's behavior for individual template tags

We'll start out with some theory and concepts to lay a foundation for the examples that will follow, so let's get this hour started!

Get Sams Teach Yourself Movable Type in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.