Bulk loading pages
Bulk loading pages
Posted:29 Jun 2007 (04:02 UTC)How do I bulk load text into pages in bitweaver?
I have the text in an existing mysql table... but want to get it into bitweaver's twiki structure. There are over 200 pages that need to be created and later organized into a book structure.
I'm looking for either a definition of the table structures such that I can figure out what I need to insert in to what tables or (hopefully) a script that would do this (or a pointer to a script that would do this with some modification... )
Thanks, in advance...
I have the text in an existing mysql table... but want to get it into bitweaver's twiki structure. There are over 200 pages that need to be created and later organized into a book structure.
I'm looking for either a definition of the table structures such that I can figure out what I need to insert in to what tables or (hopefully) a script that would do this (or a pointer to a script that would do this with some modification... )
Thanks, in advance...
Re: Bulk loading pages
Posted:30 Jun 2007 (17:25 UTC)I've pulled bulk stuff into bitweaver in the past. You need to create entries in liberty_content for each page, and a mating entry in wiki_pages. All content takes the same basic format, and the schema can be found in the admin directory of each package.
Re: Bulk loading pages
Posted:09 Jul 2007 (08:00 UTC)hey bo,
the easiest way is to fetch the data in your db, create a new BitPage object and store the data using an array with the required information. if you look at install/pump_wiki_inc.php you can see what type of infromation is needed to store a wiki page.
x
the easiest way is to fetch the data in your db, create a new BitPage object and store the data using an array with the required information. if you look at install/pump_wiki_inc.php you can see what type of infromation is needed to store a wiki page.
x
Page 1 of 1 1