I'm playing with this and so far it's great. I do have one problem. I am adding ORGANIZATION to the vEvent like so:
//$event->add('ORGANIZER', new Property('CN="Bob Jones":mailto:bob.jones@example.com');
Unfortunately, this doesn't work right as it comes out like this:
ORGANIZATION:CN="Bob Jones":mailto:bob.jones@example.com
But the spec seems to call for a ";" instead of a ":" after ORGANIZATION in file. Am I supposed to be using another method?
Doh! Now it makes sense. I ended up with something like this:
$event->add('ORGANIZER', new Property('mailto:'. nameToEmail($results['Creator - ']), 'CN="'. $results['Creator - '] .'"'));
This produces:
ORGANIZER;CN="Bob Dole":mailto:Bob.Dole@example.com
Which appears to be to spec.
Log in to post a comment.
I'm playing with this and so far it's great. I do have one problem. I am adding ORGANIZATION to the vEvent like so:
//$event->add('ORGANIZER', new Property('CN="Bob Jones":mailto:bob.jones@example.com');
Unfortunately, this doesn't work right as it comes out like this:
ORGANIZATION:CN="Bob Jones":mailto:bob.jones@example.com
But the spec seems to call for a ";" instead of a ":" after ORGANIZATION in file. Am I supposed to be using another method?
Doh! Now it makes sense. I ended up with something like this:
$event->add('ORGANIZER', new Property('mailto:'. nameToEmail($results['Creator - ']), 'CN="'. $results['Creator - '] .'"'));
This produces:
ORGANIZER;CN="Bob Dole":mailto:Bob.Dole@example.com
Which appears to be to spec.