Script for batch creation of Blojsom blogs
This is the script I use to batch-create blojsom blogs; it’s based on a user-contributed script available here.
To use, you just run the script and pass it the name of the input file containing your user data. For example,
./addblojsomuser studentdata.txt
If you’d like more copious output to verify it’s using the correct values, pass another dummy argument to it:
./addblojsomuser studentdata.txt a
The script expects the user data file to be of the following format:
"userID","LastName","FirstName","email@somewhere.com","","PassWord"
If your data file is different, just modify how the username, first name etc. are defined at the top of the while loop.
Apologies for the messy variable names.
Well, I tried to paste it in here but despite using <pre>, Wordpress wanted to escape all my quotes. Get the script, the blog.properties file, and the plugin.properties file. These .properties files go in the bootstrap directory. I believe the only plugin you might have to install is the technorati-tags plugin.