Skip to content

Instantly share code, notes, and snippets.

@stain
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stain/8fb6ed182eed9ff339ce to your computer and use it in GitHub Desktop.
Save stain/8fb6ed182eed9ff339ce to your computer and use it in GitHub Desktop.
<dd prefix="pav: http://purl.org/pav/">
<a rel="pav:authoredBy" href="http://orcid.org/0000-0001-9842-9718" >
<span property="foaf:name">Stian Soiland-Reyes</span></a>,
<a href="http://www.cs.manchester.ac.uk/">University of Manchester</a></dd>
@stain
Copy link
Author

stain commented Jul 30, 2014

Do I need to repeat the URI from href in a nested about?

@scor
Copy link

scor commented Jul 30, 2014

 <dd>
   <a rel="pav:authoredBy" href="http://orcid.org/0000-0001-9842-9718">
<span property="foaf:name">Stian Soiland-Reyes</span></a>,
   <a href="http://www.cs.manchester.ac.uk/">University of Manchester</a>
</dd>

@stain
Copy link
Author

stain commented Jul 30, 2014

The trick is to use rel= on the <a href=".."> rather than property= - then the subject will be changed for inner elements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment