* Export org-mode to .ics (on FTP-Server)
@ 2007-04-11 8:24 phil
2007-04-11 9:58 ` Bastien
0 siblings, 1 reply; 2+ messages in thread
From: phil @ 2007-04-11 8:24 UTC (permalink / raw)
To: emacs-orgmode
Hello,
I'm using org-mode to keep track of my todos & events & to store
stuff. I've an org-mode file (events.org) that contains all upcoming
events (music, sports...).
I've setup my blog to show the next events that are taken from a .ics-
file, that is stored on my webserver.
So the current workflow is:
1. Editing my events.org-file
2. Exporting this file to an .ics
3. Uploading the .ics file to my webserver using FTP
QUESTION:
Is it possibile to upload the .ics file after exporting in one step
from emacs?
- Phil
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Export org-mode to .ics (on FTP-Server)
2007-04-11 8:24 Export org-mode to .ics (on FTP-Server) phil
@ 2007-04-11 9:58 ` Bastien
0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2007-04-11 9:58 UTC (permalink / raw)
To: emacs-orgmode
phil <phil@snapup.net> writes:
> QUESTION:
> Is it possibile to upload the .ics file after exporting in one step from
> emacs?
Maybe doing it from Emacs is not as straightforward as doing it with a
simple script.
Here is an example of such a script -- it launches Emacs in batch mode,
takes your-calendar.org, converts it into a .ics file, then upload this
file to a remote host with rsync.
========================================================================
#!/bin/bash
/usr/local/bin/emacs --batch --eval \
"(progn (load-file \"~/elisp/org/org.el\") \
(load-file \"~/elisp/org/org-install.el\") \
(load-file \"~/elisp/org-batch-config.el\") \
(setq org-icalendar-combined-name \"Your Calendar\") \
(setq org-combined-agenda-icalendar-file \"~/org/cal/your-calendar.ics\") \
(setq org-agenda-files (quote (\"~/org/cal/your-calendar.org\"))))" \
-f org-export-icalendar-combine-agenda-files
/usr/bin/rsync -rtv ~/org/cal/your-calendar.ics -e ssh login@host:/home/login/cal/
========================================================================
Regards,
--
Bastien
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-04-11 10:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-11 8:24 Export org-mode to .ics (on FTP-Server) phil
2007-04-11 9:58 ` Bastien
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.