From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Goldman Subject: Re: HOWTO export document to wiki text? Date: Mon, 19 Jan 2009 09:40:38 -0600 Message-ID: <49749EF6.4070503@sift.info> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LOwF6-0002ru-Ls for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 10:40:48 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LOwF2-0002oW-Mx for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 10:40:48 -0500 Received: from [199.232.76.173] (port=49704 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LOwF2-0002oM-FJ for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 10:40:44 -0500 Received: from outbound-mail-01.bluehost.com ([69.89.21.11]:54260) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LOwF2-0007me-2t for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 10:40:44 -0500 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org, uwe@koloro.de I have a start on a wiki syntax exporter that I took by modifying the latex exporter (some wikis have quite extensive markup). Here's what I would like to suggest: 1. There are an infuriatingly large number of different wiki syntaxes. I'd like to suggest that we should avoid having to write a zillion different standalone exporters. 2. Emacs lisp doesn't have object-oriented programming to help with this, but we can simulate it with tables of functions. So, for example, we could have vectors with entries for functions that format italicized text for media-wiki, tiki wiki, etc. 3. A first job would be to make a list of all of the kinds of export that we see in the latex exporter, and define a structure that provides entries for all of these export types. If we do the above, we can hijack the top-level export routine from, e.g., latex export, and then plug in different tables for the different wikis. Feel free to contact me off-line about this; I would be more than happy to work with you on it. Best, Robert