Skip to content
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

Use available schema.org for prepopulating web form #17

Open
acka47 opened this issue Mar 29, 2020 · 1 comment
Open

Use available schema.org for prepopulating web form #17

acka47 opened this issue Mar 29, 2020 · 1 comment

Comments

@acka47
Copy link
Member

acka47 commented Mar 29, 2020

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 &quot;Steady as She Goes&quot; 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, @typeand furthermore use author in creator and thumbnailUrl for image.

@acka47
Copy link
Member Author

acka47 commented Mar 29, 2020

Even better would be to scapre any schema.org markup: JSON-LD, microdata or RDFa.

@acka47 acka47 changed the title Use available schema.org JSON-LD for prepopulating web form Use available schema.org for prepopulating web form Mar 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant