This post describes how I created a PDF document from a set of twitter statuses. I created a XSLT stylesheet transforming a twitter status as XML. This stylesheet is available on github at: https://github.com/.../twitter/status2fo.xsl. The stylesheet transforms the XML file generated by the twitter API (e.g.:http://api.twitter.com/1/statuses/show/44175380516585472.xml) to XSL-FO. This xsl-fo is then processed by Apache-FOP to generate a PDF.
fop -pdf result.pdf -xml status.xml -xsl status2fo.xsl














