Less Wrong EBook Creator

post by ScottL · 2015-08-13T21:17:01.215Z · LW · GW · Legacy · 5 comments

Contents

  FAQ:
  How can I quickly get the tool running?
  How does it work?
  What sites can this tool pull posts from
  Do you have some example output of the tool?
  Do you have some example input data that I can use to create epubs?
  Do you have an example cover page that I can use
  Where can I download the tool?
  Where can I download the code?
  How do I create an input file?
  I created or improved some of the input files by adding summaries. Should I share them?
  I found a problem with the tool or it is not working. What should I do?
  What does “Parent comment not included” mean?
  Hasn't someone else already done this?
  Why is this a separate GUI and not integrated into less wrong?
None
5 comments

I read a lot on my kindle and I noticed that some of the sequences aren’t available in book form. Also, the ones that are mostly only have the posts. I personally want them to also include some of the high ranking comments and summaries. So, that is why I wrote this tool to automatically create books from a set of posts. It creates the book based on the information you give it in an excel file. The excel file contains:

Post information

Sequence information

Book information

The only compulsory component is the link to the post.

I have used the tool to create books for Living LuminouslyNo-Nonsense MetaethicsRationality: From AI to ZombiesBenito's Guide and more. You can see them in the examples folder in this github link. The tool just creates epub books you can use calibre or a similar tool to convert it to another format.  

Below is an FAQ on how to use it. If you have any other questions, let me know.

FAQ:

How can I quickly get the tool running?

Download the tool from this dropbox link. Copy the jar and the lib folder and then run.

You can use the xlsx files in the examples folder at this github link for input.

You can use the lesswrong.html file in the resources folder at this github link for a cover page. If someone wants to create a better cover page, then I will update it.

How does it work?

The below image is an example of the program running.

Descriptions of each of the configurable options are below:

Comment 1 7 points

 Comment2 3 points

Comment 3 5 points

Comment 1 2 points

Comment2 3 points

Comment 3 5 points

Comment 1 7 points

Comment2 3 points

Comment 3 5 points

What sites can this tool pull posts from

Do you have some example output of the tool?

See the epub files in the examples folder at this github link

The example books had the include comments option checked and the threshold was set to 5.

Do you have some example input data that I can use to create epubs?

See the xlsx files in the examples folder at this github link

Do you have an example cover page that I can use

See the lesswrong.html file in the resources folder at this github link

Where can I download the tool?

Here is the dropbox link to the jar file. Copy the jar and the lib folder and then run.

Where can I download the code?

At this github link

How do I create an input file?

Copy one of the xlsx files in the examples folder at this github link. Update it as appropriate, e.g. change the links to the posts.

Each row in the first sheet defines a post that will be included in the book, its title, a summary to display for this post and which sequence and book it belongs to.

The second and third sheet define the summary to be shown for the sequence and book.

I created or improved some of the input files by adding summaries. Should I share them?

Yes. I haven't written summaries for most of the example excel files. If someone wants to write summaries. then I will then add them to the github link.

I found a problem with the tool or it is not working. What should I do?

Post a comment below and I will look into it.

What does “Parent comment not included” mean?

An example of this is when you have Include children comments >= threshold set and threshold at 5. If you had the below comments, 1 and 3 would be included, but comment 2 would not be. When you include children comments there is normally a link to the parent comment. However, the parent (comment 2) for comment 3 is not included as its score was less than the threshold. Hence, "parent comment below threshold" indicates that the parent comment was not included. If you do want to include comment 2, then you should recreate the book with the include children or parent option selected.

Comment 1 7 points

Comment2 3 points

Comment 3 5 points

Hasn't someone else already done this?

Yes. See here for some examples, but I don't think that included any ability to get comments or summaries.

Why is this a separate GUI and not integrated into less wrong?

I was really just writing this for myself and also based on what was said here, also below, it sounds like it should be separate.

Matthew Fallshaw:

Implementing this in the code doesn't seem to be significantly better than implementing an independent scraper, and it increases the amount of code we have to maintain. I think this is not a desirable feature.

5 comments

Comments sorted by top scores.

comment by mrexpresso · 2015-08-12T14:37:44.249Z · LW(p) · GW(p)

good tool, you should add a license, Here some links choosealicense.com, fsf approved licenses

Replies from: ScottL
comment by ScottL · 2015-08-14T01:12:14.287Z · LW(p) · GW(p)

Thanks for the suggestion. I added the GNU public licence v3.

Replies from: mrexpresso
comment by mrexpresso · 2015-08-14T14:56:59.814Z · LW(p) · GW(p)

good choice!

comment by Xyrik · 2015-10-04T03:11:59.763Z · LW(p) · GW(p)

When you say you've used it to create an ebook form of Rationality: From AI To Zombies, do you mean the one that is currently for sale, or some other version?

Replies from: ScottL
comment by ScottL · 2015-10-05T02:42:15.299Z · LW(p) · GW(p)

Rationality: From AI To Zombies is essentially a book version of 333 posts from Eliezer Yudkowsky with some extra introductions. The tool I created just amalgamates all those 333 posts with comments, if you want, and creates an ebook. The one for sale will be slightly different as I believe that some of the posts were rewritten for the book. The tool just pulls the posts from this site. The reason I created an ebook of it with this tool was that I also wanted to read the comments. If you don't, then I recommend that you just buy the book. It is “pay-what-you-want”.