Contact
Archives
Search
Blogs
Newspaper Blogs
English-Language
Press
Polls

January 11, 2004

COMMENT PERMALINKS....A few days ago someone emailed me to say that it would be nice if there were permalinks to individual comments. That did sound nice, but as with so many other good suggestions about my site it required technical knowledge that I didn't have.

Today, though, via Outside the Beltway, who got it from Wizbang, who in turn got it from the agreeably-initialed kd at Hooha, I acquired the minimal knowledge needed to implement this feature. Each individual comment now has a permalink that you can use if you feel like directing your withering scorn toward a specific piece of egregious buffoonery in the comments section.

Technology marches on.

UPDATE: For future reference, here are instructions on how to do this in a Movable Type blog:

  1. In the Comment Listing template, right above the <$MTCommentBody$> tag, add the following tag:

    <a name="<$MTCommentID$>"></a>

  2. Then, right after the "Posted By" text, add the following tag:

    <a href="<$MTEntryLink$>#<$MTCommentID$>" target="new">PERMALINK</a>

  3. Save the Comment Listing template.

  4. Do the same thing in the Individual Entry Archive template. (However, there's no need to include target="new" in the tag. This is done in the Comment Listing template, which controls the popup comment window, so that if you click the link the post appears in a new window, not in the comment window itself.)

  5. The new PERMALINK tag will show up immediately in the comment popup window, but in the individual archives pages it will show up only in new posts. If you want it to appear in all your old posts, you'll have to rebuild your site.

That's it!

Posted by Kevin Drum at January 11, 2004 02:22 PM | TrackBack


Comments

I've always wanted to direct my withering scorn toward specific pieces of egregious bufoonery [sic], and now the happy day has arrived when I can!

Posted by: NTodd at January 11, 2004 02:34 PM | PERMALINK

How come there's so few comments here now?

Posted by: Talking Wall at January 11, 2004 03:07 PM | PERMALINK

Kevin,

Maybe someone e-mailed you about it a few days ago, but I suggested it to you in this post of yours on purely capitalistic grounds. (I would link to the comment directly, but I can't, which is the whole point, isn't it?) Either way, I'm glad you did it.

If I ever start my own blog, I'll have to ask you to forward me the instructions on how to give each comment its own permalink. I still have your post about RSS feeds which included how to make the default Movable Type RSS feed a full one in my "useful pages" list.

Posted by: Mitch Schindler at January 11, 2004 03:19 PM | PERMALINK

Mitch: yep, that's probably what I was thinking of. It was probably your comment, not email.

At any rate, you now have your wish!

Posted by: Kevin Drum at January 11, 2004 03:26 PM | PERMALINK

i always respect the use of the word "bufoonery." well done sir.

Posted by: jason at January 11, 2004 03:49 PM | PERMALINK

kd probably doesn't need the plug, but she's an absolute wizard at this stuff. I've been asking her questions for two years, off and on.

Posted by: Linkmeister at January 11, 2004 03:52 PM | PERMALINK

Just fyi, the proper target for creating new windows is actually target="_blank", not target="new". target="new" will target a specific window named "new" in many cases, which means that if you click on multiple links with it, they'll replace text from the same window instead of opening a new one each time.

Posted by: TK at January 11, 2004 05:09 PM | PERMALINK

I wish you all came with subtitles.

Posted by: dick tuck at January 11, 2004 06:59 PM | PERMALINK

Thanks, Kevin. :)

I implemented this on my blog too.

-kat

Posted by: katster at January 11, 2004 08:17 PM | PERMALINK

This doesn't make legitimate anchors, because anchors can't start with numbers, just letters.

To make this legal, add something like the letter "c" or the word "comment" before your MovableType tags:

<a name="comment<$MTCommentID$>"></a>

<a href="<$MTEntryLink$>#comment<$MTCommentID$>" target="new">PERMALINK</a>

I mention this only because your blog is so well-read, and some folks might not understand why their blogs use non-standard HTML.

By the way, I like to use pad="1" in the MTCommentID tag -- this produces padding to six characters using zeros, so all your links are the same size. It's not necessary, but it just looks nicer.

--Kynn

Posted by: Kynn Bartlett at January 12, 2004 12:28 AM | PERMALINK

I don't know about this,man.

Permalinkable comments. Soon searchable archives.

If people are responsible for their comments, pretty soon only the responsible will comment.
And the Blogosphere will turn all polite and measured and thoughtful

Posted by: bob mcmanus at January 12, 2004 09:36 AM | PERMALINK

My Lord. Just googled myself and all my comments on all these blogs are out there. Still. Forever.

Somehow I thought they got archived, erased, or buried way down in non-googlable midden heaps.

Posted by: bob mcmanus at January 12, 2004 09:50 AM | PERMALINK

Good article, I am fan into China art stuff

Posted by: Chinaboy at March 18, 2004 07:55 AM | PERMALINK

Get it up boy! She will be happy!

Posted by: Cialis at July 7, 2004 04:51 PM | PERMALINK

Get it up mate, it's fun!

Posted by: Viagra at July 13, 2004 04:10 AM | PERMALINK

It gets yours up to the top dude! The girl will enjoy it!

Posted by: cialis at July 13, 2004 10:53 AM | PERMALINK

I don't really think your thoughts are right. Maybe you need a loan?

Posted by: payday loans at July 15, 2004 05:56 PM | PERMALINK

I've been watching some sites that were linked from weblogs.
Now google does not display the weblogs links when you seach for backward links.
It seems that these links don't count anymore.

Also google said that in the future expired domains that still have links on dmoz and other sites will lose those links when the domain expires !!!!!!!!!
adult movies_anime porn_big boobs_big dicks_college girls_cumshots_ebony sex_gangbang_gay sex_hardcore sex_teen porn sex teen models_interracial sex_teen lesbian sex_milf riders_hot milfs_sex movies_pornstar_pornstars_shemale_threesome_big tits_sex video dicks hot pornstar sex teen threesome ebony boobs lesbian teen cumshots milf movies movies big porn hardcore big sex sex girls riders sex sex interracial gay sex teen tits big models adult shemale anime sex pornstars gangbang milfs porn college sex

Posted by: ali9238@yahoo.com at July 18, 2004 11:43 AM | PERMALINK

Hire a car to feel higher!

Posted by: Car hire UK at July 20, 2004 10:01 PM | PERMALINK

Muppets love Viagra!

Posted by: Viagra UK at July 24, 2004 12:18 AM | PERMALINK

Muppets love Viagra!

Posted by: Viagra UK at July 24, 2004 05:34 AM | PERMALINK

"I got everybody to pay up front...then I blew up their planet."
"Now why didn't I think of that?"
-- Post Bros. Comics
paxil

Posted by: paxil at July 24, 2004 06:58 PM | PERMALINK

Chamberlain's Laws:
(1) The big guys always win.
(2) Everything tastes more or less like chicken.
lipitor

Posted by: lipitor at August 4, 2004 08:45 PM | PERMALINK

hi

Posted by: penis enlargement at August 8, 2004 09:57 AM | PERMALINK

First time reading this blog, just wanted to say hi.

Posted by: shemale anime at August 10, 2004 02:20 AM | PERMALINK

816 check out the hot blackjack at http://www.blackjack-p.com here you can play blackjack online all you want! So everyone ~SMURKLE~

Posted by: blackjack at August 23, 2004 05:44 PM | PERMALINK

credit cards uk are cool http://credit-cards.order.gb.com Tuesday 24 August 2004 18:26:26 and I also like Car hire at http://car-hire.order.gb.com and Diecast http://diecast.order.gb.com and Tuesday 24 August 2004 18:26:26 Dating http://dating.order.gb.com and Car Insurance http://car-insurance.order.gb.com Tuesday 24 August 2004 18:26:26

Posted by: credit cards uk at August 24, 2004 09:26 AM | PERMALINK

6909 Herie http://blaja.web-cialis.com is online for all your black jack needs. We also have your blackjack needs met as well ;-)

Posted by: blackjack at August 24, 2004 07:24 PM | PERMALINK

2759 check out http://texhold.levitra-i.com for texas hold em online action boodrow

Posted by: texas hold em at August 26, 2004 09:49 AM | PERMALINK
Navigation
Contribute to Calpundit



Advertising
Powered by
Movable Type 2.63

Site Meter