Fixed structured data missing in DiscussionForumPosting

dutchbb

Well-known member
Affected version
2.1.4
"publisher" is missing and gives an error. This should be the forum name and logo.
Code:
"publisher": {
    "@type": "Organization",
    "name": "Google",
    "logo": {
      "@type": "ImageObject",
      "url": "https://google.com/logo.jpg"
    }
  },

"mainEntityOfPage" also missing and gives a warning. The @id already in the data can be used for that.
Code:
"mainEntityOfPage": {
    "@type": "WebPage",
    "@id": "https://google.com/article"
  },
 
Last edited:
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.1.6).

Change log:
Add missing (and undocumented!) structured data to the DiscussionForumPosting entry for the thread view.
There may be a delay before changes are rolled out to the XenForo Community.
 
Top Bottom