Loading...
 
Skip to main content

Features / Usability


Batch upload/SQL page imports, Morcego colors

I'd like to do two things 'under the hood':
1. Add pages in batches
What's the best way of batch-mode page creation?
I've had a look at the tiki_pages table in the database, and it looks like it could be pretty straightforward to create a batch of pages in a spreadsheet and import them.
Is that right? Or are there other tables that need editing as well?
What's the best method for adding dozens of pages at one go?

2. Change the color and shape of nodes in the Morcego browser node map
I really like the 3D browser, but would like to modify some of the features.
For example, the existing setup only uses two colors, whereas I'd like a dozen colors to distinguish categories of pages.
Likewise, the current format uses only circles, whereas I'd also like squares and triangles.
Can I modify the format of map nodes within the tiki database?
If not, is there an accessible control for them?
Image

Still wondering about both of these.
Might try to figure out if there's a multiple page import feature.
Would like to get some info about Morcego as well.


To do an XML export in wiki format, select "wiki - list pages" from the menu, then select the pages to export and finally at the bottom select "XML ZIP" option to perform. That XML file will show you the format required for import.

To do the import, create your xml file, ZIP it, then run "www.yourwebsite.com/tiki-import_xml_zip.php" to do the import Backup your DB before trying this!


Another import alternative:

If you turn on "Import Pages" in the wiki admin, you get the option to import either mediawiki or wordpress. Backup your DB before trying this!


ps - The batch upload php in source forge is still there, but sadly I can't tell you whether or not it's safe to "batch_load_pages.php". Suggest you give it a try with an experimental server.