jkphl / micrometa

A meta parser for extracting micro information out of web documents, currently supporting Microformats 1+2, HTML Microdata, RDFa Lite 1.1, JSON-LD and Link Types, written in PHP
http://micrometa.jkphl.is
MIT License
115 stars 39 forks source link

Error 500 on demo page for specific URL #62

Open sknebel opened 4 years ago

sknebel commented 4 years ago

trying https://www.youtube.com/watch?v=nQUwHdSAhmw in https://micrometa.jkphl.is/ leads to a HTTP 500 error in response to the request made to the API. Some other URLs work without problems, so this is not the demo page failing entirely.

jkphl commented 4 years ago

@sknebel As in so many cases, it seems to be the JSON-LD parser making trouble here. If JSON-LD isn't what you're after, simply uncheck that parser and try again. In any case, this would have to be examined in detail ...

sknebel commented 4 years ago

I inspected the page source afterwards and found that they don't markup the data I was interested in anyways (making data easy to use clearly is for other people, not Google :D), just thought I'd leave a note.

rvanlaak commented 4 years ago

The Google Structured Data testing tool often helps in finding out whether pages show problems, as in these cases the tool also isn't able to show the markup: https://search.google.com/structured-data/testing-tool