User:Archaeopteryx/Customizable Microsummaries

From MozillaWiki
Jump to: navigation, search

Introduction

With Firefox 2 RC 2, microsummaries aren't directly customizable, the only possibility is changing the updateInterval in about:config. For different sites, there should be the possibility of different settings.

Update Interval

Firefox should check in this order for updating Microsummaries / Live Titles:

  1. Microsummaries global enabled / disabled without reading custom update interval from bookmark (disabled: stop, enabled: go on)
  2. Microsummaries for this generator all enabled / disabled without reading custom update interval from bookmark (disabled: stop, enabled: go on)
  3. Microsummaries with custom update interval? if yes read update interval and update, finish this task
  4. Generator of this microsummaries with user defined update interval? Yes: read update interval for this microsummary from generator, update and finished)
  5. Read update interval for this microsummary from generator, if exists update and finish
  6. Read update interval from browser.microsummary.updateInterval


Menu Commands

For managing the microsummaries, menu commands are needed. They could be integrated in the bookmarks menu, but with many bookmarks, loading takes very long and so an (optional) toolbar button with drop-down-menü would be very helpful. The commands should be.

  • Global
    • enabling / disabling of update
    • enabling / disabling of showing the Live Title (so all microsummaries can be switched to normal title or the live title)
    • setting global update interval

--- Now a list of all installed Microsummary generators with following sub-menu:

  • Enable/disable microsummaries
    • ignoring the user setting for this bookmark / recognizing the user setting for this bookmark
  • Set update interval for this generator
    • ignoring the user setting for the bookmark / recognizing the user setting for each bookmark
  • Update microsummaries for this generator
    • Now
    • All xx minutes
    • Half-periodic: Start every day/weekday/week/month (now number of this) and check until microsummary changes all xx minutes
  • Rename the generator
  • Delete the generator
  • Update the generator
    • Check all xx minutes for update for the generator
    • Disable check for updates for the generator
    • Check now for updates for the generator

Alerts if content changes

There should be the possibility for the following war of alerts:

  • JavaScript alert box
  • Logging to .log-File
  • Writting to XML-File for opening in RSS-Feed-Reader with possibility of sending events to XML-File per Generator or to a global file, The feed should link the page with the page name as title and old and new value as item description
  • Open automatically as new tab in background
  • Open automatically as new window in background
  • Virtual bookmark folder for bookmarks which changed, opening them removes from the folder

Bookmark dialog

So this is needed:

  • Enabled/disable checking for updates
  • Periodic update check
    • Get from generator
    • user-defined
  • Half-periodic update check: Start every day/weekday/week/month (now number of this) and check until microsummary changes all xx minutes
  • Alert-type for changes with drop-down-menu for options above or multiple options