Tags:
create new tag
view all tags

Question

I know this isn't strictly kosher, but I would like to be able to edit a bunch of my twiki pages directly, without going through the interface. Currently, I am the only user of the Wiki, and I'm just getting a bunch of pages into shape. So can I simulate what Twiki does, ie, check out the pages I want to work on, then power edit them with Emacs, and then check them back in, safe and sound?

I have direct access to the file system where the pages live.

Be kind, I'm relatively new to Twiki.

-- EdgarGilchrist - 02 Sep 2005

Answer

(I moved this question from the Codev web to here)

You could bypass all the TWiki mechanics and edit the files directly. The implication is that you will not have an audit trail anymore since the .txt file is out of sync with the .txt,v file.

Other options:

-- PeterThoeny - 03 Sep 2005

Suppose I took the approach of editing the files directly. Would it be worthwhile to mimic what rcs is doing, ie, to checkout the files, edit them, and then check them back in?

-- EdgarGilchrist - 06 Sep 2005

You could do that. No need to checkout. Manipulate the .txt file, then check it in. Make sure to use the same lock user as your web server, and make sure you get the file permissions right.

I do not recomment this approach since topic locking is bypassed; topic info is not updated (wrong user and timestamp displayed); audit trail is not functioning; e-mail notification doesn't work; and depending on Plugins used, Plugin callback does not get called.

-- PeterThoeny - 06 Sep 2005

StoreEditingWithEmacs

-- MartinCleaver - 10 May 2006

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2006-05-10 - MartinCleaver
 
  • 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.