From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: HOWTO export document to wiki text? Date: Sun, 18 Jan 2009 10:27:56 -0800 Message-ID: <8763kc5v0z.fsf@gmail.com> References: <200901172203.31914.uwe@koloro.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LOcNE-00072K-HX for emacs-orgmode@gnu.org; Sun, 18 Jan 2009 13:27:52 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LOcND-000721-1Z for emacs-orgmode@gnu.org; Sun, 18 Jan 2009 13:27:52 -0500 Received: from [199.232.76.173] (port=50502 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LOcNC-00071u-Qc for emacs-orgmode@gnu.org; Sun, 18 Jan 2009 13:27:50 -0500 Received: from wa-out-1112.google.com ([209.85.146.183]:32590) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LOcNB-0006tq-3R for emacs-orgmode@gnu.org; Sun, 18 Jan 2009 13:27:50 -0500 Received: by wa-out-1112.google.com with SMTP id j32so1287827waf.26 for ; Sun, 18 Jan 2009 10:27:47 -0800 (PST) In-Reply-To: <200901172203.31914.uwe@koloro.de> (Uwe Koloska's message of "Sat, 17 Jan 2009 22:03:29 +0100") 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: Uwe Koloska Cc: emacs-orgmode@gnu.org Uwe Koloska writes: > Hello, > > there is this very nice export to text feature and the superb HTML export. But > is it possible to convert org to some rich text notation used in wikis? I > would like to include some of my documents into a wiki (dokuwiki and > TWiki/Foswiki). > And if there is no such feature yet, where do I have to start to implement it? > Hi, I believe the only export targets currently supported are html, xoxo, ascii, and latex. The first place to look for adding a new export format would be the org-exp.el file in ~/lisp/org-exp.el (where ~ is the root of your org-mode git directory). See the function `org-export-preprocess-string' and specifically the let binding at the beginning which sets the htmlp, asciip, latexp, variables which indicate the export target. I would be the place to start reading to see how exporting in org-mode works. You may want to implement the new export in a new file separate from the org-exp.el file. This would be a good idea if the new export targets might not be of wide enough applicability to actually change org-exp.el (a fairly central org file). Best of luck -- Eric > > Thank you > Uwe Koloska > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode