Captured at Tripoli: A Tale of Adventure by Sheldon, Charles Mills Westerman, Percy F. (Percy Francis)
 is a Project Gutenberg book, now on Github.