emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Creating iCal from org files without Emacs
@ 2009-05-21 14:40 Richard Riley
  2009-06-16 13:19 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Riley @ 2009-05-21 14:40 UTC (permalink / raw)
  To: Emacs-orgmode mailing list


I was wondering if possibly anyone has created a bash
script/python/anything to produce an iCal export from a bunch of
org-files? I would like to fire up a cron job to export a list
periodically and find that emacs batch is a tad heavy and some issues
with my emacs 23 often means it falls over when exporting at times (to
be reported still).

As I mentioned before, export to iCal, integration via URL to Google
calendar and syncing Google calendar with ones PDA (via gsync in this
case) is really, really nice.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Creating iCal from org files without Emacs
  2009-05-21 14:40 Creating iCal from org files without Emacs Richard Riley
@ 2009-06-16 13:19 ` Bastien
  2009-06-16 13:51   ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2009-06-16 13:19 UTC (permalink / raw)
  To: Richard Riley; +Cc: Emacs-orgmode mailing list

(Looks like this didn't get an answer yet.)

Richard Riley <rileyrgdev@googlemail.com> writes:

> I was wondering if possibly anyone has created a bash
> script/python/anything to produce an iCal export from a bunch of
> org-files? 

I've cron'ed this script:

,----
| #!/bin/bash
| 
| /usr/local/bin/emacs --batch --eval \
| "(progn (load-file \"~/install/git/org-mode/org.el\") \
|         (load-file \"~/elisp/config/org-batch-config.el\") \
|         (setq org-combined-agenda-icalendar-file \"~/org/cal/org.ics\")
|         (setq org-agenda-files (quote (\"~/org/bzg.org\"))))" \
|     -f org-export-icalendar-combine-agenda-files
`----

Customize it to your needs.

Then cron another script which upload the resulting org.ics file onto a
webpage that my Google Calendar fetches.

HTH,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Creating iCal from org files without Emacs
  2009-06-16 13:19 ` Bastien
@ 2009-06-16 13:51   ` Bastien
  0 siblings, 0 replies; 3+ messages in thread
From: Bastien @ 2009-06-16 13:51 UTC (permalink / raw)
  To: Richard Riley, Emacs-orgmode mailing list

I've also created a FAQ entry about this:

"How can I tell my calendar web application about appointments in my
agenda files?"

Bastien <bastienguerry@googlemail.com> writes:

> (Looks like this didn't get an answer yet.)
>
> Richard Riley <rileyrgdev@googlemail.com> writes:
>
>> I was wondering if possibly anyone has created a bash
>> script/python/anything to produce an iCal export from a bunch of
>> org-files? 

-- 
 Bastien

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-06-16 13:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-21 14:40 Creating iCal from org files without Emacs Richard Riley
2009-06-16 13:19 ` Bastien
2009-06-16 13:51   ` Bastien

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).