Tangled Trails: A Western Detective Story by Raine, William MacLeod
 is a Project Gutenberg book, now on Github.