From a732793347d0d7ffe4b8f490cb79ac79315369b5 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 19 May 2009 17:15:13 +0200 Subject: Support ikiwiki's w3mmode. --- contributing/web_pages.mdwn | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'contributing') diff --git a/contributing/web_pages.mdwn b/contributing/web_pages.mdwn index d2ab93f6..f1388bc2 100644 --- a/contributing/web_pages.mdwn +++ b/contributing/web_pages.mdwn @@ -161,6 +161,38 @@ You can also locally get the whole set of pages rendered to HTML: Now open `hurd-web.rendered/index.html' to browse the pages. +### ikiwiki's `w3mmode` + +If you're a [`w3m`](http://w3m.sourceforge.net/) user, you can also use `w3m` +to edit your files locally, as it were done through the web interface at +. + +First, generate the wrapper. Unless the configuration is changed, this has to +be done only once. + + $ hurd-web/render_locally --w3m-wrapper + successfully generated /home/thomas/.ikiwiki/wrappers/hurd-web.cgi + +Render the pages: + + $ hurd-web/render_locally --w3m + [...] + scanning contributing/web_pages.mdwn + rendering contributing/web_pages.mdwn + + Now open `hurd-web.rendered.w3m/index.html' to browse the pages. + +Invoke `w3m`: + + $ w3m hurd-web.rendered.w3m/index.html + +Or, to directly create a new page: + + $ w3m 'file:///$LIB/ikiwiki-w3m.cgi/hurd-web.cgi?page=open_issues/gnumach_has_a_bug&do=create' + +Note that the changes you do via `w3m` will not be committed to the VCS (see +[[render_locally]] for details). + ## Publish Your Changes If you like what you've done, then it's now time to publish your changes. -- cgit v1.2.3