Places:Live Bookmarks: Difference between revisions

m
Line 11: Line 11:
== Updating livemarks ==
== Updating livemarks ==


The livemarks service updates livemark feeds much like the old bookmarks system did.  It periodically runs a function which goes through the list of livemarks and checks if any need are expired, and updates them if so.  It uses a stream listener called [http://lxr.mozilla.org/seamonkey/source/browser/components/places/src/nsBookmarksFeedHandler.cpp nsLivemarkLoadListener] to do the update.  Livemarks are locked while they update, so that two stream listeners can't accidentally load the same feed at once.
The livemarks service updates livemark feeds much like the old bookmarks system.  It periodically runs a function which goes through the list of livemarks and checks if any have expired, and updates them if neccesary.  It uses a stream listener called [http://lxr.mozilla.org/seamonkey/source/browser/components/places/src/nsBookmarksFeedHandler.cpp nsLivemarkLoadListener] to do the update.  Livemarks are locked while they update, so that two stream listeners will not accidentally load the same feed at once.