emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Worg needs some reorganizing


From: Bastien
Subject: [Orgmode] Re: Worg needs some reorganizing
Date: Sat, 15 Jan 2011 19:50:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Hi Matt,

Matt Lundin <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]