Welcome, Guest. Please Login or Register.
Nov 24th, 2024, 11:48am

Home Home Help Help Search Search Members Members Login Login Register Register
Arimaa Forum « Maintaining a mirror of the  archive »


   Arimaa Forum
   Arimaa
   Bot Development
(Moderator: supersamu)
   Maintaining a mirror of the  archive
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Maintaining a mirror of the  archive  (Read 820 times)
IdahoEv
Forum Guru
*****



Arimaa player #1753

   


Gender: male
Posts: 405
Maintaining a mirror of the  archive
« on: May 3rd, 2006, 9:24pm »
Quote Quote Modify 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.
 
IP Logged
BlackKnight
Forum Guru
*****



Arimaa player #695

   


Gender: male
Posts: 98
Re: Maintaining a mirror of the  archive
« Reply #1 on: May 28th, 2006, 1:03am »
Quote Quote Modify Modify

Could you please send me the code.
Maybe I could make use of some of it for the game viewer.
 
Thanks! Smiley
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Arimaa Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.