-
Notifications
You must be signed in to change notification settings - Fork 699
Closed
Labels
metadataIssues with the metadata generated by readabilityIssues with the metadata generated by readability
Description
Example: https://www.theparisreview.org/fiction/8364/camouflage-adania-shibli
On that site, Readability fails to extract the author, despite it being in the json-ld:
{
"@context": "https://schema.org/",
"@type": "Article",
"name": "Camouflage",
"author": {
"@type": "Person",
"name": "Adania Shibli, translated by Max Weiss"
},The problem is the regex that Readability uses to match against the @context matches https://schema.org but it doesn't match https://schema.org/.
Updating the regex as follows (additional \/?) fixes the issue:
/^https?\:\/\/schema\.org\/?$/
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
metadataIssues with the metadata generated by readabilityIssues with the metadata generated by readability