document.Yowl.register( "cal", [ "Found an event" ], [ "Found an event" ], "formats/icon-hcalendar.png" );
select: [ "summary", "description", "location", "dtstart" ], where: [ { pattern: [ "?event", "a", "http://www.w3.org/2002/12/cal/ical#Vevent" ], setUserData: true }, /* * Add any additional properties that we need. */ { pattern: [ "?event", "http://www.w3.org/2002/12/cal/ical#summary", "?summary" ], optional: true }, { pattern: [ "?event", "http://www.w3.org/2002/12/cal/ical#description", "?description" ], optional: true }, { pattern: [ "?event", "http://www.w3.org/2002/12/cal/ical#location", "?location" ], optional: true }, { pattern: [ "?event", "http://www.w3.org/2002/12/cal/ical#dtstart", "?dtstart" ], optional: true } ] cal-event document.Yowl.notify( "Found an event", ${summary.content}, ${summary.content}, "cal", ${depiction}, true, 0 );
${summary.content} ${location.content} ${dtstart.content}