From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: ics calendar? Date: Fri, 08 Sep 2017 11:13:15 +0200 Message-ID: <871snho8no.fsf@gmx.us> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51135) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqFN3-0004BR-7Z for emacs-orgmode@gnu.org; Fri, 08 Sep 2017 05:14:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dqFMy-0006JO-CR for emacs-orgmode@gnu.org; Fri, 08 Sep 2017 05:14:41 -0400 Received: from [195.159.176.226] (port=44642 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dqFMy-0006H1-5R for emacs-orgmode@gnu.org; Fri, 08 Sep 2017 05:14:36 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dqFM6-0000n9-4u for emacs-orgmode@gnu.org; Fri, 08 Sep 2017 11:13:42 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Matt Price writes: > I've just noticed that Hugo supports .ics formats and thought it would be > useful to have a calendar for the class. I've never done .ics exports in > org -- I don't use the core calendar/agenda features very effectively -- > and am not sure what the best way to do this would be. So I'm really just > asking whether other people do ics exports and if so, how you structure the > org source files and so forth. 1. Create the headline, "* Hacking History 2017 class {{{n}}}", maybe in a new file, classes.org. 2. Give it a date with "C-c .". AFAIK you have to manually put the cursor on the new line. 3. M-x org-clone-subtree-with-time-shift and give (1- total-number-of-classes) plus a time shift, typically +1w- 4. Export to ICS, maybe as part of your publishing routine if ox-hugo uses ox-publish. You should be able to create something like this, * Hacking History 2017 class {{{n}}} <2017-09-08 Fri 10:00-12:00> * Hacking History 2017 class {{{n}}} <2017-09-15 Fri 10:00-12:00> * Hacking History 2017 class {{{n}}} <2017-09-22 Fri 10:00-12:00> I use org-caldav to synchronize with owncloud for what it is worth. Hope it helps, Rasmus -- The right to be left alone is a human right