From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Barton Subject: Re: Announcing my Python module to read org-mode files Date: Sun, 15 Mar 2009 08:35:32 +0000 Message-ID: <49BCBDD4.8080303@manor-farm.org> References: <49BC77EF.9060102@optusnet.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LimPT-0003E4-SG for emacs-orgmode@gnu.org; Sun, 15 Mar 2009 05:13:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LimPO-00039L-6p for emacs-orgmode@gnu.org; Sun, 15 Mar 2009 05:13:30 -0400 Received: from [199.232.76.173] (port=54152 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LimPN-000396-Vo for emacs-orgmode@gnu.org; Sun, 15 Mar 2009 05:13:26 -0400 Received: from a2s22.a2hosting.com ([69.39.86.130]:47206) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LimPN-000453-Pl for emacs-orgmode@gnu.org; Sun, 15 Mar 2009 05:13:25 -0400 Received: from [217.146.125.41] (helo=firewall.banter.local) by a2s22.a2hosting.com with esmtp (Exim 4.69) (envelope-from ) id 1LimPM-000274-76 for emacs-orgmode@gnu.org; Sun, 15 Mar 2009 05:13:24 -0400 Received: from localhost (localhost [127.0.0.1]) by firewall.banter.local (Postfix) with ESMTP id 81EABC8D5 for ; Sun, 15 Mar 2009 08:35:44 +0000 (GMT) Received: from firewall.banter.local ([127.0.0.1]) by localhost (firewall.banter.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gphCRCeTv41u for ; Sun, 15 Mar 2009 08:35:32 +0000 (GMT) Received: from [192.168.0.55] (scamper.banter.local [192.168.0.55]) by firewall.banter.local (Postfix) with ESMTP id D3191C8D3 for ; Sun, 15 Mar 2009 08:35:32 +0000 (GMT) In-Reply-To: <49BC77EF.9060102@optusnet.com.au> 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 > Over the last couple of months I have developed a Python module > to read an org-mode file and return the nodes as a list > of objects. The module is the basis of a Python/TK GUI > program to display a "Word of the Day" (another article > will be published about this program soon). > > I hope the module is of interest to Python programmers! > Charles, That looks very interesting. Amongst other uses it opens the way to produce customized Web pages via mod_python, which in some circumstances would be easier than tweaking the current org export function. I have been experimenting with producing html exported pages optimized for my Nokia N95. At the moment I detect the browser string and then apply a different style sheet for the mobile version. However, this does have limitations, apart from those arising from my lack of css skills. Using mod_python I can produce completely different output depending on the detected browser. Ian.