-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Client Information Discovery without relying on microformats parsers. #23
Comments
I have started some initial documentation to see exactly what applications are publishing for discovery. Current statistics:
Next it would be helpful to see what other meta data points these pages are publishing, and have in common. Please help expand that wiki page with any further ideas! |
The table above has been updated with new statistics. This shows that Further developments in mostly chronological order, for those who do not want to read a day’s worth of chat logs:
From the discussions had it seems like everyone is having a positive outlook on Web App Manifest as a place to find application meta-data. |
The survey has been updated to tally how many client pages are advertising logos in the form of Both |
Raised again in chat today via @capjamesg who's interested in using Stats from https://indiemap.org/ (2017): out of 2700 sites and 5.7M pages, |
In the chat, myself and one or two others discussed how the IndieWeb Search crawler could act as an effective way to aggregate apps into a store. This information would be displayed on a separate search view so as to be distinguishable from regular search results. h-x-app seems logical in its structure for IndieAuth use cases but I do wonder if a dedicated manifest would be more appropriate for advanced applications such as an App Store whose contents are populated / aggregated from sites. I see that h-x-app is supported by a few clients but I am unsure if it is appropriate for my needs. I do think this should be discussed further. Is JSON-LD or a manifest file still worth exploring? On a side note I can collect stats from IndieWeb Search on any of the aforementioned proposals if such data would prove useful. (Thank you @snarfed for tagging and also for collecting data from IndieMap) |
In the context of IndieAuth itself, has there been any more recent implementer feedback to suggest h-x-app may not be appropriate for client discovery? I find the solution quite elegant in its markup -- providing just what a client needs -- but I understand the low adoption and the need for a microformats parser need to be considered. |
Should we close this in favor of #133 ? |
As creator of this issue, I am not opposed. I think a client metadata document and a way to discover it is a perfectly valid alternative to parsing microformats. And probably much better than any of the other side-file ideas offered herein. Let’s give people some time to oppose, and if nothing, close this issue in a couple days? |
I am in agreement with @Zegnat's position. |
So am I.. Just wanted to get the discussion started. |
Great, sounds like we generally have support for this. I merged in #138 so I'll close this now. |
This issue was created in response to a discussion in #indieweb-dev. The essentials should be summarised here, but for full context, see the chat logs starting at 11:31, ending around 11:55.
@pfefferle asked if it were possible to use a separate parser just for extracting
h-app
(IndieWeb wiki) information. Because for such “a very simple and uncomplicated format […] it would be a bit too much to include the mf2 parser”.The problem with a boiled down parser is it would be making assumption with regards to how the author is adding the
h-app
object to a page. And as soon as more complex microformats structures (nesting, implied values, vcp) are introduced to the mix anything that is not a full mf2 parser will likely fail.Conversely there might be reasons why shipping a full mf2 parser with every authorization endpoint is a problem. These problems can range from unavailability of a parser in a language, to more specific issues with packaging. The latter is what is happening for WordPress. Multiple plugins all have to ship their own version of the parser, fighting with each other over which one gets used, because there is no concept of shared dependencies.
The IndieAuth specification only depends on microformats for extracting application information during client information discovery. If this could be changed or offer an alternative straight from the HTML without further dependencies that might help authorization servers in doing this discovery.
(Note that the discovery of redirect urls already depends on HTML parsing for finding
<link>
elements, so depending on HTML parsing for other client information should be fine.)Some possible alternatives mentioned during the discussion:
<meta>
elements. As there is no application type, this may require defining a new namespace.rel="icon"
for the logo,rel="self"
for theclient_id
. The application name could be extracted from<title>
or more specific<meta name="application-name">
elements.<script type="application/ld+json">…</script>
).The text was updated successfully, but these errors were encountered: