Re: Bookmark/History DB SoC project
- From: Jamie McCracken <jamiemcc blueyonder co uk>
- To: Christian Persch <chpe gnome org>
- Cc: epiphany-list gnome org
- Subject: Re: Bookmark/History DB SoC project
- Date: Mon, 29 May 2006 22:57:44 +0100
Christian Persch wrote:
> There is no spec for the history/bookmarks integration yet, no. All we
have is some ideas at
http://live.gnome.org/Epiphany/BookmarksHistoryIntegration . The firefox
3.0 "Places" [http://wiki.mozilla.org/Places] work goes in about the
same direction.
So the first step would be to produce a rough outline of how this should
work. I think Peter Harvey had some ideas about this (he was also going
to mentor an eventual SoC project about this), maybe he can help you
here (he's rather busy atm though).
Thats fine - I wont be able to start on anything here until July at the
earliest. So theres plenty of time for anyone to come up with such an
outline in the meantime.
I would need to know what metadata is needed by default and this should
be in similiar format to Tracker's file metadata spec at :
http://freedesktop.org/wiki/Standards/shared-filemetadata-spec
so I expect you will have metadata like "Bookmark.Uri" and
"Bookmark.LastVisitedDate" etc
One thing to keep in mind is that the history data isn't just queried
explicitly by the user, but also (and with great frequence on pageload)
by the browser to determine link colouring, so it needs to be *fast*.
okay. Obviously use of Dbus is going to have a round trip latency
associated to it if you are performing synchronous calls (I would guess
around 2ms per round trip)
Two workarounds spring to mind:
1) Use async calls so epiphany renders links with a default colour and
the re-colours them in a callback if its a history link.
2) We have a GetHistory method in Tracker to return all Uris as a
GHashTable for the last X days which Epiphany can call on start up. If
link colouring needs to be synchronous then this would be the best
solution.
--
Mr Jamie McCracken
http://jamiemcc.livejournal.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]