From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Worg needs some reorganizing Date: Sat, 15 Jan 2011 19:50:39 +0100 Message-ID: <87d3nyuhkw.fsf@altern.org> References: <4CAD81B0.6090807@manor-farm.org> <87iq197ool.fsf@mail.bantercat.co.uk> <87pqveyct2.fsf@gmail.com> <87ocayl81d.fsf@manor-farm.org> <0E084C6C-6FD1-4C74-BD9F-34F2830B93C5@gmail.com> <87bp6ytacd.fsf_-_@stats.ox.ac.uk> <87fwsubckf.fsf@gnu.org> <87aaj2w5x4.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=35899 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PeBDv-0001yI-6j for emacs-orgmode@gnu.org; Sat, 15 Jan 2011 13:51:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PeBDr-0007Lw-D3 for emacs-orgmode@gnu.org; Sat, 15 Jan 2011 13:51:36 -0500 Received: from mail-wy0-f169.google.com ([74.125.82.169]:55976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PeBDp-0007LU-QW for emacs-orgmode@gnu.org; Sat, 15 Jan 2011 13:51:35 -0500 Received: by wyj26 with SMTP id 26so3951286wyj.0 for ; Sat, 15 Jan 2011 10:51:29 -0800 (PST) In-Reply-To: <87aaj2w5x4.fsf@fastmail.fm> (Matt Lundin's message of "Sat, 15 Jan 2011 10:19:35 -0500") 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: Matt Lundin Cc: Dan Davison , Ian Barton , emacs-orgmode@gnu.org, Carsten Dominik Hi Matt, Matt Lundin writes: > An idea: would it be possible to run a batch export of these agenda > views to html? (One limitation here would be the lack of links to > original locations.) Good idea! I've tested this: http://orgmode.org/worg/agendas/todo.html The custom agenda command on the server looks like this: ,---- | (setq org-agenda-custom-commands | '(("1" "Worg TODO" todo "TODO" | ((org-agenda-files '("~/git/Worg/")))))) `---- And the script to produce the agendas/todo.html file is: ,---- | #!/bin/bash | | /usr/local/bin/emacs --batch --eval \ | "(progn (load-file \"~/.emacs.el\") \ | (org-agenda nil \"1\") | (org-write-agenda \"/var/www/orgmode.org/worg/agendas/todo.html\"))" `---- As you said, the limitation is the lack of links. But still, having some useful agendas views and being able to see their output on the website can certainly be useful. > Another option would be to use the #+index directive to generate an > html index of topics. > > (info "(org) Index entries") > > This would require some changes to the publishing options: > > (info "(org) Generating an index") Great idea too - done: http://orgmode.org/worg/sitemap.html (loooong!) http://orgmode.org/worg/theindex.html (empty for now) Thanks for these proposals! -- Bastien