Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[seo-magic] Add support for Schema.org structured metadata (json+ld) #283

Open
lpbellerose opened this issue May 13, 2022 · 3 comments
Open
Assignees
Labels
enhancement New feature or request seo-magic SEO Magic plugin

Comments

@lpbellerose
Copy link

It would be nice to be able to add schema.org to add structured data through admin or on markdown pages.

This feature is available on the free Grav SEO plugin and would be a nice add-on to this one.
image
image

@lpbellerose lpbellerose added the seo-magic SEO Magic plugin label May 13, 2022
@rhukster
Copy link
Member

rhukster commented Jun 9, 2022

@lpbellerose how and where is this microdata output?

My understanding that microdata was specific to the output, so if you had a list of employees, you could define them and output them with standardized microdata itemprop attributes. I'm not sure how this is useful or practical in an SEO plugin? Perhaps i'm just not aware of a more general usecase for this.

@lpbellerose
Copy link
Author

@rhukster In the case of this plugin, it transforms this into JSON-LD with the page
image

JSon-LD is one of the ways to include schema structured data as well as mocrodata structure (the one you are referencing to with the inline microdata itemprop attributes) and RDFa. There is no need to use more than one syntax, and the microdata structure is nice, but you have to add it to your templates. Using JSON-LD or RDFa gives more flexibility to non-technical users.

Whether or not adding structured data to your pages makes it rank better in search engines is debatable, but it is supposed to help improve the way your page displays in SERPs, which could help convince a user to click on your link.

@rhukster
Copy link
Member

rhukster commented Jun 9, 2022

ah OK json+ld, that makes sense now. I'll look at adding this in a future update.

@rhukster rhukster changed the title [seo-magic] Add support for Schema.org structured metadata [seo-magic] Add support for Schema.org structured metadata (json+ld) Jun 9, 2022
@rhukster rhukster added the enhancement New feature or request label Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request seo-magic SEO Magic plugin
Projects
None yet
Development

No branches or pull requests

2 participants