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

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2005-04-06 - PeterThoeny
 
  • 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.