Commit 20794861 authored by Sebastian Pekarek's avatar Sebastian Pekarek
Browse files

updated docs

parent fad291a6
......@@ -17,7 +17,7 @@ var ical = require('ical-generator'),
http = require('http'),
cal = ical();
cal.setDomain('sebbo.net');
cal.setDomain('sebbo.net').setName('my first iCal');
cal.addEvent({
start: new Date(),
......@@ -43,6 +43,11 @@ console.log('Server running at http://127.0.0.1:3000/');
Use this method to set your server's hostname. It will be used to generate the feed's UID. Default hostname is localhost.
### setName(name)
Use this method to set your feed's name.
### setProdID(prodID)
This method is used to overwrite the default ProdID:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment