I certainly will! I'm fine-tuning the effort (it is not fully perfect), and then I will post code.
I see some guy is out there selling a book of "kindle formatting secrets" for $9.99. I wonder if he has good stuff in there. Obviously he's not the sort to share his discoveries for free.