Ng Pheng Siong at render-blog muses about how external editors can be more seamlessly integrated into a Wiki browsing experience. His solution is to have the wiki server download the page as a separate mime type which gets passed off to a helper app that loads the editor after parsing the page.
I have been thinking about doing something similar for TWiki but am trying to find a way to do this without having to make any backend changes to the TWiki skins. If this is possible, it would have the benefit of allowing a wider range of users to edit TWiki this way.
One approach that I have played with would be to turn editTwiki or editMoin into a small webserver and then use a bookmarklet to redirect the current page's url to that local webserver, which would then launch the editor. Its more overhead, but would then work with a larger set of installed wikis.
I wonder if there is any mime magic that could be done from within the javascript in a bookmarklet to send the current page's url to a handler without the webserver being aware of it ... Sounds like a security hole if you could do it.
Edit This Page Bookmarklet is as close as I have found to accomplishing that and it still requires a cgi script somewhere ...
|