Chris Schmidt (crschmidt) wrote,
Chris Schmidt
crschmidt

Firefox Extension

Recently, Joel has been working on an extension to make FOAF information encoded in a page more easy to find. Specifically, he's working on a Firefox extension which will light up when there is FOAF information, and display a transparent overly describing the information. I love the idea, and have been watching him attempt to deal with parsing RDF in Javascript - a singularly difficult task in any language, but something I can feel the pain of doing in Javascript.

At the same time, I became interested in the DOAP project, and decided that with a little bit of help from Joel, I could do something along the lines of what he's doing, only much simpler: Simply provide an image that lights up when a page contains DOAP information, and allow the image to be clickable to redirect to an HTML description of the project.

With a lot of help from Joel (He basically did all the hard work, and told me where I could put some of my own Javascript in the files he gave me), I've got it working, my first Firefox Extension.

The project is pretty well described at that page, and is really simple: if a page supports DOAP (with a <link> tag), then it will light up. Click the little icon, and all of a sudden, you're viewing all the information about the project: mailing list, CVS, Maintainer info, etc.

The page, for the time being, is in French only, and maintained by stork, who is now on vacation. However, the idea is something I hope to expand upon, and perhaps to integrate with other similar projects. There are already extensions which do information for CC licensed pages, and with the FOAF extension, these kind of things could be provided to offer a more generalized semantic web plugin.

Mostly, this is just me learning enough XUL+JS to learn how extensions work, and how to make one, but it's still pretty nifty. Fore more information on the extension, see the page.

Also, if anyone tries it out, and it works (you can tell how to tell if it works at that page), please, open Firefox's about page and copy paste me your version string. The same applies if it doesn't work. I have gotten one complaint that in XP SP 2 with the latest nightly build that it doesn't work. I am aware that it will likely only work with .9 and up, because it depends on the new extension manager. Of course, anyone on Windows should be running .92 anyway, as there is a vulnerability in versions less than that.

It's late. I'm tired. But I feel accomplished. And that's a good thing.
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 17 comments