Results 1 to 3 of 3

Thread: Database Import

  1. #1
    Senior Member Mirviriam's Avatar
    Join Date
    Apr 2008
    Location
    Where the moon cuts the wind.
    Posts
    249
    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

  2. #2
    Senior Member Dyark's Avatar
    Join Date
    Jun 2007
    Location
    montreal, canada
    Posts
    163
    Downloads
    69
    Uploads
    2
    of course you can Name me

    What kind of format does it get out ?
    You store the wiki files in a database, no ?

  3. #3
    Senior Member Mirviriam's Avatar
    Join Date
    Apr 2008
    Location
    Where the moon cuts the wind.
    Posts
    249
    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

  1. Database problems
    By Arjan in forum Birthright.net Official Announcements
    Replies: 10
    Last Post: 05-19-2009, 02:02 PM
  2. BRCS Database
    By ploesch in forum BRCS 3.0/3.5 Edition
    Replies: 3
    Last Post: 09-14-2006, 07:01 PM
  3. test msg import
    By Arjan in forum The Royal Library
    Replies: 4
    Last Post: 01-25-2004, 05:23 AM
  4. Database errors?
    By Salamander in forum Birthright.net support
    Replies: 4
    Last Post: 12-29-2002, 03:00 AM
  5. Writers Guild to import old Site Info
    By morgramen in forum Birthright.net support
    Replies: 2
    Last Post: 12-28-2001, 02:00 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
BIRTHRIGHT, DUNGEONS & DRAGONS, D&D, the BIRTHRIGHT logo, and the D&D logo are trademarks owned by Wizards of the Coast, Inc., a subsidiary of Hasbro, Inc., and are used by permission. ©2002-2010 Wizards of the Coast, Inc.