Photo Corners

A   S C R A P B O O K   O F   S O L U T I O N S   F O R   T H E   P H O T O G R A P H E R

Enhancing the enjoyment of taking pictures with news that matters, features that entertain and images that delight. Published frequently.

Site Tweak: Word Count Share This on LinkedIn   Tweet This   Forward This

5 November 2020

Oops. Monday night we realized we forgot to include our redesigned form button in the embedded form of our Mike's Method CGI search option. So when we did pop the new code in there, we thought we'd add a little feature for the curious mind.

The feature? A rough word count of all the articles we've published in Photo Corners.

Since Mike's Method is a full text search, counting "words" (more like counting spaces) adds very little overhead. Just another number to increment as we go through the text.

The total is reported at the very end of the report along with the total number of articles searched.

It's not as accurate as a strict word count, but it hardly matters. The rough count is close enough to scare the bejesus out of us.

After Wednesday's stories, as we were testing the new feature, it reported:

  • 6,594 articles and 4,279,026 words searched in 02:29 (mm:ss).

That's a lot of articles. And when you consider our Around The Horn piece is a daily list of items of interest each of which appear as discrete items on other sites, there's a lot to chew on.

And with over four million words since 2012, we've apparently been doing a lot of chewing.

Update (6 Nov.): We rewrote the new code last night when we realized we could add a count of words in the articles where the search term was found. Why would we want to do that? Well, searching for "September 2020," for example, reports how many words we published that month (the date appears in that format at the top of each story).

  • 6,598 articles and 4,280,793 words searched (49,599 words in found articles) in 02:09 (mm:ss).

That compares to the over 59,000 words we published last month, if you're curious.

BackBack to Photo Corners