microformats / h-entry

For collecting and handling issues with the h-entry vocabulary specification: http://microformats.org/wiki/h-entry
17 stars 5 forks source link

u-checkin draft property #15

Open aaronpk opened 5 years ago

aaronpk commented 5 years ago

There are a handful of publishers and consumers of the checkin property in h-entry now. The value of the checkin property is an h-card describing the venue or location being checked in to.

Publishers

Consumers

dshanske commented 4 years ago

The h-entry specification does not mention a definition of the checkin property. Proposing the following definition.

u-checkin - the URL of the venue/location h-card which the h-entry is considered a “checkin” of. Optionally an embedded h-card.

btrem commented 1 year ago

A venue/location may not have a url, or the author may not know it, in which case u-checkin wouldn't work. Why not p-checkin?

<article class="h-entry">
  <h2 class="p-name">At the Foo Bar With Coworkers</h2>
  <p class="e-content">
    I'm having an after-work beer at
    <span class="p-checkin">The Foo Bar</span>
  </p>
</article>

If the author has more info about the venue, and wants to include them, (s)he can:

<article class="h-entry">
  <h2 class="p-name">At the Foo Bar With Coworkers</h2>
  <p class="e-content">
    I'm having an after-work beer at
    <a class="p-checkin h-card" href="http://example.com/foobar">The Foo Bar</a>
  </p>
</article>