First time here? Check out the site's "greatest hits" or read a post from the archives. Feel free to leave a comment or ask a question, and consider subscribing to the latest posts via RSS or e-mail. Thanks for visiting!
« Coding4Fun Hardware Webcast - Available ... | Main | Secure and Private Browsing »

I'm still not quite sure why Microsummaries are useful...seems like USS (Über Simple Syndication - my term) to me. I've been meaning to add this to my blog since I heard about it a few months ago, but then MikeG added microsummaries to his site and I figured if a Luddite like Mike would support this emerging format, then I would too. :)

Basically this is how it works:

  • Add a <link> tag inside the <head> of your document like this.
  • In your Microsummary endpoint, return some text/plain with the text you want to show up in the live bookmark.
  • In FireFox Beta 2, either bookmark this site, or drag a link to this site to your toolbar:
    Hanselmanmicrosummaries
  • If you've created the link in your toolbar, right click and select Properties and pick the Microsummary (or "Live Title"). If you've created the link via Add Bookmark, you should already be at this dialog.
  • Once the Microsummary has been selected, it will show up as the title of your bookmark or toolbar button.

This is easy to do to any ASP.NET site. Add an very basic HttpHandler with code like this:

using System;

using System.Web;

 

namespace Foo.Web.Services

{

    public class MicrosummaryHandler : IHttpHandler

    {

        public MicrosummaryHandler() {}

 

        public bool IsReusable{get{return true;}}

 

        public void ProcessRequest( HttpContext context )

        {

             context.Response.Write("Yay Microsummaries...get your summaries here. Get them anywhere.");

        }

    }

}

And add it to your web.config, of course:

<httpHandlers>
            <add verb="*" path="microsummary.ashx"
                      type="Foo.Web.Services.MicrosummaryHandler, 
                            Foo.Web.Services" />
</httpHandlers>

You can also use Microsummary Generators that are basically formalized screenscraping of existing (x)HTML. You make an XSLT that yanks what you want and turns that into plain text suitable for a toolbar button.

Direct (free) support for this has been checked into DasBlog and will be in the daily builds if we ever get this g*dforsaken thing to ship. :)

Tracked by:
http://www.hanselman.com/blog/DasBlog19Released.aspx [Pingback]
http://www.schrankmonster.de/PermaLink,guid,db8087b3-456e-4930-9947-015ebba1afd7... [Pingback]
http://blogs.lefebvre.us/kenneth/2006/09/24/MajorUpgradeToDasBlog.aspx [Pingback]
http://www.leonlau.net/Blog/PermaLink,guid,3131f8f1-9f86-4c95-a09a-fdd5dc5d30d7.... [Pingback]
http://www.chiragbatra.com/blog/DasBlog19Released.aspx [Pingback]


Comments are closed.

Contact

Sponsors

On this page...

Tags

Calendar

<May 2008>
SunMonTueWedThuFriSat
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567

Archives

Google Ads