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.

  • People Suck

    Yesterday I was reminded once again that I hate most people. It started with biohazard tape around a turd in the Madison and 19th bus shelter. I…

  • (no subject)

    Seattle City Light fixed the street light by the forbidden alley, yay!

  • (no subject)

    The driver of a grey astro van 502-NTI is probably off buying crack right now.

  • 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.