indieweb / indiewebify-me

Tools to help you get the best out of your indieweb site
http://indiewebify.me
166 stars 26 forks source link

h-entry validator should check for valid RSVP values! #67

Open tantek opened 7 years ago

tantek commented 7 years ago

h-entry validator should detect if an h-entry is an RSVP (e.g. has p-rsvp property) and make sure the value provided is valid (yes,no,maybe,interested).

Maybe suggest markup if an invalid value is provided e.g. if someone says

<span class="p-rsvp">I'm attending</span>

perhaps suggest instead

<data class="p-rsvp" value="yes">I'm attending</data>

cc @aaronpk (who discovered invalid RSVP values received by webmention.io)