Skip to content

External plugin for Epiphany data pushing into Zeitgeist

With D-Bus up and running we managed to write a quick plugin for epiphany that pushes visited websites with the timestamp to zeitgeist. This way we dont need to monitor the epiphany history file anymore! So here is the sample epiphany plugin code.

We know have two options to log:

  1. We monitor applications from within Zeitgeist and log the activities. (Pro: One has a central dataprovider manager to enable/disable logging. Con: Resources)
  2. We allow applications to send its data to Zeitgeist. (Pro: less work for the Zeitgeist team to write dataprovider loggers and less resource consumption from the Zeitgeist side. Con: no central dataprovider manager)

What do you think?

P.S: Try out zeitgeist from our bzr branch. If interested join the mailinglist (still pending) and file bugs.

{ 6 } Comments

  1. Adam Schreiber | May 4, 2009 at 1:33 am | Permalink

    What happens when someone clicks the delete browser history button?

  2. Seif Lotfy | May 4, 2009 at 1:35 am | Permalink

    it does not delete form Zeitgeist
    to delete from Zeitgeist one has to do it from Zeitgeist

  3. mikem | May 4, 2009 at 12:20 pm | Permalink

    That’s the issue I would also think about.

    So you have an instant copy of your history. Not that great.

    Can’t the Epiphany history file not just include timestamps, so you can easily search it on the fly?

  4. Seif Lotfy | May 4, 2009 at 12:24 pm | Permalink

    @mikem
    please explain more. timestamps are a core of zeitgeist i cant leave them out!

  5. James Livingston | May 5, 2009 at 10:51 am | Permalink

    I’d say that (2) is probably better, because the application knows best when interesting things happen (which will reduce resource consumption, as you say). In addition, some applications might not (currently) expose all of their interesting data in a way that is easily monitored externally, and (2) would get around that.

    There is no reason that (2) means you can’t have a central manager. You could have Zeitgeist-enabled applications check with the central manager whether they should be logging information when they start up, and use something like a dbus signal to notify the applications when their logging settings change at run time.

  6. 花蓮民宿 | April 22, 2011 at 3:23 pm | Permalink

    This is my first time i visit here; I found so many useful stuff in your website especially its discussion! From the a lot of comments on your articles. I guess Im not the only one receiving the many satisfaction right here! keep up a good job.

Post a Comment

Your email is never published nor shared. Required fields are marked *