Document comments on The Library of Scott Alexandria - Less Wrong

45 Post author: RobbBB 14 September 2015 01:38AM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (26)

You are viewing a single comment's thread. Show more comments above.

Comment author: nino 05 October 2015 11:07:51AM 7 points [-]

I made epub and mobi versions. Download here. They contain links to all original posts, so anyone who wants to look at comments can click on the title of each post to do that.

Do let me know if anything's massively broken.

Comment author: Document 12 November 2015 04:10:51AM *  0 points [-]

Thanks! Downloaded; I don't know whether I'll actually read it (it being apparently over 476,000 words), but it's great to have.

Did you use the method RicardoFonseca described?

Comment author: nino 16 November 2015 05:58:01PM 3 points [-]

I actually went through every post and manually copied out the relevant part of the html code. Then I pasted everything into my text editor (fun fact: vim got quite slow handling the >3mb html file, but emacs handled the task really well) and cleaned it up, replacing all <br><br>'s with </p><p> and such. Then I put all the pictures into a folder and changed the references to point to my local files. Then I put it into calibre to create the epub and mobi versions.

In retrospect, I should have just written a script to do all that because it took way too long. The script would have had to handle the different sites differently (especially the livejournal stuff is pretty messy), but it would have been so much faster. Like seriously.