According to
this article Smashwords will pay authors and publishers 42.5% of the digital list price (set by the author) for book sales through Amazon. This is a bit more than Amazon pays the author. It seems to me that if you want to publish your own book then Smashwords may be the way to go for the ebook side.