I hadn’t really looked, but it turns out that Mastodon has incorporated microformats. It has h-feed and h-card, h-entry (a status), and h-cite (a boost). Plaint text properties (p-), e-content, and link properties (u-) are implemented. Indeed, they all surface when looking at a profile’s HTML source. This is what makes it possible to e.g. follow Mastodon feeds as h-feed, next to the existing RSS output and ActivityPub, and that e.g. Brid.gy can do its work to carry over any interaction on a Mastodon post to a blogpost here.
What I haven’t found was what I was looking for.
The ActivityPub protocol in its specs has several so-called Activity Types that drew my attention:
- Announce, to well, announce things, such as any of the following
- Arrive, which can be used to check-in at a location
- Leave, to check-out, or as I sometimes do, to announce I’ve been somewhere after the fact.
- Travel, which can be used to announce ongoing or planned travel.
In short ActivityPub supports FourSquare and Dopplr like check-ins and travel plans. I’ve recently added that to my site in terms of microformats and was still wondering how to create a useful stream for it. I’ve been thinking about an OPML outline with schema.org attributes, or a dedicated RSS feed or h-feed. An ActivityPub stream might be of interest too, or even more. There’s a PHP implementation of ActivityPub that includes these Activity Types as well, meaning there’s potential to experiment for me.
I wonder, are there any actual implementations of these ActivityPub types currently?
@ton not for physical check-ins, but immers.space uses arrive / leave for virtual locations
@ton oh I’d love that. You’d still need to somehow de-duplicate places people ‘check in’ to. Just coordinates would likely not be enough. Tough to federate?
@tijs yes , place discovery is non-trivial. Looking at https://latl.ong/ by @manton for that
Meridian
I’ve started on a range of location-based services in (streams). Provided a proof of concept demo just a few weeks ago of posts sorted by distance from a given spot. Will add the relevant activities as this moves forward.
thanks for sharing on twitter
@ton haven’t seen it. You might like building on go-fed to experiment, see e.g. https://go-fed.org/ref/activity/streams and https://go-fed.org/overview
Go-Fed
@manton @ton oh that looks very neat, thanks for the link
😀 (I share posts directly from my blog to Twitter, and responses I see on my blog, so I don’t go to Twitter. )
@mike that sounds interesting! Any online things to look at (blogposts e.g.)?
@ton@m.tzyl.nl https://unfediverse.com/item/b5f6174b-76aa-44a0-8d43-302e6a479441 mike wrote the following post Sun, 02 Oct 2022 12:01:10 +1100 Here’s a proof of concept for geotagged posts. Note: Very few fediverse projects support geotagged posts and very few people have location tagging enabled even if their platform provides it. But here’s a screenshot of my stream sorted by distance from somewhere in Australia (the nearest post was tagged from Thailand 2 years ago on Pixelfed) , followed by the same stream sorted by distance from New York City (the nearest post is from Pennsylvania). Please note that this feature is still in its infancy clearly we need wider adoption to make it useful. I intentionally did not use any proprietary database functions so that you can use it with any SQL backend. When completed, we’re hoping to be able to provide a distance sort of geotagged content from either your current device location or an arbitrary location you provide.
@mike cool. Thank you!
Just took a first cut at check-in (Arrive) activities. Not there yet but it’s not very scary.
Sadly the timing here is a bit off. Mastodon added microformats2 years ago; they’re actually now in the process of removing them in the 4.0.0 release. May not be intentional, may just be a casualty of switching the whole app to be an SPA that requires JavaScript (aka JS;DR), which kills their IndieWeb compatibility, since it means other web sites and IndieWeb tools can’t fetch Mastodon posts over HTTP directly any more. Sad.
Oh, that is very unfortunate!
@ton @ianthetechie @tijs “I wonder, are there any actual implementations of these ActivityPub types currently?”
Yes. But they are not ready yet. We demoed recently at https://fedi.camp
–also https://digitalcourage.social/@markush/110751773166789529 https://digitalcourage.social/@sl007/110752650588487273
Taxiteam is a payed assignment by @clemensg where I use Travel and Arrive a lot. Call a cab via Fediverse. We did also an Atlas of 1.9 mio. Places alongside their knowledge of wikidata and OSM!
Also @redaktor where Taxiteam is one of the clients will support them.
(ActivityPub Conformance means supporting all types, see Section 1, the Conformance Section for “the entirety”).Also Trailsapp will use it probably;https://matrix.to/#/!yOKPSTunBXKnkaReuJ:matrix.org?via=matrix.org
@ton @tijs ooh this is fascinating. Thanks for sharing these articles. I really need to read the ActivityPub spec one of these days. This really has my imagination going! A location based network similar to 4sq used to be where you get to simultaneously improve the quality of data in OSM. I could dig a simple EveryDoor-like flow for adding or confirming data. Wrap it in a nice app UX similar to Ivory and add features on top to show recent by location, upcoming travel, etc.. could be epic.
In reply to Who do I know in …? by Lloyd Davis There’s a static part here (who is usually in which city) and a…