self-publishing

Self publishing a programming book

I was wondering if any SO members have had the opportunity to self publish a programming related book. Do you have any advice regarding the process? I don't have any problem maintaining the structure of my book, table of contents, and actually pumping out the chapters. But what does one do for technical reviews, editing, proofing, etc...

On-demand publishing api?

Lulu.com is a "self-publishing" service. It appears that they used to have an api, but it is no longer offered. I was wondering if there are any similar services in which I could use a scripting language to generate book documents (pdf, xml, whatever), and programatically place individual orders for custom books. ...