Question
One of our service groups would like to offer its documentation on the Twiki. Some of the web pages (FAQ, questions and answers) are to be editable with the traditional Twiki culture. However they would like to insert current documenation without having to cut and paste. The occasional inserting of other documents would be necessary. Is it possible to write directly to the Twiki file system and without doing it any harm?
Environment
--
PeterJones - 28 Jan 2005
Answer
I have done so by publishing directly to Data with Movable Type, as long as a file has txt on the end it becomes a topic. This what you meant?
--
BruceRProchnau - 28 Jan 2005
you could also use the save script that creates new pages in the browser UI. Send the text in with a http post method to the save cgi script/web/topicname. The requred parameter is text (which is the text of your document). There are also some other parameters for each meta tag you whish to set.
--
NicholasEngelking - 28 Jan 2005
Yet another way: Place your files in a directory accessible by a browser, e.g. under the web server document root.
This depends on the Apache setup, on Unix it is typically
~/public_html/anydirectory/file.html below your Unix home, accessible as
http://yourserver/~username/anydirectory/file.html. In a TWiki page you can include that page,
%INCLUDE{"http://yourserver/~username/anydirectory/file.html"}%.
--
PeterThoeny - 29 Jan 2005
I just found your answers, many thanks. I apologise as I have asked the same question inanotehr thread concerning importing and exporting documents
--
PeterJones - 05 Feb 2005
FileName.txt in data seems sooooooo simple and easy....you guys really have to simplify things
--
BruceRProchnau - 07 Feb 2005