xanga2mt

Scorecard:

4 Xanga journals converted to Movable Type using this tool

Description:

This Python script will download all of the public postings and comments on a Xanga account and convert them into MovableType's input format. The intended audience for this script is people who are on Xanga, but either have or are in the process of moving over to MovableType. Tripod users may instead be interested in tripod2mt.

Requires:

python. or, if you're a friend, or a friend-of-a-friend, I might consider running the script for you.

Usage:

python xanga2mt [xangausername]

NOTE: the output will be in xangausername.txt

Disclaimers:

I've only tested this on a handful of Xanga accounts. If you have a really weird Xanga modifications, then this will most likely break.

If Xanga decides to change their templates even one character, this will probably break. The script is written using regular expressions that are very sensitive to the HTML layout.

This will not grab your private posts.

Bugs:

Version 0.1 contained two bugs related to comment parsing, which have been fixed in version 0.2. I was able to successfully scrape a Xanga site with about 140 entries 42 comments. Version 0.3 fixed a small problem that was preventing the script from scraping certain Xanga sites. Unless there's more bugs, version 0.2 0.3 will probably be the last version of this script.

To report a bug, leave a comment over here

Current Release:

version 0.3

Past Releases:

version 0.2, which doesn't work on certain sites version 0.1, which actually doesn't work :)