APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

Understanding Microsummaries


© October 2006 Anthony Lawrence

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="https://aplawrence.com/latest" />
<link rel="microsummary" href="https://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.


Got something to add? Send me email.





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

Printer Friendly Version

->
-> Understanding Microsummaries


Inexpensive and informative Apple related e-books:

Take Control of High Sierra

Take control of Apple TV, Second Edition

Take Control of Automating Your Mac

iOS 10: A Take Control Crash Course

Digital Sharing Crash Course




More Articles by © Anthony Lawrence




Printer Friendly Version

Have you tried Searching this site?

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


Printer Friendly Version





All of science is nothing more than the refinement of everyday thinking. (Albert Einstein)




Linux posts

Troubleshooting posts


This post tagged:

Basics

Web/HTML



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode