Understanding Microsummaries


2006/10/30

One of the new features of Firefox 2.0 is support for Microsummaries. These are simply another kind of live bookmark, and in that sense are similar in context to RSS live bookmarks, but are simpler to implement and contain less information.

A webmaster wishing to offer a microsummary simply creates a file containing the information that will be displayed. The file can be just simple text or a more complex XML file that will developer.mozilla.org/en/docs/Creating_a_Microsummary (link dead, sorry) create the text. For the microsummaries I created here, I used simple text files that are updated by internal scripts. There's not much to these files, and in fact they can't be very large because it is their contents that is used as the title of the bookmark in Firefox. When the content of the file changes (and after Firefox updates its cache) the bookmark title will reflect the new data (hence these are also called "Live Titles").

For Firefox to be aware of the microsummary data, it has to be added to page header tags. For example, if you "View Source" on this page, you'll see:

<link rel="microsummary" href="http://aplawrence.com/latest" />
<link rel="microsummary" href="http://aplawrence.com/latestcomment" />

The two files referenced by the hrefs contain simple text:

$ cat latest
Latest Post: Understanding Microformats
$ cat latestcomment
Latest Comment: Inexpensive GPS units

When a user bookmarks a page here (Bookmark, not Subscribe) with Firefox 2.0, the Name space has drop-down arrows which, if clicked, will display the available microsummaries. The created bookmark looks no different than any other bookmark and works no differently except that as the files "latest" and "latestcomment" are updated, the title displayed to the Firefox user wll change to match.

Note that it does take time: I'm not clear on what controls the frequency a which Firefox checks for changes; it seems to be about half an hour or less.

As you have seen, you can offer multiple microsummaries, and they could even be unique to the page. For example, I could create a comment microsummary that would display the latest comment information (date, author, perhaps some text) for the specific page being bookmarked. You could include page counter data, update dates or anything else that changes. The purpose of all this is of course to give the user updated information about the page so that they can decide whether to visit again.





(OLDER) <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> -> Understanding Microsummaries





More Articles by

Find me on Google+

© Anthony Lawrence



Kerio Samepage


Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us