From mboxrd@z Thu Jan 1 00:00:00 1970 From: Felix Natter Subject: Code to convert lists etc. to HTML for org-mode export filter? Date: Sun, 31 Aug 2014 11:22:02 +0200 Message-ID: <87bnr1f1z9.fsf@bitburger.home.felix> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XON4z-0005wN-Qg for emacs-orgmode@gnu.org; Mon, 01 Sep 2014 04:35:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XON4r-0002jx-3l for emacs-orgmode@gnu.org; Mon, 01 Sep 2014 04:35:13 -0400 Received: from plane.gmane.org ([80.91.229.3]:59605) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XON4q-0002gm-UM for emacs-orgmode@gnu.org; Mon, 01 Sep 2014 04:35:05 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XON4p-0001yp-MV for emacs-orgmode@gnu.org; Mon, 01 Sep 2014 10:35:03 +0200 Received: from pd9e80648.dip0.t-ipconnect.de ([217.232.6.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 Sep 2014 10:35:03 +0200 Received: from fnatter by pd9e80648.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 Sep 2014 10:35:03 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org hi, I am working on org-freeplane.el, a fork of org-freemind.el [1]. [1] FreeMind and Freeplane are mind mapping programs and can thus be used to organize tree-structured information like org-mode does. Freeplane is a FreeMind fork, org-freeplane.el was necessary because users want to use the features of Freeplane. Can someone please point me to the code for converting node text to HTML in org-mode? The following code: * item1 - one - two - three should result in a mind map node with content: item1
  • one
  • two
  • three
(of course there are more complex examples, like nested lists etc.) Is there common code for exporting to HTML (3.2 in my case)? Shall I import org-html.el in org-freeplane.el and use code from that? (I think that wouldn't be trivial because 'org-export-as-html' does a lot of stuff that I may not require/allow like running hooks...) Thanks and Best Regards, -- Felix Natter