h-entry icon indicating copy to clipboard operation
h-entry copied to clipboard

u-checkin draft property

Open aaronpk opened this issue 6 years ago • 2 comments

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

  • OwnYourSwarm converts Swarm checkins to an h-entry Micropub request, including the checkin property
  • p3k used by myself publishes checkins in the checkin property (example)
  • Martijn publishes the checkin property (example)
  • Seb publishes the checkin property (example)
  • David Shanske publishes the checkin property via WordPress (example)
  • swentel publishes the checkin property via Drupal (example)

Consumers

  • Together consumes the checkin property to display checkins on a map view
  • Monocle consumes the checkin property to show a small map image on checkin posts
  • Indigenous for Android consumes the checkin property to show a small map and links to a routing app to get directions

aaronpk avatar Feb 28 '19 01:02 aaronpk

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.

dshanske avatar Sep 12 '20 04:09 dshanske

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>

btrem avatar Dec 07 '22 01:12 btrem