Understanding the Basics

Before we jump into implementing a search feature on your site, it's important to get a broad view of Movable Type's approach to searching. We'll get into detail on these points later in the hour, so don't worry if you don't understand right away how to do the things I'm talking about.

The searching for all the weblogs you publish with your install of Movable Type is handled by one script, mt-search.cgi. This script will be the action of every search form you create—unless, of course, you write your own search script.

Searches can be performed on the content of your weblog entries, or, if you've enabled comments (see Hour 14, “Getting Started with Comments”), on the comments people have left, or both. The default behavior, ...

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.