Question
I'm a user - not an admin, though I could probably get the admin to do things for me - of a TWiki where I work. We're using the Fri, 31 Mar 2006 build 9626 of TWiki.pm.
I'm building a documentation tree from a series of existing docs and a database, and I've written some Perl and SQL scripts to generate the initial content I want people to modify / collaborate on. The problem is that I now have hundreds of topics worth of Twiki "code", but no way to get it into the system except by creating the topics one-by-one and pasting into them. Is there a way to bulk upload topics? (Not attachments, mind you, but the topics themselves?)
Environment
--
TWikiGuest - 19 Apr 2007
Answer
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.
(Please do not register with a screen name, twiki.org prefers real first and last names. If you prefer to stay anonymous login as a guest.)
--
PeterThoeny - 19 Apr 2007
If your topics are in txt format, you can just copy each file as
SomeTopic.txt
into the
twiki/data/Webname
directory
TWiki will see them and treat them as topics - and when someone edits it, TWiki will add the revision file, and its internal data.
--
SvenDowideit - 24 Apr 2007
You could also import data over http, see
CPAN:LWP::UserAgent and
CPAN:WWW::Mechanize.
--
PeterThoeny - 24 Apr 2007
And also
CurlTool.
--
PeterThoeny - 25 Apr 2007
and also
CPAN:WWW::Mechanize::TWiki
--
WillNorris - 27 Apr 2007
Closing this after more than 30 days inactivity; re-open if needed...
--
PeterThoeny - 02 Jun 2007