The Slave of the Lamp by Merriman, Henry Seton
 is a Project Gutenberg book, now on Github.