• Resolved Ambyomoron

    (@josiah-s-carberry)


    I note that the function eme_extra_event_headers in eme_functions.php contains the statement:

    $header='<meta property="og:type" content="article" />
    ...

    I wonder why the type is set to “article” and not to “event”

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Franky

    (@liedekef)

    According to https://ogp.me/ , there’s no og:type called “event”.

    Thread Starter Ambyomoron

    (@josiah-s-carberry)

    I am specifically thinking of how Google search results make use of the opengraph tags. If you look at https://developers.google.com/search/docs/data-types/event it seems clear that the “event” type is indeed supported (at least, by Google). Looking at the information at https://ogp.me/ , I understand that opengraph is an “open” standard, using whatever practices the “community” uses (whatever that means). It is not limited to the items that are listed there. https://schema.org/Event does provide a detailed specification for events, which specification appears to be used by Google.

    Plugin Author Franky

    (@liedekef)

    The page you refer to at Google (which I used too btw), is for json+ld syntax (or Microdata or RDFa). And there I do use the Event type. https://schema.org/Event also is for json+ld syntax (or Microdata or RDFa), not opengraph.
    So currently I’ll stay with og:type=Event for opengraph, google uses the json+ld info anyway 🙂

    Thread Starter Ambyomoron

    (@josiah-s-carberry)

    OK – thanks for that clarification.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘og:type = Article ?’ is closed to new replies.