May 22, 2005

"bookmark this" hack for del.ici.ous

Quoting from bookmark this:

I've added a little bit of code to add a "Bookmark This" link on every post, next to the Comments link, which allows you to kick the user over to to the posting page. There are two pieces to this little hack.

First, you can link to with a GET argument of "url" containing the URL-encoded URL, and you can supply a title in the "title" field, similarly URL-encoded. This effectively lets you put something equivalent to's "copy this" link somewhere offsite. The final URL should thus look like:

Second, a bit of TypePad/MT hackery: In the appropriate place (I added it right after </MTIfAllowComments>) add the following to your Main Index and Individual Archive templates:

| <a href="<$MTEntryPermalink$>&title=<$MTEntryTitle encode_url="1"$>">Bookmark This</a>

Posted by xian at May 22, 2005 11:42 PM


Trackback for this post: Further comment
Other incoming links (via Technorati)

Hosted by Mediajunkie.

On this day in 2004
Blogs gone wild: Chris Pirillo has launched a bogging network at Looks like a private-label instance of Tucows' Blogware oroduct. Looks like Chris has moved his personal blog from MT over to Blogware as well (though there's no credit back-link, so you have to divine that fact by actually reading his entries).... (Products)
On this day in 2003
Radial Freemasonry Blocked: ate my word endings. [via Zeldman]... (Memes)
Dave damns Six Apart with faint praise: Dave often complains when people praise Six Apart products that Userland offered whatever feature in discussion years ago. Maybe that's not the point? Or maybe people are just jealous because he's rich and influential? (He also likes to use Manila sometimes as his counterexample against Movable Type when people make comparisons,... (Salon Bloggers)