Eric Hodel (drbrain) wrote,
Eric Hodel

  • Mood:

Writing Dashboard widgets is hard.

So, you don't get any decent debugging support, and you don't get lots of handy widgets like XUL has to do all the hard stuff.

Intstead, alert() writes out to the console, and you can enable Dashboard development mode so you can drag the widget out onto the desktop. So open console and turn on dev mode if you're writing widgets.

That said, here's my first dashboard widget, front and back.

43 Things Dashboard Widget front43 Things Dashboard Widget back

Oh yeah, what does it do? Well, you put in your 43 Things API key and a username, and it tells you how many goals that person has. But, having to apply for an API key rather sucks, and so does pulling the data out of an XML response. So instead, maybe I'll make a DashboardController that zips out text/plain, that way you only have to fill in a username.

  • (no subject)

    I dreamed I was in a grocery store with my mom reading Seattle Weekly from sometime late at night until 11AM. The Seattle Weekly had an article about…

  • Free Microwave! (and stuff)

    I have a convection oven microwave (this means you could bake a cake in a metal pan in it) I'd like to get rid of. If you or anyone you know would…

  • Tools!

    Today I used several of my tools. My new Collector Vehicle plate arrived, so I retired the 948-MPC plates to my closet and attached the new plate.…

  • Post a new comment


    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.