You think we need to do this client-side?  Why not just render the data out when we publish, since we already should know it all, no?