skohub-io / skohub-extension Goto Github PK
View Code? Open in Web Editor NEWWebextension to send page data to the skohub-editor
License: Apache License 2.0
Webextension to send page data to the skohub-editor
License: Apache License 2.0
E.g. vimeo has embedded schema.org meatadata as JSON-LD with a <script type="application/ld+json">
tag, for example https://vimeo.com/8473849:
[
{
"url":"https://vimeo.com/8473849",
"thumbnailUrl":"https://i.vimeocdn.com/filter/overlay?src0=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F39595916_1280x704.webp&src1=https%3A%2F%2Ff.vimeocdn.com%2Fimages_v6%2Fshare%2Fplay_icon_overlay.png",
"embedUrl":"https://player.vimeo.com/video/8473849",
"name":"Shellac - Steady as She Goes",
"description":"Shellac, performing "Steady as She Goes" live for the second Burn to Shine.",
"height":176,
"width":320,
"playerType":"HTML5 Flash",
"videoQuality":"SD",
"duration":"PT00H04M44S",
"uploadDate":"2009-12-31T12:01:49-05:00",
"dateModified":"2020-03-29T10:05:57-04:00",
"thumbnail":{
"@type":"ImageObject",
"url":"https://i.vimeocdn.com/filter/overlay?src0=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F39595916_1280x704.webp&src1=https%3A%2F%2Ff.vimeocdn.com%2Fimages_v6%2Fshare%2Fplay_icon_overlay.png",
"width":1280,
"height":704
},
"author":{
"@type":"Person",
"name":"feelthemonster",
"url":"https://vimeo.com/user2889447"
},
"potentialAction":{
"@type":"ViewAction",
"target":"vimeo://app.vimeo.com/videos/8473849"
},
"interactionStatistic":[
{
"@type":"InteractionCounter",
"interactionType":"http://schema.org/CommentAction",
"userInteractionCount":1
},
{
"@type":"InteractionCounter",
"interactionType":"http://schema.org/LikeAction",
"userInteractionCount":32
},
{
"@type":"InteractionCounter",
"interactionType":"http://schema.org/WatchAction",
"userInteractionCount":8396
}
],
"keywords":"[shellac,steve albini,bob weston,todd trainer,burn to shine]",
"@type":"VideoObject",
"@context":"http://schema.org"
},
{
"itemListElement":[
{
"@type":"ListItem",
"position":1,
"item":{
"@id":"https://vimeo.com/user2889447",
"name":"feelthemonster"
}
},
{
"@type":"ListItem",
"position":2,
"item":{
"@id":"https://vimeo.com/user2889447/videos",
"name":"Videos"
}
}
],
"@type":"BreadcrumbList",
"@context":"http://schema.org"
}
]
We could prefer this over the other metadate to directly fetch name
, description
, @type
and furthermore use author
in creator
and thumbnailUrl
for image
.
I like to save my custom schema within the extension, so that I do not have to replace the default schema every time.
Currently, we extract title
, url
and meta.description
from a page. In #1 we want to extend this to include e.g. https://ogp.me/ metadata. Which properties should we include, and how do they map to our schema?
After submitting a resource first nothing happens. Then I submitted the resource multiple times. Every time the inbox https://test.skohub.io/inbox?actor=Zeitschriftendatenbank%2Fddc%2Fheads%2Fgh-pages%2Fw3id.org%2Fzdb%2Fddc%2Fn100 got an activity. Then finally I got an error message
Instead of opening in a separate tab the editor should open in a side-bar similar to hypothes.is, see e.g. https://hyp.is/OxXmVgCaEeqEuAceNJRKSw/github.com/hbz/skohub-extension/issues/2
Apparently, it mostly gives a non-schema.org value (e.g. in YouTube (video.other
), vimeo (video
) or Slideshare (slideshare:presentation
)).
<meta name="description">
contains – for every YouTube video – the same description of YouTube itself instead of the video's description. The video description can be found in meta property="og:description">´ or
`.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.