Tags:
create new tag
view all tags

Question

This may be a dumb question, but thought I'd give it a go.

I would like to be able to 'seed' a wiki I'm making with some initial content, derived from certain online databases. What would be the right way to script the creation of a bunch of starting topics?

Thanks in advance.

Environment

TWiki version: unspecified
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories:  

-- TWikiGuest - 09 Apr 2008

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

There is quite a long discussion in HowToScriptPageModification which will give you some pointers.

I attach a script here with no obligation, but it allows me to upload text files to TWiki, which will then become topics. In 4.1.2 you need to turn all security off, so it is not that hot. But it will do what you ask.

-- BramVanOosterhout - 09 Apr 2008

Thank you very much- that's a couple of very good starting points.

-- TWikiGuest - 09 Apr 2008

You might also look at ExcelImportExportPlugin as it provides for generating a bunch of TWiki topics from an excel database. This plugin is a bit old and needs some attention but I've used it to import data into TWiki.

-- LynnwoodBrown - 09 Apr 2008

Change status to:

Topic attachments
I Attachment History Action Size Date Who Comment
Texttxt tcat412.pl.txt r1 manage 10.1 K 2008-04-09 - 14:28 UnknownUser upload a topic or attachment to twiki
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2008-04-09 - LynnwoodBrown
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.