Ben Goodger wrote:
> Along Daniel's lines, pages might also have <link> tags that define
> them, similar to how feeds are connected.
Yeah, that sounds like the right approach. Then <link
rel="microsummary"> or the like can serve the same purpose that the
processing instruction serves in XML. The target of that link could be
either a simple RSS/Atom feed or an XML file containing a microsummary
definition.
> When the user adds a bookmark to the page, the microsummary could be
> offered.
Indeed, and shaver has pointed out that several microsummaries might be
available for a given page, so the user should be able to choose between
them. I'm not sure the best way to expose that in the UI. At the
moment the prototype uses a Display drop-down menu in the Bookmark
Properties dialog with an entry for each microsummary plus an entry for
the title of the page (for when the user doesn't want to display any
microsummary), i.e.:
http://www.melez.com/mozilla/microsummaries/add-bookmark.png
> Here are some additional questions:
> - how do people get and install them?
> - how are these things updated?
The extension manager rearchitecture (both front- and back-end) seems
well-suited to adding additional types of addons. My thoughts are that
we would create a new type, something like "microsummary support pack"
(naming suggestions welcome), for a kind of addon that installs
additional microsummary definitions into the browser to support
summarizing more pages.
Dan Veditz has suggested that it's in our interest to minimize the
number of addons, since users who get used to installing them might be
easier to fool into installing a malicious one, and thus we should
instead institute a simpler install mechanism like the one for
installing search engines.
But in this case I think a new addon type is justified because (unlike
with search engines) microsummary definitions are likely to change
regularly as page layouts change, so we need an update mechanism for them.
> - do you have any notes/docs about the implementation of your extension
> (integration hooks, etc).
I haven't produced much technical documentation so far besides comments
in my prototype (which has evolved significantly since I released it as
an extension last month), but I'll put a technical overview together
soon, and I'll also release an updated extension to help folks evaluate
the feature.
-myk