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

Improve Google SEO, author and article metadata #372

Open
AndreasMadsen opened this issue Sep 21, 2024 · 10 comments
Open

Improve Google SEO, author and article metadata #372

AndreasMadsen opened this issue Sep 21, 2024 · 10 comments

Comments

@AndreasMadsen
Copy link
Collaborator

Would be cool to have profile pages with this kind of metadata and

And link it with the paper pages using:

I can see there is already some metadata. However, I think it's incorrect. For example the authors are currently structured as:

<meta itemprop="description" content="Andreas Madsen, Sarath Chandar, Siva Reddy">

it's also listed as a CreativeWork which I don't think google supports. It should properly just be Article.

I think you can setup Google Search Console https://search.google.com/search-console/about to better inspect what google sees.

@AndreasMadsen AndreasMadsen changed the title Improve author and article metadata Improve author and article metadata, for better Google SEO Sep 21, 2024
@AndreasMadsen AndreasMadsen changed the title Improve author and article metadata, for better Google SEO Improve Google SEO, author and article metadata Sep 21, 2024
@xhluca
Copy link
Collaborator

xhluca commented Sep 21, 2024

Good idea! Do you know where we could we start (in terms of changing the jekyll template)?

@AndreasMadsen
Copy link
Collaborator Author

For papers:

  1. Restructure authors to be a list of strings instead of a string, e.g.:
    names: Andreas Madsen, Sarath Chandar, Siva Reddy
  2. I can't find the Jekyll template for papers, but use https://developers.google.com/search/docs/appearance/structured-data/article and refer to authors by a given ID

For authors:
This is complicated because of the customizability

  1. Maybe complete Auto-generate student profiles #330
  2. Use https://developers.google.com/search/docs/appearance/structured-data/profile-page

@AndreasMadsen
Copy link
Collaborator Author

https://developers.google.com/search/docs/appearance/structured-data/organization is properly also a good idea. Could start with that, since it's simple.

@xhluca
Copy link
Collaborator

xhluca commented Sep 22, 2024

Thank you. This is a very good idea. Would you have the bandwidth to create a PR for this? @cesare-spinoso and I would be happy to review it.

@AndreasMadsen
Copy link
Collaborator Author

AndreasMadsen commented Sep 22, 2024

I already tried to look at it. However, I don't understand how the generation actually flows. For example, I cannot find where <meta itemprop="description" content="Andreas Madsen, Sarath Chandar, Siva Reddy"> comes from. Perhaps it's something deep within minimal-mistakes. So I don't think I will be implementing this now.

@xhluca
Copy link
Collaborator

xhluca commented Sep 23, 2024

@AndreasMadsen
Copy link
Collaborator Author

AndreasMadsen commented Sep 24, 2024

Yes, looks like it's from there. To set it up correctly with authors, etc., I would have to mess with that setup. I don't want to start that.

I will try to setup something similar on https://chandar-lab.github.io, then you can look at that if you are interested. But we don't keep as much information there, e.g. article abstracts.

@xhluca
Copy link
Collaborator

xhluca commented Sep 24, 2024

Awesome!

@AndreasMadsen
Copy link
Collaborator Author

AndreasMadsen commented Oct 2, 2024

Okay, I added support for the following features to the http://chandar-lab.github.io website.

It takes a while for Google Search Console to index it. However, the https://search.google.com/test/rich-results validates that it works, and some profile pages are showing up now on the Search Console.

You can look at for example https://search.google.com/test/rich-results/result?id=qLowVKOM6nA_5vg0aupGSQ (validator page for https://chandar-lab.github.io/people/andreas-madsen.html). The Validator is pretty good to understand how it should be structured. You can click on each property and see where in the HTML it is defined.

@xhluca
Copy link
Collaborator

xhluca commented Oct 2, 2024

Thanks for doing the initial work! I'm pretty busy for the next few weeks, so won't have chance to look into this. However after that i'm happy to take a stab.

@cesare-spinoso are you interested in helping out on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants