Tags:
create new tag
, view all tags
One useful feature that I have seen in ZWiki that could not be too hard to implement is for a remote wiki reference. ZWiki implements this by having a topic for the foreign web (eg ForeignWeb) with a single line that specifies the remote URL.

Something similar to this functionality can be implemented in the current TWiki using variables. The problem with using variables is that you either have to make it a href or display the full URL because the variable gets expanded. Ideally I would like to refer to the foreign web using the same syntax as with local webs and have the web name hidden in the same manner.

Another factor to keep in mind is that the remote wiki web may not be a TWiki. Therefore it could be useful to make the functionality more generic - allowing it to be the root of a URL.

An implementation I favour is to have a command that is analogous to Set, say Setweburl. You then use it in the following fashion:

  • Setweburl Remotewebname = "http://url/"

And you then use it as Remotewebname.PageIWant and you get a correctly constructed link. Of course there would not be an option to create the link if the page does not exist - you would let the remote wiki take care of that.

-- JohnOates - 14 Dec 2000

Have a look at the Plugins.InterwikiPluginEarlyDev plugin attached to TWikiPluginAPI .

-- AndreaSterbini - 15 Dec 2000

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2001-09-18 - MikeMannix
 
  • 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-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.