[openstreetmap/openstreetmap-website] Replace Shortlink custom algorithm with a standard implementation (Issue #4205)
Brooks Boyd
notifications at github.com
Fri Sep 1 12:57:04 UTC 2023
> If you want something more interoperable, you should take a look at Geo URI instead, which is right next to the short link feature on osm.org. It includes an additional "z=?" parameter for the current zoom level. Check RFC 5870 for more details.
That's a good point that there's a standards-based link style already there as an option. So what is the benefit to the site having multiple different types of "shareable" links to the same map view. I think it's great to encourage cross-linking between mapping services, and having multiple types of links could help encourage that, but if the link format is not a widely-accepted standard, is it actually being used and worth having as part of the codebase? Even if it's not a notable maintenance effort to keep it in, removing it could help the overall compiled size of the application (potential minor performance gain), and encouraging other sites to transition off of proprietary tools helps increase the network-effect of related sites, no?
I think this is not a severe issue/bug/error that needs to be corrected right away, but as a software developer myself, I do think that evaluating "where can/should the codebase be reduced/trimmed down" is a good practice alongside adding new features. What do the current usage metrics show for which types of share links are being used most frequently? And are they from long-term links from other sites, or links that people seem to be emailing/messaging each other?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/4205#issuecomment-1702706544
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/4205/1702706544 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230901/c8aeffd0/attachment.htm>
More information about the rails-dev
mailing list