The type is not a type known to Google.
-
Hello Benjamin,
Thanks for such a great plugin.I am trying to get it work without error according to Structured Data Testing Tool.
Here is errors showing up.
1. BlogPosting: The type is not a type known to Google.
2. mainEntityOfPage [BlogPosting]: is not a known valid target type for the mainEntityOfPage property.
3. if the logo not found on logo.clearbit.com an returns with 404
According to clearbit.com API docs it should work like this
Default images: Sometimes we can’t find a logo and image requests will return with a 404 response code. Rather than having a broken image show up you can use the onerror event to replace the image with a default of your choosing.We’ve put together an example of how to do this with both jQuery and pure JavaScript.
<img src=”https://logo.clearbit.com/examplefake.com” onerror=”this.src=’https://upload.wikimedia.org/wikipedia/commons/c/ce/Example_image.png'”>
An example here: https://jsfiddle.net/maccman/2kxxgjk8/3/
Any suggests?
Thank you.
- The topic ‘The type is not a type known to Google.’ is closed to new replies.