Need someone to lead product management at your software company? I create software for people that create software and I'm looking for my next opportunity. Check out my resume and get in touch.

This is the blog of Adam Kalsey. Unusual depth and complexity. Rich, full body with a hint of nutty earthiness.

Content Management

Word count plugin for Movable Type

Freshness Warning
This blog post is over 22 years old. It's possible that the information you read below isn't current and the links no longer work.

MTWordCount is a Movable Type plugin that counts your entry’s words and inserts it into your page.

Tim Appnel has taken over the maintenance and support of this plugin as of Oct 2004.

Download

You can get MTWordCount 1.3 by downloading WordCount.zip.

Installation

Once you’ve downloaded and unzipped WordCount.zip, connect to your FTP server and open the directory where you have Movable Type installed.

Create a directory there called plugins if there isn’t one already.

Copy WordCount.pl to the plugins directory and set the permissions to 755.

Using MTWordCount

Once you’ve installed MTWordCount, using it is as simple as placing a new Movable Type tag in your template.

The <MTWordCount> tag goes between the <MTEntries></MTEntries> tags. The tag will count the number of words in your Main Entry text and your Extended Entry text and insert the count into your page.

Example:

<MTEntries> 
	<p><MTEntryTitle><br> 
	<MTEntryExcerpt> (<MTWordCount> Words) 
</MTEntries>

New in version 1.4 is the <MTImageCount> tag. Authors of photo blogs can use this tag just like WordCount to get a count of all the images in an entry.

License

Like our other freeware, this plugin is released under the open-source MIT License. In plain English, that means you can do whatever you want with the software, including modifying it, selling it, or eating it, but we’re not responsible for anything that goes wrong.

Revision History

1.4 - Aug 31, 2002
(New) New tag: <MTImageCount>.
(Changed) Speed improvements.

1.3 - July 14, 2002
(Changed) Text inside HTML tags is ignored.
(Changed) Text is split on any whitespace instead of just the space character.

1.2 - July 14, 2002
(New) Better error handling.

1.1 - June 30, 2002
(Fix) If Entry text or Extended Entry text is empty, an error may occur.

1.0 - June 27, 2002
Initial release.

Recently Written

Video calls using a networked camera (Sep 25)
A writeup of my network-powered conference call camera setup.
Roadmap Outcomes, not Features (Sep 4)
Drive success by roadmapping the outcomes you'll create instead of the features you'll deliver.
Different roadmaps for different folks (Sep 2)
The key to effective roadmapping? Different views for different needs.
Micromanaging and competence (Jul 2)
Providing feedback or instruction can be seen as micromanagement unless you provide context.
My productivity operating system (Jun 24)
A framework for super-charging productivity on the things that matter.
Great product managers own the outcomes (May 14)
Being a product manager means never having to say, "that's not my job."
Too Big To Fail (Apr 9)
When a company piles resources on a new product idea, it doesn't have room to fail. But failing is an important part of innovation. If you can't let it fail, it can't succeed.
Go small (Apr 4)
The strengths of a large organization are the opposite of what makes innovation work. Starting something new requires that you start with a small team.

Older...

What I'm Reading