NOTICE:
This content is in the "archives" of Gadgetopia. It has been moved to this subdomain as it is no longer considered relevant to the site. It is being hosted here for a indeterminate period of time. Its existence at this URL is not guaranteed, and it may be removed at any time. If you would like to refer to this content in the future, you are encouraged to save it to your local file system.

Paginating Category Archives

Originally published by "dbarker" on 2005-08-01 16:56:00Z

MT Extensions: MTPaginate 1.24: I finally broke down a paginated the category archives. If you remember, I lamented about massive category archives a few weeks ago.

MTPaginate is a beautifully well-thought out plugin. Movable Type still writes all the entries to the page, but MTPaginate inserts PHP code to only display the content indicated as being on the current page, according to a querystring argument. And the plugin provides scads of options for page navigation – more than I bothered to figure out.

The end result is much improved. The software category, for instance, is a 545KB file sitting on the server (it has over 500 entries), but by chopping it up into 15 entries per page, the biggest page anyone can ever download is about 75KB.

Not a perfect solution, but certainly better than where I was.