Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Add microdata from Schema.org to help SEO on events #767

Merged
merged 3 commits into from
Jun 1, 2018
Merged

Conversation

pataruco
Copy link
Contributor

Description

When web spiders crawl sites they take on account semantic HTML to extract data to help search engines, but sometimes they need more info

To tackle this problem Google, Microsoft, Yahoo and Yandex founded Schema.org to provide consistent information (microdata) for spiders as HTML attributes

I added microdata to event components from Schema.org to help SEO on events

Can this PR be merged immediately after testing (eg. rebase, infrastructure update)?

Yes

Test setup (any additional steps that need to be taken to test the story)

Unfortunately, we cannot test this on local environment, because this need to be exposed to web spiders

At the moment when we google it red badger events we have the following response

screen shot 2018-05-31 at 12 14 16

This display should improve once this code is released

Do we need to add any documentation?

I used this schema

Here is a GIF

@pataruco pataruco requested a review from dpiatek May 31, 2018 13:29
@dpiatek
Copy link
Contributor

dpiatek commented May 31, 2018

@pataruco this looks good. My only issue would be that we don't pass location, which looks like a required prop for the event schema (tested with https://search.google.com/structured-data/testing-tool/u/0/)

@dpiatek dpiatek merged commit 6b00556 into master Jun 1, 2018
@dpiatek dpiatek deleted the event-schema branch June 1, 2018 08:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants