-
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I'd love to be able to mark up quoted text on my websites so that:
- if someone uses Margin to annotate them on my site, those annotations are recorded as being of the original text (and also shown there)
- annotations of text on that original site (that are wholly reproduced on my site, and appropriately referenced) are also shown on my site.
There's a possibility this could be done with the cite attribute of html blockquote and q tags. Though I can't find a standards-compliant way of declaring the date a quote was pulled from the source site on a q or blockquote element, nor would CSS or XPath selectors be easy to make work cross-site.
Do upvote 👍 if this seems interesting!
For example if an origin site at https://example.com/page has:
<p>
A section with some text that's worthy of annotation in it, and some text that's interesting later too.
</p>And if a second site had:
<p>
Some commentary about
<q cite="https://example.com/page">
some text that's worthy of annotation
</q>
in it
</p>
<blockquote cite="https://example.com/page">
A section with some text
</blockquote>
<p>
I could also be precise with
<q cite="https://example.com/page#:~:text=with,some,that's,worthy">
some text that's
</q>
with text fragments, if the quote is ambiguous.
</p>Then a Margin annotation of:
- "some text that's worthy of annotation" on the second site would appear on the origin site
- "A section with" on the origin site would also appear in the blockquote on the second site
- "commentary about some" on the second site, because it's partially outside the
qtag, would not appear on the origin site.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request