Loading...
 
Skip to main content

Features / Usability


Batch upload of pages or tracker items?

Hi,

I'm new here.

I poked around and saw that a few people are using TikiWiki to manage an online dictionary, which is also what I'd like to do.

My problem is that I can't figure out how to batch upload a large volume of new pages!

At first, I thought I'd create one page per dictionary entry. But instead of manually entering my terms one by one, I'd like to batch upload pages that would fit a certain template.

Then I thought maybe creating a tracker would help me. (I created a tracker with different fields for term, definition, translation, etc.) But I can't figure out how to batch upload tracker items either!

Is there a way to batch upload, say, a CSV file that would create one new page or new tracker item per entry?

Thanks in advance for your help!

Kim

You can import CSV data to create trackers. Please see the docs for detailsQuestion.

For wiki pages, you can try:

  1. Create a single page with the formatting/template that you want to use.
  2. Create a dump of the wiki.
  3. Offline, edit the dump file to create new pages.
  4. Restore the dump file.

I'm not 100% sure, but I think this would work. Please see the docsQuestion for details.


HTH,

- RickQuestion | My Tiki Blog | My Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.comQuestion
Tiki for SmartiesQuestion, your source for the best (and only) Tiki books, guides, and tutorials.

Oh, thank you so much!

I really did do a lot of searching... I must have been looking in the wrong place to not have found the tracker CSV import information.

I will give this a try tonight!

Thanks again!!


Hi Kim,

an adition to Ricks hint regarding to the wiki pages part:

Are you familiar with the Linux Shell and some Regex? If you use the template (from the dump) and then fetch you plain text data, which should become wiki pages, with the Regex you should be able to "merge" each text with the template and in the end put those "merged raw wikipages" together into one file, which in the end could be uploaded to the database.

Maybe you might not need to dump the hole database, but only one or a few tables.

Cheers
Torsten