Two standard URIs we need in [current year]:

1. Music. I should be able to share a platform agnostic link to a song that your music service can match and open correctly

2. Maps. This one should be like especially straightforward. Why can’t I send you a link from Apple Maps that opens in Google Maps or Open Street Map or whatever.

Let’s go standards body people. I know y’all are on Fedi

Edit: hey maybe check replies before replying. A ton of people have already mentioned geo:// 🙂

@danirabbit geo: exists but im not sure of its adoption
geo URI scheme - Wikipedia

@craftxbox @danirabbit yay! I'm so going to use this. 🌐🌏🌎🌍🗺️
Thank you!
@craftxbox @danirabbit
I use "geoshare" app on android that takes google map and apple map links and gives you the corresponding geo link. Works great.
@craftxbox @danirabbit Looks like there is a nifty extension to open geo:// links in Firefox ... nice!
@danirabbit I’ve pondered the music thing multiple times.. I moved off Spotify for (reasons) but knowing which service a friend uses vs I use is hard… it would be smart to unify it in some way
@PopeASDF @danirabbit for songs I use https://song.link
It’s fantastic, and handles everything from YouTube to Spotify to Apple Music. I even found an iOS shortcut that lets me share straight to its API
Songlink/Odesli

Automated, on-demand smart links for songs, albums, podcasts and more. For artists, for fans, for free.

Songlink/Odesli

@puzzler

I like that one. Does songs and albums. The only quirk is that you need to give it the link to a song/album on one of the services to start with, but then it gives you a link to choose the platform you want to listen on.

Example: https://album.link/y/OLAK5uy_ngChY-hNoXPKyCTOr7SNjLuZA42IMslJE

@danirabbit @PopeASDF

Hoe-Downin' by TokenGrass

Listen now on your favorite streaming service. Powered by Songlink/Odesli, an on-demand, customizable smart link service to help you share songs, albums, podcasts and more.

Songlink/Odesli
@nyquildotorg @puzzler @danirabbit @PopeASDF of course the trouble there is requiring a3rd pay website to support each music service. Rather than allowing the device OS to pass the data to the users chosen app
@nyquildotorg @puzzler @danirabbit @PopeASDF no Qobuz support so its not very useful.

@johnglass

This is the first time I've ever heard of Quobuz, and I'm not 100% sure you didn't just make it up lol
@puzzler @danirabbit @PopeASDF

@johnglass
(I looked it up and does look nice. And because it's only been available in my country for a short time compared to other services, I guess it makes sense that I've never heard of it.)
@danirabbit i feel like #2 is just… latitude and longitude. that should just work?
@miriamrobern @danirabbit just add shortitude, to be forward compatible

@miriamrobern @danirabbit

Yes, sharing coordinates and not a proprietary format link from a phone application is not straightforward. If I had to explain it to someone via text or voice, I'd probably fail to be understood.

@miriamrobern @danirabbit Having a street address in there seems useful in lots of cases, though.

@danirabbit Uh... Hi! I do standards work. Not for that, though. 🙃

And yes, the music one in particular is incredibly frustrating. Yes, it's a library science problem and library science is hard but still...

@faithisleaping Oh hi librarian here and can I just be very specific: that's a *music* library science problem. As a non-music librarian I for one am backing away rapidly from this problem but I do look forward to the conference presentations and journal articles, k thx thoughts and prayers.

@danirabbit

@danirabbit wait there isn't a map one? o.o I thought ... *checks* UGH the fucking "Default Maps App" thing from windows 10 was "BINGMAPS:" all along? UGH!!

Yes definitely 100000%

@danirabbit I would love some kind of internet-based mimetypes ​ I'm still convinced that a big issue with Fedi adoption is the lack of standard ActivityPub URIs for sharing links. It's gotta be confusing for people when you link to a post and it goes to the originating server instead of opening on your Fedi server of choice, or even maybe having your browser pull up a server-picker like system app picker does when you don't have a default set.
GitHub - timbray/fedi-uri: Specifying a URI scheme for identifying Fediverse resources

Specifying a URI scheme for identifying Fediverse resources - timbray/fedi-uri

GitHub
@Rusty @danirabbit this is partially because of ActivityPub being kind of fucked about how this works at all, I looked into how directly pulling up posts works awhile ago and it's very cursed which is why sometimes it just completely doesn't work.

@danirabbit  

music://song=<song-name>/artist=<artist>/album=<album>/year=<year>/ISMN=<ISMN> perhaps?

That should give just about enough information to find any given song.

@krutonium @danirabbit classical music begs to disagree and that's just the one instance I know of, I'm pretty sure several more examples exist that don't fit that schema. It's sadly a very complex problem, as mentioned by a librarian in this discussion
@danirabbit
https://odesli.co/ seems to do a decent job with music links. there are several services that do similar things, but most are non-free.
Songlink/Odesli

Automated, on-demand smart links for songs, albums, podcasts and more. For artists, for fans, for free.

Songlink/Odesli
@jebeyer @danirabbit https://song.link and https://album.link also redirect to that page which are a lot easier to remember
Songlink/Odesli

Automated, on-demand smart links for songs, albums, podcasts and more. For artists, for fans, for free.

Songlink/Odesli

@danirabbit there are geo: uris which have

mixed support

@[email protected] @danirabbit my first reaction to a "general map URI standard" is that like, this is extremely nontrivial unless your payload is just a single point in the world identified by GPS coordinates. and of course, this is already supported in geo:. but like, maps applications support linking to a particular business, to a particular address, to a particular region, and a variety of other things. this is all quite nontrivial to communicate in a URI. maps apps also generally support things like a location sharing link; this would likely not work cross-application, and i think it overall would make for a confusing user experience to inconsistently copy a "standard" link or a "proprietary" link depending on what you want to link to.

like, i'm not against having a richer maps URI, i would
love that, but i disagree that "it's especially straightforward" because map apps support so much more nuance than a point in the physical world, because the ways human specify places is extremely fuzzy and nearly impossible to unambiguously reference in all cases.

and almost the
exact same thing goes for songs: there is no universal registry of all songs, and songs are not unambiguously or uniquely named. you can't reference a song uniquely, in a uniform way. and unlike real world places, there is no convenient approximation that's good enough in most cases and can be uniquely referenced; that approximation being GPS coordinates because "taking up space on earth" is close enough to a universal registry for that approximation to be actually useful in the real world.

still, i'm all for it. please, standards folks, figure out the fuzziness of human creativity and make a useful music link and maps link.
@sodiboo @danirabbit in particular you’d put in the address in the ?q= argument (and the only part that is supported on google maps)
@[email protected] @danirabbit google maps has way richer links than just a query.

here's a link to the transit map of Stockholm:

https://google.com/maps/@?api=1&map_action=map&center=59.3,18.1&zoom=12&layer=transit

here's a bicycle route from the pyramids of giza to the nile river, avoiding toll routes:

https://google.com/maps/dir/?api=1&origin=Pyramids+of+Giza&destination=Nile&travelmode=bicycle&avoid=tolls


when
not using their API with very nice readable parameters, just the URLs that are used by the app itself and shown to humans, then they consist of three parts:
- the human-readable slug (useless on its own,
sometimes a valid link but not generally not)
- the map state (location & zoom)
- the auxiliary data on the sidebar; "which business should be associated with the pin"

here's an example of a linking to a software company in Stockholm:

https://google.com/maps/place/Null+Island/@59.33213,18.06284,801m/data=!3m2!1e3!4b1!4m6!3m5!1s0x465f9d1049578d27:0x3f117cf11bf669c8!8m2!3d59.33213!4d18.06284!16s%2Fg%2F11n5td911b

to link to just coordinates, the shortest way is to omit the other parts. here's just off the coast of africa:

https://google.com/maps/@0,0,1m

Most places don't support this syntax, but here's a short way to refer to London:

https://google.com/maps/place/London/

and London, Ontario:

https://google.com/maps/place/London,+ON,+Canada/

and indeed, the query syntax you mentioned is the most versatile, as it supports more fuzzy searches than the "place" syntax:

https://www.google.com/maps/?q=LAX

the directions endpoint also supports "place IDs": with a particular query or coordinate, you can also associate a unique ID in the Google Places database; which if found, will match a particular establishment or something like that, rather than trying to do a fuzzy search.

Google Maps doesn't seem to have a documented "search near" API endpoint, but Apple Maps has such a thing. Here's a link to pizza places in Berlin:

http://maps.apple.com/?q=Pizza&near=52.51874,13.40802
Bevor Sie zu Google Maps weitergehen

Plus Codes

Plus Codes are short codes for locations, for places that don't have their own street address.

Plus Codes

@sodiboo @danirabbit @charlotte In the end, a lot of these are just "convenience features", not necessary for a "bare-minimum standard" that all providers and clients alike *could* and *would* implement.
– IDs are often times tied to a single provider's database, so probably no two providers could agree on using the other one's as point of reference. Also, if that provider goes out of business, the whole system stops to work. This system wouldn't federate well at all

1/

@sodiboo @danirabbit @charlotte referencing to a place *would* theoretically be possible, however, this, again, would need to some debate, as some would wish for this to be the official name in the native language (either encoded or a slug), while others would opt for the English name. Best one *can* probably do, is plain text search.

As with IDs, there would need to be a global identifier with a standard pattern to it which everyone, not just a single monopolistic company, can agree on

2/2

@danirabbit what about a "open this fedi link on my home instance"? 🥲
@danirabbit Movies and TV shows would be good too (Although, I do admit a lot of them are only on 1 or 2 services)
@chrisp
Being able to, with a tvdb number, find the streaming / purchase options for a TV show or film IN MY COUNTRY would be a fun service.
@danirabbit

There's two important considerations there @danirabbit.

* Making the specification for the URI scheme. This is a matter of figuring out what clients need, what servers need, and how to agree on a canonical way to specify the unique item we're referring to.

* Implementation in clients for that URI scheme. This is a matter of whether it's *of benefit* to the people who make decisions about the features and maintenance of those clients.

So, to take the Maps example:

* The 'geo' URI Scheme already is standardised. https://en.wikipedia.org/wiki/Geo_URI_scheme

* Client applications will implement it, *if* the decision makers see benefit. OpenStreetMap supports it fine: https://wiki.openstreetmap.org/wiki/Geo_URI_scheme

@danirabbit

geo URI scheme - Wikipedia

To take the Music example:

* We already have 'https' URIs for pointing to specific audio data. That should be good enough, right?

* The people that want to gate-keep who gets to play music, absolutely hate open standards for playing music. And artists are, of course, concerned about their recordings propagating beyond their control. So, what incentive do music platforms have to support a standard link to music?

Without that, it goes nowhere.

@danirabbit

@danirabbit There’s a map URI that seems to work on iOS:

maps:?q=52.3606,4.8755&z=13

No idea if it works on Android.
Not much documentation on it.
https://www.iana.org/assignments/uri-schemes/prov/maps

@dmian @danirabbit Doesn't work on android. The Geo Share app doesn't recognize it. Firefox as well. Looks like it's just an Apple thing
@gtb @danirabbit That’s what I feared. Tough luck.

@danirabbit

For #2 we already have Latitude and Longitude which should be service agnostic provided they use the same geodesic reference 🙂

Latitude : 53° 1' 40''
Longitude : - 4° 16' 51''

@simonzerafa @danirabbit ain't no way I'm sending latitude and longitude in a text to my date when she asks where the restaurant is.

@cubeofcheese
You shouldn't even have to see it. On your map app, you put a pin and share it. The app makes up the uri and sends that to your date. Their maps app opens the link.

Include a comment with the street address or code phrases to be dropped with the bartender, and you're set.

@simonzerafa @danirabbit

@xinit @cubeofcheese @danirabbit

Sure. It's just a formatting issue rather than not having a framework.

KML/KMZ is one option. Others are bound to exist.

@danirabbit this isn't a standard, but Tidal automatically generates these nice share pages so it doesn't matter what service the recipient uses
Ex:
https://tidal.com/browse/album/409386860?u=
Bad Bunny - DeBÍ TiRAR MáS FOToS

Listen to DeBÍ TiRAR MáS FOToS on your streaming service

Music on TIDAL
@danirabbit ok, this is really cool. Didn't know Tidal does this.

@danirabbit the maps part is totally solvable, no question. iOS should just implement geo uris.

Music is basically impossible though. You could at best have a uri that triggers a best effort query based on metadata, like what Google assistant does when I say "play shallows". But there doesn't exist a universal music database that would allow you to have actual unique identifiers. This is why music streaming platforms can get artists and songs confused. Would be nice though

@cubeofcheese @danirabbit does musicbrainz not do that? you could also just have multiple providers (like music:?provider=musicbrainz&id=…)
@danirabbit
Apologies if I've missed the point but for location sharing #what3words

@sticklandtim Yes, you missed the point, I'm afraid.

Since you mention it, What3Words is objectively bad and should not be used. Since you appear to be in the UK, I recommend using Ordnance Survey grid coordinates to share locations. The free OS Locate app lets you obtain them quickly and easily. https://w3w.me.ss/

@danirabbit

What 3 Words is a Mess – Our opinion is that the proprietary W3W serivce is unhelpful and dangerous. This site is not affiliate with What3Words. "W3W" is a trademark of What3Words Ltd

@krans
Thanks, will definitely have a look at the OS.
@sticklandtim @danirabbit what3words is a) bad, b) imprecise, and c) not an uri scheme
@sticklandtim @danirabbit Apart from the fact that W3W being proprietary makes it utterly unusable for this purpose, the service itself is not without its problems: https://www.theregister.com/AMP/2023/09/01/what3words_geolocation_criticism/
What happens when What3Words gets lost in translation?

UK emergency services organizations urged to consider alternatives

The Register