Results 1 to 3 of 3
Thread: Database Import
-
01-09-2011, 07:00 AM #1
- Join Date
- Apr 2008
- Location
- Where the moon cuts the wind.
- Posts
- 259
- Downloads
- 4
- Uploads
- 0
Database Import
Forgive me for not asking if I can post this, I removed your name - but I figure I'm not the only person in the world to spider pages for variable content
I bet someone has a working script for this already.
question
Is it possible to have all the character class conversion of wiki into a datafile ?
I am just trying to use wiki without having to type everything again.
Thanks
Yes, but you get extreme data poisoning.
I had a script for it that worked 2 years ago for another project. Unfortunately, php has an incompatibility issue with EOF markers (on mac osx 10.3.9 which is last risk processor os they wrote before switching to intelmac),which means I can't open a file of unknown length.
I've tried every hack possible & until I get a new computer - I can't write the stupid file & test it! The trick logically, is that if we know each page is the same length just to the data you want, I can set an artificial length limit (then it works).
I had the same idea last year...just no way of tuning it. I can send the source code I wrote to you sometimes this week or next weekend.
Hell, I think I have an object oriented version which sets it all up in an array with the index label as a string (which means you can do a straight insert to the table for each entry).Legacy of Kings: Member
-
01-09-2011, 04:06 PM #2
of course you can Name me
What kind of format does it get out ?
You store the wiki files in a database, no ?
-
01-12-2011, 08:09 PM #3
- Join Date
- Apr 2008
- Location
- Where the moon cuts the wind.
- Posts
- 259
- Downloads
- 4
- Uploads
- 0
The script parses the domain info stats on right side bar, then returns an array with label as index. I'm still digging for it in my files. I might have paper copies in duluth - but I don't have time to go there this weekend
Legacy of Kings: Member
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Database problems
By Arjan in forum Birthright.net Official AnnouncementsReplies: 10Last Post: 05-19-2009, 02:02 PM -
BRCS Database
By ploesch in forum BRCS 3.0/3.5 EditionReplies: 3Last Post: 09-14-2006, 07:01 PM -
test msg import
By Arjan in forum The Royal LibraryReplies: 4Last Post: 01-25-2004, 05:23 AM -
Database errors?
By Salamander in forum Birthright.net supportReplies: 4Last Post: 12-29-2002, 03:00 AM -
Writers Guild to import old Site Info
By morgramen in forum Birthright.net supportReplies: 2Last Post: 12-28-2001, 02:00 PM
Bookmarks