Lack of interest Structured Data for Rich Cards

Fred.

Well-known member
#1
I saw this in Google Webmaster tools.

We did not find any structured data for rich cards on your website.
Rich cards are a good way of providing data to Google Search about events, products or opportunities on your website. Rich card data can be displayed to users in a variety of formats on different devices, and can help drive traffic to your website.

It would be nice if we could have structured data for rich cards. :)
 

Mike

XenForo developer
Staff member
#4
Suggestions which do not get sufficient support (based on first post likes) are (semi-)automatically tagged with this and moved to the closed forum.
 

Kirby

Well-known member
#12
I somewhat fear that this is pretty much impossible:
Forums consist (primarily) of unstructured user generated content.

So unless we, as forum owners/administrators, force our users to provide structured data for events, reviews, products, recipes, etc. I don't see how this could be implemented as there simply is no structured data that could be provided to Google.

Nevertheless i link the suggestion :)
 

S Thomas

Well-known member
#13
HTML:
    <script type="application/ld+json">
        {
            "@context": "https://schema.org",
            "@type": "DiscussionForumPosting",
            "@id": "https:\/\/xenforo.com\/community\/threads\/structured-data-for-rich-cards.116311\/",
            "headline": "Structured Data for Rich Cards",
            "articleBody": "I saw this in Google Webmaster tools.\n\nWe did not find any structured data for rich cards on your website.\nRich cards are a good way of providing data to Google Search about events, products or opportunities on your website. Rich card data can be displayed to users in a variety of formats on different devices, and can help drive traffic to your website.\n\nIt would be nice if we could have structured data for rich cards. :)",
            "articleSection": "Closed suggestions",
            "author": {
                "@type": "Person",
                "name": "Fred."
            },
            "datePublished": "2016-05-21",
            "dateModified": "2018-10-01",
            "image": "https:\/\/secure.gravatar.com\/avatar\/664f8969bf0034b9b33a0cb68f3363ba?s=192",
            "interactionStatistic": {
                "@type": "InteractionCounter",
                "interactionType": "https://schema.org/ReplyAction",
                "userInteractionCount": 11
            }
        }
        </script>
Looking at https://developers.google.com/search/docs/guides/intro-structured-data we actually have most of what is needed, no? I don't see why that would not work for XF. Yea, we have no ratings by default (->custom field) and images etc are all optional aswell. Converting them into options for threads, e.g. "First Picture Attachment / og:image = structured image", "thread rating if activated = structured aggregrated rating" etc. should be doable.
 

Kirby

Well-known member
#14
That still won't get you rich cards though, as those are currently being shown for a very limited amount of types (events, recipes, etc.) only and DiscussionForumPosting is none of them.

But using thread ratings it is at least possible to get stars into SERPs, we're doing this on our vBulletin forums.
Screenshot_20181001-065848_Chrome.jpg
 
Last edited:

Chris D

XenForo developer
Staff member
#15
We already include all of the structured data that is relevant into all places in XF so there’s not actually much more we can do here anyway.

If there is any structured data which is missing that we can support using functionality already built in to XF then please make a specific suggestion for it, other wise this is essentially already implemented.
 
Top