Hi,
For the "format" field, I use list type CF, which consists of three elements: EBook, Paperback, Hardcover, but none of these appears in the structured data. Instead it returns "bookFormat": "https://schema.org/Array"
Could it be because the TFSD cannot accept list type custom fields? Here is an example:
"workExample": {
"@type": "Book",
"isbn": "9787543321724",
"bookFormat": "https://schema.org/Array"
}
I have similar issue is with "eventAttendanceMode", "eventStatus" and "location" of the Event structured data:
"eventAttendanceMode": "https://schema.org/ArrayEventAttendanceMode",
"eventStatus": "https://schema.org/EventArray",
location": {
"@type": [
"0"
]
},
Also for the Book type the TFSD generates a description which includes text with full HTML markup like: <p><span style="font-size: 14pt;">, while the description for Event comes without HTML. Could you please fix this?
Thank you for feedback. We are working on these issues.
We will release new version in next couple of hours.
We have updated the plugin.
Please check and let us know any other issues.
I have checked for a new version: My Account -> Order ->Downloads, but it looks like there is only an old one: 1.1.6
You can download new version now. You can also update through Joomla update system.
Thanks for the quick fix! The issue with Book's HTML markup is gone, but for the VideoObject and presumably for all other types still here. The TFSD still can't handle list type fields properly, it looks like the TFSD takes index number instead of text: "bookFormat" returns "https://schema.org/2" instead of "https://schema.org/Paperback" "eventAttendanceMode" returns "https://schema.org/0EventAttendanceMode" instead of "https://schema.org/MixedEventAttendanceMode" "eventStatus" returns "https://schema.org/Event0" instead of "https://schema.org/EventScheduled"
Please share screenshot of custom fields list type for bookFormat where you have entered options.
Please see the screenshot below
Article view
While entering list options in the custom field - in the value, instead of 0, 1 or 2, enter AudiobookFormat, EBook, Hardcover, Paperback.
Then open the article, save the custom field value. It should work.
It works! Thanks!
I have replaced $json["description"] = $article->introtext; with $json["description"] = strip_tags($article->introtext); for the VideoObject. Please consider adding this.
Structured Data tool showing error on Event : startDate 2020-08-12T12:00:00 is missing a time zone. Date should be in ISO 8601 format (including timezone). As a quick fix I have replaced $json["startDate"] = $custom[JText::_('PLG_CONTENT_TFSD_START')]; with $json["startDate"] = $custom[JText::_('PLG_CONTENT_TFSD_START')] . "+03:00"; it works fine for me, but you may want to add some other way for users.
Thank you for feedback. We are working on these issues. Will be fixed in next update.