Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
micropub checkins not working #1227
just tested http://ownyourcheckin.wirres.net/ which peso your checkin from 4sq and publish it via micropub back to your site. The status is coming to my known site but not as checkin.
The checkin category is ignored or probably nothing checks against if it is possible to publish a checkin entity if it is enabled.
at this time, it looks like it's impossible to distinguish a check-in from a note with location info. feel free to come chat in #indiewebcamp (freenode irc) if you want to try to work out how it can be done.
referenced this issue
Feb 15, 2016
I created a branch where I modified the IdnoPlugins/IndiePub/Pages/MicroPub/Endpoint.php so it grabs the location and the place_name from the MicroPub and saves a new checkin.
In this case I treat all entries with a location as a new checkin. If you use Ownyourgram.com and add a location to your Instagram, you will also end up with a checkin rather than a photo in your Known.
Now, the question remains, what is a checkin and how is it different to a note with location data..? Do I prefer a photo with a link to (or embed) a map or a checkin with a photo... or both?
@dissolve suggested including a (optional) parameter in the publish request
It doesn't have the ideological purity of the post-type-discovery approach, but it's a useful hedge since Known has very explicit post types.
added a commit
Feb 16, 2016
ok, hth, this is what get’s send now: