From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Jan_B=F6cker?= Subject: Re: Re: From todos to tracking Date: Thu, 12 Aug 2010 22:08:01 +0200 Message-ID: <4C6454A1.2070100@jboecker.de> References: <87r5i33fk0.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=47187 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oje4S-0003uw-VZ for emacs-orgmode@gnu.org; Thu, 12 Aug 2010 16:08:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oje4R-00051G-QS for emacs-orgmode@gnu.org; Thu, 12 Aug 2010 16:08:12 -0400 Received: from smtp01.worldserver.net ([217.13.200.36]:39220) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oje4R-00050m-Lb for emacs-orgmode@gnu.org; Thu, 12 Aug 2010 16:08:11 -0400 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: Andrea Crotti Cc: emacs-orgmode@gnu.org On 08/12/2010 07:35 PM, Andrea Crotti wrote: > Bastien writes: > >> Andrea Crotti writes: >> >>> I was wondering if there is something that would be able to convert a >>> org-mode buffer (with todos) to a web page (even static) that resembles >>> a tracking system. >>> >>> I don't mean also the way back (writing from the web page to the org >>> mode) but also one way it would be nice, because TODO in the normal html >>> exportation don't really resembles TODO in a tracking system... >> >> Can you be more specific? > > > Something like this > http://it.wikipedia.org/wiki/File:Kde-bugtracking-via-bugzilla-firefox-1.0.6-kde-3.4.2-de.png > I mean of course we need to give to it many more informations, but at > least the state is there, the message also and the number could be > generated. > > Something like > org-export-todo-to-tracking > > could have some variables to set and given a normal page prodouce > something like the figure. > But maybe it doesn't make sense I'm not sure... > I don't know what exactly you want to do, but it sounds like column view could do a large portion of that. In the Org manual, check out the following sections: 7.5.2 Using column view, for how to define what columns you want 7.5.3 Capturing column view, for how to insert a table containing the column view's data into your Org file (which you can then export to html). To export only the column view, you may also be interested in section 12.2, Selective export. If you want to generate a table that contains links to a "detailed view" for each entry, I guess you need some custom elisp code. Maybe write your own dynamic block function which first calls `org-dblock-write:columnview' to do most of the heavy lifting, then post-processes the output to make an "id" column into links, and finally calls the export function for every TODO headline and the headline containing the dynamic block (while supplying appropriate file names)? HTH, Jan