I was wondering if anyone knows how to make a link to an ebook such that the appropriate application will be launched to interpret the file. I'm wondering if there's some kind of attribute for the <a> tag that works client-side or whether one must send HTML headers with the appropriate mime type or something like that. Perhaps there's an RFC for this?

I'm especially keen that this work on portable devices like the iPhone. E.g., one is browsing the internet in Safari, clicks an ebook link, and Stanza or Kindle launches.