schemato icon indicating copy to clipboard operation
schemato copied to clipboard

Schema.org definition not pulled correctly

Open sk- opened this issue 10 years ago • 3 comments

The definition of schema.org is not being pulled correctly, meaning that any page with that markup will fail to parse.

The issue seems to be that the lexicon defined in the class MicrodataSchemaDef is fragile as stated by the TODO "certainly not the best way to do this, should probably use the pyRdfa/pyMicrodata graph APIs to make this more robust"

Right now it needs to change the domain to "http://schema.org/domainIncludes" and the range to "http://schema.org/rangeIncludes".

However, with these changes there are still some types that are not included. One of these types is ListenAction.

sk- avatar May 03 '14 16:05 sk-