javascript library providing html markup enabling users to add calendar events to various off/online calendars
very beta, not yet published on npm, not tested on node, watch out for dragons
addtocalendar but reimplemented due to issue17
see also the demo page
This was screenshotted from the demo page. Look at the bottom to see that the link goes directly to the service, instead of going via some 3rd party server.
- clone + cd cloned dir
- exec
npm install
andnpm run-script dev
dates have to be Date.parse
or new Date()
parseable:
ISO-8601 or RFC2822 , recommended RFC2822
<span class="calendarium"
data-event-start="Mon, 05 Dec 2016 11:29:22 GMT"
data-event-stop="Mon, 05 Dec 2016 17:59:52 GMT"
data-event-title="MineCon 2016"
data-event-description="server snowball fight"
data-event-location="World 1">...loading...</span>
see demo/index.html for various advanced setups
yes it looks strange but that's correct quoting
data-services="["googlecalendar","generic","yahoocalendar","outlookonline"]"
data-event-mode="day"
is very welcome!