tucuxi.org: software engineering, photography and troubleshooting

After today's rumours of a buyout of LiveJournal, I thought it might be prudent to write an export script for past LJ entries.

The script listed below is a bit of a hack; due to Debian's compiled-in xmlrpc extension, which conflicts with the PHP XML-RPC library that I'm using, I've had to modify the xmlrpc.inc from the above site a bit. Basically; s/xmlrpc_/lxmlrpc_/g, where the 'l' stands for 'local'.

The script exports into what can be vaguely described as XML, with the files dumped into the current directory as 1..9999.lj.

Run the script like this:

php ljexport.php -u myljusername -p myljpassword

php ljexport.php -h <-- For help on options

The following files are released under the licences contained within the source. ljexport is licensed under the BSD License, and XMLRPC is licensed as per xmlrpc.inc.
ljexport.0.1.tar.bz2 (12kb)

tucuxi.org content is copyright © 2001-2007.

social network