Web2epub is a project mainly written in ..., it's free.
experiment creating epub files from wikipedia content