-
Notifications
You must be signed in to change notification settings - Fork 44
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
##text=
instead of ##targetText=
?
#25
Comments
Yup, I agree. If the FWIW, there's the alternate POV that we should use the Web Annotation Fragment Syntax. IMHO, it's overly-verbose for our purposes so I'd prefer something like |
I also think it's overly verbose, and while it's great that it provides extensibility, in theory, to agents that understand web annotation, I don't see systems being able to interpret custom selectors minted by other systems. There may be still be some value in parsing them, recognizing the selector from the URI, but having a shorthand for the common types doesn't seem like a problem to me. |
On reviewing the draft I thought similar, though I’d propose
|
I think I think |
Thanks! Interesting. I’d beg to differ, maybe we can bounce some ideas off another? What I find problematic about
That being said, we might just be on to something in that neither term may work that well. Brainstorming might help, soliciting more feedback, or otherwise broadening options. |
URLs implicitly mean navigation somewhere, so a I also find it slightly confusing that |
I like to stay with this for a moment because I like the question. How about the following test: Which URL parameter, fragment or not, could not be called If we find that this is broad, so broad that the name can be used for anything, how about at least exploring (only exploring) other names? It may not be |
I don't think anything has to sound like navigation or not. If new behavior is being introduced, it will be learned. There's little reason, a priori, anyone should believe that a regular fragment is about navigation until they learn it. However, on a related topic, I do find it interesting that the normal fragment syntax navigates to an element with the given Let's imagine such a delimiter were available, and pretend that it's Alas, we're probably must make compromises. I don't think we should be very concerned with what people might think a new syntax means before they are familiar with it, because that is teachable. I do think we should be very concerned with how the terms and syntaxes we use are more or less consistent with adjacent specifications and behaviors, like CSS. I think I agree that |
Just to add to what's already been said: the syntax here is an extension of URL fragments, the purpose of which is to identify a subresource within the specified primary resource. Within that context, I think it's consistent that any mechanism is used to find a target within the page (as opposed to say, passing text to the page, which would nominally be achieved with a |
The spec and explainer have been updated to use |
Echoing https://twitter.com/zcorpan/status/1182556480874176513, is the rationale behind https://groups.google.com/a/chromium.org/d/msg/blink-dev/zlLSxQ9BA8Y/iwqapGKlCwAJ explains that a thorough web compat investigation was done for cc @zcorpan |
Good point, most of the history here is in #15. The details (e.g. total corpus size) about searching in the Google databases I can't share as it's proprietary but I'll write up a section in the explainer with the history, what we tried, and the justification. |
I've added a section in the explainer, feel free to let me know if there's still outstanding questions. |
I understand the desire to avoid clashing with existing
id
s, but it seems like the##
delimiter handles that problem already.##text=
seems just as clear and a lot briefer, which is important in URLs.The text was updated successfully, but these errors were encountered: