Grammatically Correct Comment Counts With PerlScript Plugin

Filed under “What's New” and “Blogging
by Adam at 9:03 PM

Permalink :: 3 Comments

Tired of the comment count on your Movable Type blog reading “0 comments… 1 comments… 2 comments”?

I’ve found a way around this with Brad Choate’s PerlScript plugin for MT. This plugin allows you to write Perl code directly into your templates, where it will be executed at compile time to perform whatever actions or alterations you specified. With Perl’s powerful string-manipulation capabilities, the possibilities are endless.

(more…)

Comments and Trackbacks Combined Using SimpleComments Plugin

Filed under “What's New” and “Blogging
by Adam at 8:38 PM

Permalink :: Make a Comment

I’ve just combined the comments on and trackbacks to my entries into one list (as it should be) using the SimpleComments plugin from Adam Kalsey.

This plugin is dead simple to use. For example, the code for my comments and trackbacks now goes like this:

<MTSimpleComments smarty_pants="1" safe_urls="1">
<MTSimpleCommentIfTrackback>
<div class=”blogbody”>
<p><a id=”t<$MTPingID$>”></a><$MTPingExcerpt$></p>
<p style=”font-style:italic”>Trackbacked from: <a href=”<$MTPingURL$>”><$MTPingTitle$></a> on <$MTPingBlogName$> at <$MTPingDate$></p>
</div><br />
</MTSimpleCommentIfTrackback>

<MTSimpleCommentIfComment>
<div class=”blogbody”>
<a id=”c<$MTCommentID$>”></a>
<p><$MTCommentBody$></p>
<p style=”font-style:italic”>Posted by: <$MTCommentAuthorLink show_email=”0″$> at <$MTCommentDate$></p>
</div><br />
</MTSimpleCommentIfComment>
</MTSimpleComments>

That’s all there is to it! Comments and trackback are also now counted together in the post info given for each entry using the <$MTSimpleCommentCount$> tag. Note that this will only work in Movable Type.

Keirsey/Jung Personality Test with Career Suggestions

Filed under “Web Links” and “Miscellanea
by Adam at 12:03 PM

Permalink :: Make a Comment

Career Inventory Test results:

Extroverted (E) 57.5% Introverted (I) 42.5%
Imaginative (N) 75.76% Realistic (S) 24.24%
Intellectual (T) 50% Emotional (F) 50%
Easygoing (P) 61.11% Organized (J) 38.89%

Your type is: ENTP

You are an Inventor, possible professions include — systems designer, venture capitalist, actor, journalist, investment broker, real estate agent, real estate developer, strategic planner, political manager, politician, special projects developer, literary agent, restaurant/bar owner, technical trainer, diversity manager, art director, personnel systems developer, computer analyst, logistics consultant, outplacement consultant, advertising creative director, radio/TV talk show host.

(refferred to this test by Jen’s blog, source of much info and ammusement)

Choosy Conservatives Choose Kerry

Filed under “Web Links,” “Culture,” and “Politics
by Adam at 10:47 AM

Permalink :: Make a Comment

My friend Jen alerted me to an amusing poll on her blog. Go take this survey on the presidential candidates by the famously conservative American Family Association, and you may be surprised who’s in the lead.