In reply to: https://mastodon.online/users/Mumonkan/statuses/116279486530440964
In reply to: https://mastodon.online/users/Mumonkan/statuses/116279486530440964
@Mumonkan@mastodon.online thanks for the reference to places.pub! It already exposes OSM places as AP objects in JS, so perhaps I won’t have to reinvent too many parts of the wheel.
I had also read back then the article from @Edent@mastodon.social - and since it was published around the same time that I had started working on GPSTracker it was the initial spark for the idea of a “federated Foursquare”. But I’m not sure if he’s done any progress on that after that article (or at least I couldn’t find any repo with an MVP).
His approach is also a good one, he proposes using the (also nearly unused) location attribute on an AP object - and perhaps using both that and h-adr on the URL may make it compatible both with Indieweb and ActivityPub.
The elephant in the room then would just be support for location attributes on Mastodon I guess.
I have the code at https://github.com/edent/location-activitypub-symfony
And you can follow @edent_location
The AP object has:
```json
"location": {
"name": "École maternelle Charles Perrault",
"type": "Place",
"longitude": "2.3002506",
"latitude": "48.9993291"
}
```
I think that's the same way PixelFed does it.