Dave Burke : Freelance .NET Web Developer specializing in Online Communities

CSBlogs : Integrated Bookmarklet

Pursuing my recently acquired social bookmarking and post tagging interests, I needed a better way to add Technorati tags to my blog posts than the Bookmarklets I've seen.

Here's a post by Marshall Kirkpatrick that describes a bookmarklet he created, complete with demo and link to a screencast on how to use it.  In Firefox you can drag the Javascript link to the tab bar and use it with CS or any blogging app.  That doesn't work in IE and Maxthon, which I use about 95% of the time (old habits...).  So to support the IE-side I adding the javascript to a link on my CSBlogs PostEdit page template -- \themes\default\skins\blogs\Skin-CreateEditBlogPost.ascx.  Here's a screenshot.  I formatted and cleaned-up the javascript which you can find in this textfile.

I wanted more control, so it was time to go native with a new "Manage Tags" administrative panel.  I also wanted to use multi-word tags, which Technorati supports and the Javascript bookmarklet didn't.  Below is what the panel looks like and an example of the HTML it spits out.  The guts of the code for both the .ASCX and CSBlogs\Controls\Admin\CreateEditBlogPost.cs files are in this textfile.

 

 

The proof is in the pudding, so let's see if I can tag this sucker....

Technorati Tags:

Comments (6) | Post RSS RSS comment feed

Posted on 12/8/2005 5:57:00 PM by Dave Burke
Categories: Community Server
Tags:

Related posts

Comments (6) -

12/11/2005 10:43:47 AM Permalink

So, with this system, is there a way to extend it to capture tags from a posting client such as w.bloggar?

I.E. If you put something in your post inside

That would be cool!

Not that what you already have ISN'T cool. As far as I am concerned, since I started using .Text, what with all the mods you made, and now on CS, you are THE MAN!!!

vern |

12/11/2005 10:45:28 AM Permalink

Also, does this mod require re-compile?

Oh, your "Remember Me" doesn't.

vern |

12/11/2005 10:46:12 AM Permalink

I take that back. The "Remember Me" does, but the box isn't checked. Should it be, if it's actually remembering me?

I know, I'm a pain...

vern |

12/11/2005 5:01:31 PM Permalink

Hey, Vern.  Welcome back!  It's been a long time!

First, with the "Remember me," you're right.  It should be ON by default.  Next time I'm in the source I'll change it.

As for adding technorati tags, ya know, I never thought about adding tags with a client.  That's interesting.  As long as the tags are entered as hyperlinks with a rel="tag" designation and you ping Technorati afterward, they should show up under that universal tag.  I'll bet this subject came w.blogger forum and would be interested to know the story.

Sorry I didn't answer right away.  I was out of town over the weekend...

daveburke |

12/11/2005 6:35:40 PM Permalink

No apology necessary... I was merely bantering on anticipating checking back occasionally for an answer. I realize you are a workin' man. Plus, Vermont's probably pretty cold now, so I wouldn't expect ANYONE to move that fast.

vern |

12/11/2005 7:10:20 PM Permalink

Vern,  One dirty option for tagging on a client like w.blogger would be to use, say, the blogmark link from your Firefox tab bar, create the HTML in the javascript popup, and copy-n-paste it into your HTML-view of the client post...

daveburke |


Powered by BlogEngine.NET 2.0.0.36
Theme by Dave Burke