We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
Tags:
create new tag
, view all tags

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

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RH Linux
Web server: Apache 1.3
Perl version: 5
Client OS: Windows, Linux
Web Browser: IE, Mozilla, Firefox
Categories: Topic revisions

-- 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

 
Topic revision: r7 - 06 Apr 2005 - 06:28:33 - PeterThoeny
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback