This code come from the 68386670 commit of git@sugardextrose.org:ebookreader
branch community-version