skip to main | skip to sidebar

Tables Latency Benchmark

Being the blog of Pete Hopkins. This pirate kills fascists.

Bling-Bling

www.flickr.com

Wednesday, October 24

Trying out Stikkit and writing a Stikkit Google Gadget

I’ve started playing around with Stikkit a little bit. I’m not entirely sure what I want to use it for, but it has the advantage of a pretty good API, which means that, whatever I do with it, I can do it from the Dashboard, Quicksilver, and anywhere I can run my own code.

James Adam, who wrote a Dashboard widget for Stikkit, wrote:
Instead of using Stikkit as my online information repository, I've found that I used Stikkit as a kind of online-short-term memory.
I think that’s a good direction to take, since, with the Quicksilver tool, I can quickly post to Stikkit from home and work, and I can access my Stikkits from anywhere with a browser.

Right now I’m trying out Stikkit for personal todo items (I love OmniFocus at work, but it’s too heavyweight and on-one-machine for home use) and I’m thinking of also using it for tickler file things, since it’s easy to tie dates to things. (Formal events I’m keeping on Google Calendar, sometimes fed in from Upcoming.)

Since I’ve also been recently taken with writing gadgets for iGoogle (mmm… scroll-y) I took a few evenings and wrote a Google Gadget for Stikkit.

Add to Google

The gadget will show a few days’ of upcoming events and also all of your undone todos (except those that appear as events). Clicking on the “-” next to a Stikkit will mark it as done.

You’ll need your Stikkit API key to get this to work. It’s available from your Stikkit account settings page (click on your username).

Driving the Stikkit API from a Google Gadget is slightly tricky. Google provides the _IG_FetchContent function to get around same-domain policy and grab the JSON as text. A simple eval call then turns it into a data structure.

POSTing and PUTing is trickier. I ended up using a <form> element that is targeted at a hidden <iframe>, specifying the “text” format for the result. Stikkit supports a _method parameter to override the POST into a PUT for the todo toggling. This works when it works, but due to cross-domain limitations the gadget code can’t tell when it doesn’t work.

Anyway, if you’re using Stikkit and give this Google Gadget a try, leave me a comment here or drop an e-mail. I’m open to feature requests as well as suggestions into how to get the most out of Stikkit.

Also, if anyone can poke Rael and the gang and get SMS reminders to AT&T working, I would be much obliged.
Posted by Fin at 8:58 PM
Labels: good APIs make me happy, Google Gadget

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Followers

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Blog Archive

  • ►  2009 (7)
    • ►  March (5)
    • ►  January (2)
  • ►  2008 (36)
    • ►  December (4)
    • ►  October (1)
    • ►  September (4)
    • ►  August (8)
    • ►  July (4)
    • ►  May (2)
    • ►  April (4)
    • ►  March (4)
    • ►  February (3)
    • ►  January (2)
  • ▼  2007 (24)
    • ►  December (1)
    • ►  November (2)
    • ▼  October (5)
      • ARRR!!! Parents Weekend show videos
      • del.icio.us "to_read" on iGoogle
      • Trying out Stikkit and writing a Stikkit Google Ga...
      • Skitch
      • Response to Ev’s posting form question
    • ►  September (1)
    • ►  June (6)
    • ►  May (2)
    • ►  March (3)
    • ►  February (1)
    • ►  January (3)
  • ►  2006 (32)
    • ►  December (3)
    • ►  November (1)
    • ►  October (5)
    • ►  September (3)
    • ►  August (2)
    • ►  May (1)
    • ►  April (2)
    • ►  March (1)
    • ►  February (6)
    • ►  January (8)
  • ►  2005 (53)
    • ►  December (8)
    • ►  November (30)
    • ►  October (5)
    • ►  September (10)

Gamercard

Geekness

Twitter Updates

Twitter Updates

    follow me on Twitter

    About Me

    My Photo
    Fin
    I play board games and video games, and sing sea shanties when I can. I like shiny things and tech things and cat macros. I am aware of all Internet traditions.
    View my complete profile

    Search This Blog

    Friends’ Blogs

    • Mihai Parparita
      Infinite Mac: Snow and A/UX
      4 weeks ago
    • Jason Shellen
      methaphone
      10 months ago
    • Graham Waldon
      Card Game: The Fellowship of the Ring
      1 year ago
    • Michael Greenberg
      I’m looking for students!
      2 years ago
    • Adam Saks
      Mengatasi Ambeien Atau Wasir Kambuh
      6 years ago
    • Abstractioneer
      Things People Have Been Impeached For In the Past
      6 years ago
    • Kellan Elliott-McCrea
      New-ish site
      7 years ago
    • tins ::: Rick Klau's weblog
      Jaguar I-Pace first impressions
      7 years ago
    • Jason Goldman
      Links for 2017-02-22 [del.icio.us]
      9 years ago
    • Greg Stein
      PSA: Redbud Custom Homes
      9 years ago
    • --verbose
      How to Write Hello World in Go (in Go)
      12 years ago
    • Stacy Jenson
      I promise not to mommyblog
      12 years ago
    • Eric Case
      Creepy
      13 years ago
    • Vast Public Indifference
      Pompe Stevens, Enslaved Artisan
      13 years ago
    • watched pots | news
      Dogs are cool.
      14 years ago
    • Rachel Grey
      Six months with Ido Portal: game-changer 2011
      14 years ago
    • Lauren Davis
      Best Thing Today: Opinioncat Lady
      14 years ago
    • massless
      Dreams, discernment, and Google Reader
      14 years ago
    • saladwithsteve
      Building F# on Mac OS X
      16 years ago
    • Farang
      Kaiseki
      17 years ago
    • Marty Lichmann
      Janko Keyboard
      17 years ago
    • Shriram Krishnamurthi
      Project Beansprout Successful
      17 years ago
    • Mobile Vince
      Hawaii wrap-up
      19 years ago
    • Chinese Migrant Worker
      More Real Than Real
      19 years ago
    • Laurence Gonsalves
      Copyright Law and the King
      19 years ago
    • Josh Peterson
      St. Pardi Gras Shirts
      19 years ago
    • Buzz Andersen
    • Tina Huang
    • Evan Williams
    • Andy Yen
    • Biz Stone, Genius
    • Kimmy Richardson
    • tajc | taj campbell
    Show 10 Show All
    Powered By Blogger