GSoC: Zeitgeist weekly report #1

Hey everyone!

This week I've been busy with traveling and moving, but during the past few days I finally managed to work, so here's what I did:

I started implementing Zeitgeist dataprovider for Chrome (using NPAPI), but this turned out to be quite hard, as after the initial implementation the plugin was working fine in Firefox, but didn't want to show up in Chrome, there weren't any error messages and strace didn't even show Chrome trying to open the dynamic library (and strace -f was hanging)... So it was quite "fun"! Anyway today I managed to make it work and now we have a first version of Chrome extension!


Plan for next week is:
  • finish the Chrome extension, so it doesn't send multiple events for one website visit as it does now... Also does anyone know how to get document mime-type in Chrome?
  • if time allows, I'll try to make our new Totem extension to build out of totem tree, which might not be that easy to do (actually I'm not sure it's even possible)

Comments

  1. Rock on Michal! Browser integration will just be so sweet. I imagine that in some time from now we wont be able to understand how we lived without it :-)

    ReplyDelete
  2. Check out the source for this page:
    http://68.226.181.42:60000/~super/xhttpreq.html

    That should do what you want, I think, for getting the mime-type. Just point it to the document that you want the mime-type of.

    Got the code from: http://www.jibbering.com/2002/4/httprequest.html
    See also: http://code.google.com/chrome/extensions/xhr.html

    ReplyDelete
  3. Thanks for the tip, it'd be nice if it didn't require sending extra http request, but it's better than nothing.

    ReplyDelete
  4. Is an Epiphany extension also planned? I find it funny that you work on a Chrome extension given that GNOME has its own browser.

    ReplyDelete
  5. It's NPAPI extension, so it should work fine in Epiphany as well. I'll make sure later.

    ReplyDelete

Post a Comment