summaryrefslogtreecommitdiff
path: root/src/site
diff options
context:
space:
mode:
authoryvesf <yvesf-git@xapek.org>2011-03-25 22:11:15 +0100
committeryvesf <yvesf-git@xapek.org>2011-03-25 22:11:15 +0100
commitd0b58c5a017d45f7c3667c2d88391feef58ba6fb (patch)
treed343be6f121281e4838ddf72a1d5e367b1f906f2 /src/site
parent787669fc5ae68b62c27092c79be3772e5b3234f4 (diff)
downloaddhbw-calendar-d0b58c5a017d45f7c3667c2d88391feef58ba6fb.tar.gz
dhbw-calendar-d0b58c5a017d45f7c3667c2d88391feef58ba6fb.zip
Doku: Anbindung Emacs
Diffstat (limited to 'src/site')
-rw-r--r--src/site/site.xml3
-rw-r--r--src/site/xdoc/user-apple.xml2
-rw-r--r--src/site/xdoc/user-emacs.xml35
3 files changed, 38 insertions, 2 deletions
diff --git a/src/site/site.xml b/src/site/site.xml
index c5c1e8f..5f3c4d8 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -11,7 +11,8 @@
<menu name="User Guide">
<item name="Allgemein" href="user-allgemein.html" />
<item name="Google Kalender" href="user-google.html" />
- <item name="Apple iPhone" href="user-apple.html" />
+ <item name="Emacs Diary" href="user-emacs.html" />
+ <item name="iPhone" href="user-apple.html" />
<item name="Mozilla Lightning" href="user-lightning.html" />
<item name="Microsoft Outlook" href="user-outlook.html" />
</menu>
diff --git a/src/site/xdoc/user-apple.xml b/src/site/xdoc/user-apple.xml
index b571388..2dfe178 100644
--- a/src/site/xdoc/user-apple.xml
+++ b/src/site/xdoc/user-apple.xml
@@ -2,7 +2,7 @@
<document xmlns="http://maven.apache.org/XDOC/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
<properties>
- <title>Anbindung Microsoft Outlook</title>
+ <title>Anbindung Apple iPhone</title>
<author>Yves Fischer</author>
<date>27.02.2011</date>
</properties>
diff --git a/src/site/xdoc/user-emacs.xml b/src/site/xdoc/user-emacs.xml
new file mode 100644
index 0000000..2df021e
--- /dev/null
+++ b/src/site/xdoc/user-emacs.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document xmlns="http://maven.apache.org/XDOC/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
+ <properties>
+ <title>Anbindung GNU Emacs</title>
+ <author>Yves Fischer</author>
+ <date>24.02.2011</date>
+ </properties>
+
+ <body>
+ <section name="GNU Emacs iCalendar Import">
+ <p>
+ siehe auch
+ <a
+ href="http://www.gnu.org/software/emacs/manual/html_node/emacs/Importing-Diary.html">GNU Emacs Manual: 38.12 Importing and Exporting Diary Entries
+ </a>
+ .
+ </p>
+ <source>(require 'url)
+(require 'icalendar)
+
+(defconst dualis-url "https://10.2.2.21/dhbwcalendar/ics")
+(defconst dualis-do-not-ask t)
+
+(defun dualis-import ()
+ (let ((buffer (url-retrieve-synchronously dualis-url)))
+ (save-excursion
+ (set-buffer buffer)
+ (icalendar-import-buffer nil dualis-do-not-ask)
+ (kill-buffer (current-buffer)))))
+ </source>
+ </section>
+ </body>
+</document>
+