«utility» Microsummary
This class provides static methods to read and write persistent microsummaries.
"Microsummaries" are a Firefox 2.0 feature that allows users to create dynamic bookmark titles that automatically update when the content of the bookmarked page changes.
Have a look at what microsummaries can be:
- the numbers of downloads of a file on a download site
- the latest news on a news page
- current number of unread e-mail in the inbox of a webmail service
- current total of donations to a project
- the date of latest updates on a database
- the latest submission to a guestbook or forum
- the number of visitors currently online in a chat room
- the latest stock values aso.
Examples of usage:
- Setting a microsummary from a plugin:
- Retrieving a microsummary in a plugin:
- To indicate that a microsummary exists for your plugin
add this to your output function
- Calling a microsummary from a browser:
index.php?action=get_microsummary&target=guestbook
(where 'guestbook' is the name of the plugin)
Utility
|
--Microsummary