Closed
Bug 1169634
Opened 10 years ago
Closed 7 years ago
[Browser API] getMetadata()
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: benfrancis, Unassigned)
References
Details
(Keywords: feature)
As a developer I'd like to access any Linked Data [1] associated with the current page.
I propose adding a getLinkedData() method to the Browser API which returns a Promise that resolves with a JSON-LD representation of any Linked Data in the current page.
See thread on dev-webapi [2] for more background and discussion around which Linked Data formats to support.
1. https://en.wikipedia.org/wiki/Linked_data
2. https://groups.google.com/forum/#!topic/mozilla.dev.webapi/MCUvZ_sUYjc
Reporter | ||
Comment 1•10 years ago
|
||
getLinkedData() -> getStructuredData()
Summary: [Browser API] getLinkedData() → [Browser API] getStructuredData()
Reporter | ||
Comment 2•10 years ago
|
||
I don't think this is needed for Pin the Web in 2.5 after all, I think we can get by with the metachange event (bug 1178484) and linkeddatachange event (bug 1178491). The rest we can implement on the Gaia side.
No longer blocks: pin-the-web
Reporter | ||
Updated•9 years ago
|
Summary: [Browser API] getStructuredData() → [Browser API] getMetadata()
Comment 3•7 years ago
|
||
Browser API has been removed, marking incomplete.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•