Turn an LJ / community into a ebook you say?

Oct 13, 2011 21:17

lj to ebook
Starts with ljmigrate which is easy enough to use to backup your LJ (please do) to files. Mine happen to be on a webserver but that's not really important to the process... it went something like this
pwd ##/Applications/calibre.app/Contents/MacOS export calibre=`pwd` $calibre/web2disk -d ~/Desktop/pron http://example.com/pornography/html/ $calibre/ebook-convert ~/Desktop/pron/special_index.xhtml adric_pron.epub --authors "Adric Net" --title "adric pron" --cover ~adric/pron_cover.jpg $calibre/ebook-convert ~/Desktop/eww/special_index.xhtml adric_pron.mobi --authors "Adric Net" --title "adric pron" --cover ~adric/pron_cover.jpg Then you can look the mobi over with Kindle.app or the epub with calibre's built in reader, either with open. To put it on a device just sideload. Here's a FAQ on that: http://dearauthor.com/ebooks/dear-jane-ebooks/dear-jane-how-do-i-sideload-ebooks-onto-the-kindle. Et voila! details
Needed these regexes to get the datestamps out after adding titles by year (by hand) while working on a custom index. Everything I did was scriptable (I used TextMate) and I'll try harder if this becomes a repeat task past tonight ... ran these on the index.html with Option Command R : sort -n sed -e 's,^\+ \ ,,' sed -e 's,^....-..-.. ..:..:..: ,,' Cover image should be 600x800 they say. Gimp did fine for me there and I used some of the upics from the journal to design a cover. calibre awesomeness is well documented online but was revealed to me by this, found with keyword web convert ebook: http://www.mobileread.com/forums/showthread.php?t=106869 We have some a long way from Plucker and AvantGo I'm pleased to note.

ljmigrate, ebook, hacks

Previous post Next post
Up