drneau.com Forum Index drneau.com
A discussion board for drneau.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

XML into SQL

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    drneau.com Forum Index -> The v2 Bucket
View previous topic :: View next topic  
Author Message
Rewind
"Miracle Flush"


Joined: 10 Mar 2005
Posts: 113
Location: Columbus, OH

PostPosted: Wed Sep 13, 2006 7:35 am    Post subject: XML into SQL Reply with quote

So I'm looking for something to do to kill time at work and thought of a new project. Granted we only play once a month but any file that gets too large is a bad thing. I want to export the League.drnl file into a mySQL database and then use a modified version of my PHP script to export the league standings.

Now the hard part (once again): I need help designing the structure of the databse. I currently know very little about SQL (I think I can figure most of it out) but the main problem comes from the XML file. The good doctor's XML file is quite complex compared to most "examples" on the interweb. I need to figure out how to structure the database with all the links to each game, player, knockout, rebuy... etc.

Now that I think about it, maybe I'll start in Access, get my structure worked out, then move it to SQL.

So, anyone know how to move XML into Access?


On a side note, I'm fairly broke at the moment (Divorce, Selling House... etc.). Has any of this already changed in version 3? I might chip in a few bucks to play around with it, but I would like to know what features have been added before I buy.
_________________
<thwack> NOooooooBODY expects to lose to Rewind!
My chief weapon is the rebuy.
ŽDr. Neau 2005
Back to top
View user's profile Send private message
drneau
Site Admin


Joined: 13 Feb 2005
Posts: 2385
Location: Woodbury, MN

PostPosted: Thu Sep 14, 2006 7:16 am    Post subject: Reply with quote

I wouldn't waste too much time on it in v2.

v3 is going to have an "export file" which will export the tournament/league data in an XML form that is much easier for others to work with...so you won't have to parse the history log to figure out who did what.
_________________
--
Dr. Neau (not a real doctor)
http://drneau.com
http://home.comcast.net/~jneau
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Rewind
"Miracle Flush"


Joined: 10 Mar 2005
Posts: 113
Location: Columbus, OH

PostPosted: Fri Sep 15, 2006 7:38 am    Post subject: Reply with quote

Easier XML is nice. Will there be a conversion of old files to new? (load them into v3 and re-save them?)

I'm expecting a check in the mail... maybe I can afford to play around with the new version for a few months. If nothing else, I can use my 3% raise that I will get at the end of October to get a new license.
_________________
<thwack> NOooooooBODY expects to lose to Rewind!
My chief weapon is the rebuy.
ŽDr. Neau 2005
Back to top
View user's profile Send private message
AO
"Ace High"


Joined: 04 Apr 2006
Posts: 11

PostPosted: Sun Oct 15, 2006 7:57 pm    Post subject: Reply with quote

If you do decide to do this with V2, I would probably suggest reading the XML using an XML Doc, then parse the individual nodes and elements, then use that to write to SQL...not the most effecient way to do it, but fairly easy and stright forward.
Back to top
View user's profile Send private message
roadmanagerphil
"Straight to the Ace"


Joined: 12 Sep 2005
Posts: 99
Location: Columbus, OH

PostPosted: Wed Oct 18, 2006 9:50 pm    Post subject: Reply with quote

www.pokertourneyleague.com

I met the webmaster of this site. Pretty sweet site for all the players of a league to see their stats, etc. He's working w/ TD to have each tourney update his database. I have a mac, and like this software better anyway, so I'm hoping v3 will allow better integration for things like populating an SQL database. (I sound smart there, don't I? Hopefully I got you all fooled that I know what the hell that means!).

Can't wait for V3!!!!

See my league of leagues post.

Phil
Back to top
View user's profile Send private message Visit poster's website AIM Address
boschie
"A Set of Mop Squeezers"


Joined: 11 Apr 2007
Posts: 51
Location: Gramsbergen, Nederland

PostPosted: Wed Feb 20, 2008 9:07 am    Post subject: Reply with quote

Has anyone figured this out yet?

Please, need help.

GRTZ,
boschie
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    drneau.com Forum Index -> The v2 Bucket All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group