"Share Openly" 协议:重塑Web内容跨平台分享的标准化路径
Web 内容分享的碎片化现状亟待统一。Ben Werdmuller 提出的 "Share Openly" 协议,旨在通过在页面头部添加 `<link rel="share-url" href="...">` 元标签,标准化不同社交平台(包括 Facebook, LinkedIn, Bluesky, Threads, Reddit, Mastodon 等)的分享链接和文本参数。该协议能够自动识别并适配各平台分享接口的差异,例如部分平台仅支持 URL,部分支持 URL 与文本,甚至仅支持文本。对于仅支持文本的平台,如 Mastodon 和 Bluesky,建议将 URL 嵌入文本中,以确保分享的完整性。
此举意在建立一个通用的分享机制标准,简化用户跨平台分享的操作流程。尽管该标准尚需社群的广泛采纳和推广,但其为解决当前分享接口不统一的痛点提供了切实可行的技术路径。通过定义统一的元标签格式,开发者可以更便捷地实现跨平台分享功能,提升用户体验,并有望推动整个互联网内容分享生态的规范化发展。
What about using rel=“share-url” to expose sharing intents?
Let’s say that you’ve visited a website and want to share it with your friends. At the bottom of the article is a list of popular sharing destinations - Facebook, BlueSky, LinkedIn, Telegram, Reddit, HackerNews etc. You click the relevant icon and get taken to the site with the sharing details pre-filled. The problem is, every different site has a different intent for sharing links and…

网友讨论