DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:hcalendar

hcalendar Plugin

Compatible with DokuWiki

2007-06-26b

plugin Create entries for a calendar using microformat hcalendar

Last updated on
2008-02-18
Provides
Syntax

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Similar to calendoku, gcalendar, google_cal

Tagged with calendar, date, microformat

Translator's Note (not Jürgen)

This is a nearly complete translation of externally available German documentation above just to help those billions of people not capable of understanding German. All essential information is included. Nevertheless there's more than quantity of native speakers selecting a Lingua Franca … it's language economy as well for sure…

Introduction

Opportunities provided by gcalendar or google_cal make sense, however they are limiting user's abilities. Using HCalendar Plugin user can track appointments in his own schedule, requiring his web browser to be extended:

Read more on microformats.org.

Usage

Syntax

{{hcal>yyyy/mm/dd[hh:mm:ss];yyyy/mm/dd[hh:mm:ss]|<summary>|<location>}}

You need to enter this tag in a single line!

Example

{{hcal>2008/01/27|ramble|Nettersheim, Train Station}}

Result

<HTML> <div class=“vevent”><div class=“summary”>ramble</div> <span class=“dtstart” title=“2008-01-27”>Sun 27. January 2008 </span> <div class=“location”>Nettersheim, Train Station</div> <span class=“uid” style=“font-size:4pt;”>7389f65cae82068410b187f125718d54</span> </div> </HTML>

Example #2

{{hcali>2008/01/27[10:30:00]|ramble 2|Nettersheim, Train Station}}

Result

<HTML>ramble 2 Sun 27.January 2008 10:30 Nettersheim, Train Station</HTML>

Configuration

Rendering list entries and inline version might be controlled using several elements:

HCalendar element name HTML elements for list entries HTML elements for inline version
vevent div, abbr, span, p, h4, h5 abbr, span
summary div, abbr, span, p, h4, h5 abbr, span
dtstart div, abbr, span, p, h4, h5 abbr, span
dtend div, abbr, span, p, h4, h5 abbr, span
location div, abbr, span, p, h4, h5 abbr, span
uid div, abbr, span, p, h4, h5 abbr, span
dtstamp div, abbr, span, p, h4, h5 abbr, span

In addition you may adjust locale used on rendering, which is achieved using PHP function setlocale!

Discussion

plugin/hcalendar.txt · Last modified: 2018-05-13 19:36 by Aleksandr

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki