We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can continue the conversation there. Go to discussion →
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
From the docs and examples it seems that the following is the recommended way of creating an ATTENDEE entry:
ATTENDEE
>>> attendee = vCalAddress('MAILTO:maxm@example.com') >>> attendee.params['cn'] = vText('Max Rasmussen') >>> attendee.params['ROLE'] = vText('REQ-PARTICIPANT') >>> event.add('attendee', attendee, encode=0)
However, I would need that entry without the email address. The following works:
>>> attendee = vText('') >>> attendee.params['cn'] = vText('Max Rasmussen') >>> attendee.params['ROLE'] = vText('REQ-PARTICIPANT') >>> event.add('attendee', attendee, encode=0)
This generates a valid entry
ATTENDEE;CN="Max Rasmussen";ROLE=REQ-PARTICIPANT:
(note the trailing :) but this seems somewhat clumsy to me. What’s the recommended approach here?
:
The text was updated successfully, but these errors were encountered:
The specification says that:
attendee = "ATTENDEE" attparam ":" cal-address CRLF
where attparam can be empty, and cal-address is a RFC 1738 URI or other IANA schemed data item. As such, perhaps about: or data: would work, i.e.
attparam
cal-address
about:
data:
>>> attendee = vCalAddress('ABOUT:Max Rasmussen')
This validates, works with Apple Calendar, but the Google Calendar shows no attendee names (see also this forum post).
Sorry, something went wrong.
No branches or pull requests
From the docs and examples it seems that the following is the recommended way of creating an
ATTENDEE
entry:However, I would need that entry without the email address. The following works:
This generates a valid entry
(note the trailing
:
) but this seems somewhat clumsy to me. What’s the recommended approach here?The text was updated successfully, but these errors were encountered: