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

authors #3513

Open
phulm opened this issue Apr 21, 2024 · 1 comment
Open

authors #3513

phulm opened this issue Apr 21, 2024 · 1 comment

Comments

@phulm
Copy link

phulm commented Apr 21, 2024

I have just joined. I see no suggestions about how to separate out author's names, i.e. family name, given name, additional name etc. Google's checker throws up a warning if I try to specify them as indicated. Nevertheless, this is what wc3 demands of me in signing in, and in some places I want to specify the family name first, in other places the given name. Has any work been done on this? Grateful for any info.

@MaxwellDAnderson
Copy link

Hi @phulm, if I understand your question, you are trying to add family name, given name and additional name to an author. To do this, you need to make sure you add the Person type to the author property. So your syntax would look something like this:

<html>
  <body itemscope itemtype="http://schema.org/CreativeWork">
    <p itemprop="author" itemscope itemtype="http://schema.org/Person">
      <span itemprop="givenName">John</span>
      <span itemprop="additionalName">Q.</span>
      <span itemprop="familyName">Public</span>
    </p>
  </body>
</html>

This does not throw any errors on Schema's validation tool, available here: https://validator.schema.org/.

Hope this helps!

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