-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Discovery of the Media Endpoint Using Link Rel #15
Comments
In practice this probably wouldn't be used very often, because a Micropub client is going to want other information in |
Originally proposed, I believe, by @martymcguire . Initial consensus of this at the popup discussion seems to be that there was no compelling use case to add this. However, the full background was not discussed which means this needs revisiting. |
There was apparently some additional reasoning and discussion about this on the wiki. I am moving it from there so that we can continue the discussion here: As Micropub Media Endpoints are often implemented as separate services from a site's "main" Micropub endpoint, it may be useful to allow Micropub clients to discover the media endpoint without needing to query the "main" endpoint at all. Discovery of a Micropub Media Endpoint could be accomplished like [https://www.w3.org/TR/micropub/#endpoint-discovery Micropub endpoint discovery], with HTTP Link headers: Link <https://aaronpk.example/micropub/media>; rel="micropub_media" Or via HTML Link tag: <link rel="micropub_media" href="https://aaronpk.example/micropub/media"> Add Media support to a site whose Micropub server is missing it – With the current Media Endpoint discovery algorithm, a micropub client must ask the server whether a media endpoint is available. Micropub servers, especially those that create posts for static sites like Jekyll, don't offer media endpoint support. If a user sets up a separate micropub media endpoint, they must configure their "main" micropub server to make it available to clients - a change that could require them to edit the code of the micropub server. Standalone Media Endpoint – Indigenous for Android supports uploading files to a media endpoint and copying the URL to the clipboard for use in any context. Separating media endpoint discovery from "main" micropub server discovery would allow micropub clients to manage media without also managing posts on the site. This is currently implemented by: |
|
Oops, buttons. Thanks @dshanske for originally creating this issue and double thanks @aaronpk for adding the discussion from the wiki. @dshanske to benefit future discussion I ask that you please edit your comment above about "General consensus" to include important context. For example, when it was discussed, by whom, and what existing references/discussion were reviewed at that time, etc. |
No chance it will work yet, but according to this link indieweb/micropub-extensions#15 (comment) and my setup, this line shows where I want it.
As Micropub Media Endpoints are often implemented as separate services from a site's "main" Micropub endpoint, it may be useful to allow Micropub clients to discover the media endpoint without needing to query the "main" endpoint at all.
Discovery of a Micropub Media Endpoint could be accomplished like Micropub endpoint discovery, with HTTP Link headers:
Link https://aaronpk.example/micropub/media; rel="micropub_media"
Or via HTML Link tag:
The text was updated successfully, but these errors were encountered: