Del.icio.us Metadata
Thanks to a template code snippet for Movable Type by Ben Hammersly, I’ve added a little feature to this site: Related Linking. From now on, in addition to a link to the category page on Submit Response, each post will be followed by links to related tags at del.icio.us.
For the time being, because I’m more interested in integrating my daily linking and weblogging, rather than providing pointers to what other folk are linking to on similar topics, I’ve decided to have the links lead to my own tags instead of the tag directories at del.icio.us which track linking by all users. I might change this, though - it seems a little rude to incorporate del.icio.us like this without acknowledging the social aspect of the service.
If you’d like to do the same, and can’t be bothered fiddling with Ben’s template code, here’s the version I’m using on Individual Entry Archive and Main Index templates (you’ll also need Brad Choate’s handy MTPerlscript for this to work).
<MTPerlScript package="deliciouslinks">
my $keywords="<MTEntryKeywords>";
if ($keywords eq "") {
print "<!-- No Del.icio.us Tags to print out //-->";
} else {
my @splitkeywords = split(/ /, $keywords);
my $splitkeyword;
print 'Related Linking: ';
foreach $splitkeyword (@splitkeywords) {
print '<a href="'."http://del.icio.us/username/
$splitkeyword".'">'."$split_keyword".'</a> ';
}
}
</MTPerlScript>
-
i’ve warned you once about this gobblygeek - i won’t warn you again.
-
It’s happened. You are a perl geek. You’ll be obfuscating next.
-
Hee - dunno if changing a line or two of someone else’s code makes me a geek! Can’t stand perl actually - too complicated for my weak brains…
-
Mommy, What’s a Folksonomy?
After mulling over the idea for the past few weeks, I recently got around to adding folksonomic tags to my individual weblog entries. If you happen to be reading this…
-
Mommy, What’s a Folksonomy?
After mulling over the idea for the past few weeks, I recently got around to adding folksonomic tags to my individual weblog entries. Don’t know what a folksonomy is? The…
Submit Response is a weblog by Jack Mottram, a
6 Comments
Jump to comment form