/twitter_book

Create a book from twitter

Primary LanguageRuby

VANITY PUBLISHING, 140 CHARACTERS AT A TIME

Everything you need to make a real goddamned, physical book of your twitter feed.

Well, nearly everything. These scripts will help you generate some XSL:FO that you can run through your favourite XSL:FO processor (I used apache's FOP (http://xmlgraphics.apache.org/fop/), but you might choose something less pathologically batshit insane) to render a whole goddamned book.

So...

$ ./get_tweets username password > all_my_tweets.tsv
$ sort -n all_my_tweets.tsv | ./generate_xml > all_my_tweets.xml
$ xsltproc tweetbook.xsl all_my_tweets.xml > tweetbook.fo
$ fop tweetbook.fo tweetbook.pdf

Right now, I'm getting one printed using Lulu.com, I'll let you know how it goes.

An example of the sort of thing to expect: http://www.techbelly.com/tweet.pdf