Microsoft Activities for Firefox

After looking at Microsoft Activities in IE8 and noticing that they look suspiciously like my ideas around actions in Operator, I decided to implement them in Firefox.

For your downloading pleasure, here is a first pass at Activities support in Firefox. I haven’t actually looked at IE 8, so what I did was based on the page about Activities I saw this morning. You can install activities from the Service Gallery, and then if you open a new window, those activities will be active (they don’t become active in the page you download them from – working on that). To use an activity, highlight some text and right click on it.

If folks think this is interesting, I’ll keep working on it. Enjoy.

Note this doesn’t support previews yet – I’m working on that.

27 Responses to “Microsoft Activities for Firefox”

  1. Alfred Kayser March 5, 2008 at 4:54 pm #

    This is amazing. Microsoft trying to get some new stuff in IE8, and Firefox already has it before IE8 even is available, and using a simple extension with only some XUL, CSS and JS for that.

  2. John March 5, 2008 at 4:55 pm #

    I think it’s interesting. Not essential though.

  3. Bill March 5, 2008 at 5:02 pm #

    I thought the same thing. The only difference is that so far from what I can tell, operator is more powerful. I figured that this would become a part of operator at some point if it didn’t already exist (I last used operator at version .7 or something like that; I stopped because I started using Minefield during the alphas).

  4. Pau Tomàs March 5, 2008 at 5:25 pm #

    Good idea, when I read about that “new” feature on IE8 I though “that shouldn’t be hard to implement” seems like I was right :)

    However it’s not working for me, seems to fail while appending the query string to the URL, it adds an & instead of an ? for the first parameter.

  5. Alex Faaborg March 5, 2008 at 5:26 pm #

    Apparently activities in IE8 don’t require any form of microformat parsing or data detection, beltzner was saying that he still has them available on a 404 page. However the The OpenService spec is still useful for passing data to a Web application (http://msdn2.microsoft.com/en-us/library/cc289775(VS.85).aspx).

  6. Gustavo March 5, 2008 at 5:55 pm #

    Thanks Mike, Do you plan to implement IE8 webslices in operator addon?

  7. Percy March 5, 2008 at 5:56 pm #

    I don’t get it. Is this just a way to pass a selection to a web service? From a quick read of the OSD white paper it seems to me it’s just that with the “categories” element providing some verbs to display but no real differentiation among data selections.

    It looks like a nice improvement over Content Search http://mozillalinks.org/wp/2007/04/powerful-firefox-context-search/ combined with some other Firefox extension that allows to make a search engine of any search box. But far from microformats’ capabilities.

  8. Gustavo March 5, 2008 at 6:07 pm #

    Mike, How do you install the service from the Service Gallery? The links don’t do anything in my case and I have also tried to open the xml openservice description url.

  9. mkaply March 5, 2008 at 6:15 pm #

    @Pau: I got some of the query parameters wrong. Tomorrow’s version should be much better.

    @Gustavo: No idea on the webslices. Have to do more research.

    @Percy: Yes, that’s basically all it is – passing a selection to a web service.

    @Gustavo: I’ve added the necessary function to Firefox via a component to add services (window.external.addService). Not sure why it isn’t working for you. Can you turn on javascript.options.showInConsole in about:config and see if you get an error?

  10. Gustavo March 5, 2008 at 6:43 pm #

    Error: window.external.addService is not a function
    Archivo de origen: javascript:window.external.addService(‘OSDFiles/LiveSpaces.xml’);
    Línea: 1

    Firefox 3.0b2
    Microsoft Activities for Firefox 0.1

    Do you plan to include support for openservice activities in the operator addon? (to configure actions for the microformats found)

    Thx.

  11. mkaply March 5, 2008 at 7:26 pm #

    @Gustavo: interesting. My component isn’t registering for some reason. I’ll try on beta 2.

    As far as openservice goes, they haven’t done enough yet to accomdate microformats (except for single microformats like tag).

    So what I’d like to do is work together to perhaps extend the model, and then yes I would love to add support into Operator.

  12. David Naylor March 5, 2008 at 9:33 pm #

    Hmm… yes this does sound very much like the Context Search extension. Which is a great extension btw, so this is good for IE8 users.

  13. Gustavo March 6, 2008 at 9:14 am #

    Thanks Mike, If you need me to do any test don’t hesitate to tell me.

    I would like to have a generic mapping, that could be used to map any microformat to the openservice specification, being able to do things like this:
    - Activities context: context=”microformat.hCard”
    - Activities variables: {microformat.hCard.fn}

    It would be great.

  14. Dan March 6, 2008 at 2:21 pm #

    Firefox 3b3 seems to block Activities from being installed:

    Security Error: Content at javascript:window.external.addService(‘OSDFiles/facebook%20find.xml’); may not load data from http://ie.microsoft.com/activities/en-en/Default.aspx.

  15. mkaply March 6, 2008 at 10:11 pm #

    We just figured out the security error thing, and it will be fixed in tomorrow’s build.

    Basically I was testing on trunk (where it works) and Firefox 2 (where it works),

  16. VT March 7, 2008 at 11:59 am #

    No wonder Firefox is being adopted by many!!!!

  17. Stephen Paul Weber March 7, 2008 at 2:10 pm #

    Why is it interesting to support this again?

    If they had added ‘actions’ to view a map, etc of microformatted data (can you say operator?) it would be news. They created yet another proprietary format instead.

    Do not want.

  18. mkaply March 7, 2008 at 3:45 pm #

    @Stephen Paul Weber

    It’s an interesting experiment but I do agree with you.

    I have a critique of Microsoft Activities planned for next week.

    My main goal in this work was simply to experiment with how easy it was to put the functionality in Firefox.

  19. Daniel Tisza March 9, 2008 at 3:11 am #

    I made a Firefox extension SelectionQuery for using selected text in custom GET & POST queries, accessible from the right-click menu. I figure that you could do pretty much all Activities :) with this, without the need for waiting for someone to create a description of the service.

Trackbacks/Pingbacks:

  1. John’s Blog » Blog Archive » operator -> activities in an afternoon - March 5, 2008

    [...] microsoft demoed activities in ie8 beta this morning, and by this afternoon, mkaply’s prototyped it in firefox using his operator work. totally, totally great. [obviously based on a great firefox platform and [...]

  2. Eddie Welker’s blog » Blog Archive » Big release day on the webbernet - March 5, 2008

    [...] Firefox Operator plugin (for Microformats) has already given a go at implementing Activities, which were announced at today’s IE8 [...]

  3. Internet Explorer 8 Beta 1, first impressions : Mozilla Links - March 5, 2008

    [...] Michael Kaply, creator of Operator has already developed Microsoft Activities, a Firefox extension that processes OSD files and add content search [...]

  4. Internet Explorer 8 lupaa paljon hyvää web-kehittäjille - March 6, 2008

    [...] Musings: Microsoft Activities for Firefox Post a comment | Trackback [...]

  5. Activities and webslice in Firefox « What I Think - March 12, 2008

    [...] were available for Firefox. Get the feel of new features of IE8 in Firefox. Get the add-ons here Activities  & webslice. Technorati Tags: [...]

  6. Get Internet Explorer 8’s New Features in Firefox Today | MeltedCube - March 14, 2008

    [...] to the add-on framework for Firefox, Michael Kaply, developer of the Operator add-on, has already prototyped an add-on that duplicates the IE 8 Activities menu in Firefox. In fact, it uses the same services (which, right now, aren’t all that extensive, [...]

  7. Activities aneb kam se pod?ly mikroformáty v IE 8 - Martin Hassman: blog nejen o prohlíže?ích - June 27, 2008

    [...] (možné to je, jejich specifikace je ve?ená). A nelíbí se jenom m?, Michael Kaply je naportoval ve form? rozší?ení do Firefoxu. První ?áste?n? funk?ní verzi m?l hotovu za n?koli [...]

  8. Primeras impresiones sobre Internet Explorer 8 Beta 1 « Mozilla Links en español - October 24, 2009

    [...] todas maneras, Michael Kaply, el autor de Operator, ya ha desarrollado Microsoft Activities, una extensión de Firefox que procesa los archivos OSD y añade contenido a las actividades [...]

Leave a Reply:

Gravatar Image