IdahoEv
Forum Guru
Arimaa player #1753
Gender:
Posts: 405
|
|
Maintaining a mirror of the archive
« on: May 3rd, 2006, 9:24pm » |
Quote Modify
|
I've got a nice spot of PHP code I use to maintain my duplicate of the games database. I'm happy to share it if anyone is interested. Just set up the DB, drop the code in a daily cron job, and you're set. My version updates to a MySQL DB and doesn't retain the "Events" column, but it would be pretty easy to modify to change either of those. I wrote it to actually parse the results of the update query and insert them manually, instead of just using mysqlimport, so it would be easierto customize the code do processing and/or conversion at import time if necessary.
|