emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: chris <crassshed@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Re: Idea: Agenda Search publish?
Date: Wed, 11 Apr 2007 10:09:50 +0100	[thread overview]
Message-ID: <9bcdfad70704110209k1ba062d8l85c694ebd160492e@mail.gmail.com> (raw)
In-Reply-To: <m1y7l6tua8.fsf@bertrand.carcosa.net>


[-- Attachment #1.1: Type: text/plain, Size: 1176 bytes --]

On 05/04/07, Jason F. McBrayer <jmcbray@carcosa.net> wrote:
>
> "David O'Toole" <dto@gnu.org> writes:
>
> > I think this means being able to publish static HTML from the various
> > views given by the agenda. So for example you could set up a timer to
> > publish your agenda each day (assuming you run emacs for months like I
> > do) and then if you are away from home, check your website to see the
> > HTML agenda.
>
> Even taking the fancy publishing and timer stuff out of it, it would
> be actually quite useful to be able just to export to html (or
> whatever other target).   For example, to produce printed context
> lists for away-from-the-computer contexts.
>
> So, this is a function I use to htmlize the agenda buffer.  Very basic,
but works for me to be able to see my TODOs away from my desktop

(defun cw-print-agenda ()
  "htmlize org-mode's agenda"
  (interactive
"P")

  (require
'htmlize)

  (let ((todo-buffer "*Org
Agenda*"))
    (org-todo-list
0)

    (set-buffer
(htmlize-buffer))

    (write-file
"~/public_html/Todo.html")


(kill-this-buffer)

    (kill-buffer todo-buffer)))

Then I have a cron job to copy that to an external web server.

hth, C.

[-- Attachment #1.2: Type: text/html, Size: 5205 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2007-04-11  9:14 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-02 14:06 Idea: Agenda Search publish? Tim O'Callaghan
2007-04-05  9:23 ` Bastien
2007-04-05 10:03   ` Leo
2007-04-05 16:56     ` Carsten Dominik
2007-04-05 18:25       ` David O'Toole
2007-04-05 18:40         ` Leo
     [not found]           ` <3d6808890704051213i1a3bc737wfa715f4b7f2f0c25@mail.gmail.com>
2007-04-05 19:29             ` Tim O'Callaghan
2007-04-05 20:56         ` Jason F. McBrayer
2007-04-11  9:09           ` chris [this message]
2007-04-11 11:01             ` Bastien
2007-04-11 12:38               ` chris
2007-04-11 20:26                 ` publish archives François Lagarde
2007-04-11 14:00             ` Idea: Agenda Search publish? Leo
2007-04-05 18:37       ` Leo
2007-04-23 20:39 ` Carsten Dominik
2007-04-24 17:51   ` Jason F. McBrayer
2007-04-25 21:21   ` Leo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9bcdfad70704110209k1ba062d8l85c694ebd160492e@mail.gmail.com \
    --to=crassshed@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).