Re-adding AIM Buddies into Gaim from a blist.xml File

Today I wiped out my entire AIM buddy list without realizing that there was no easy way for re-importing them. Since Gaim doesn't have an import function, I had to make a script that allows me to re-add them via the gaim-remote uri feature. Here's the script: