Skip to content

Instantly share code, notes, and snippets.

@TimRepke
Last active September 4, 2015 08:36
Show Gist options
  • Save TimRepke/c9258bda3e94c8025a07 to your computer and use it in GitHub Desktop.
Save TimRepke/c9258bda3e94c8025a07 to your computer and use it in GitHub Desktop.
Schema.org ScholarlyArticle demo
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>RefMe Publications - Article viewer</title>
</head>
<body>
<div id="refme-cite-widget"></div>
<div itemscope itemtype="http://schema.org/ScholarlyArticle">
<strong>Title:</strong> <span itemprop="name">Reviewing the advantages of reference generators like RefME</span><br/>
<strong>Authors:</strong> <span itemprop="author">John Doe</span>, <span itemprop="author">Lisa Smith</span><br/>
<div itemscope itemtype="http://schema.org/PublicationIssue">
<span itemscope itemtype="http://schema.org/Periodical" itemid="#periodical">
<span itemprop="name">ReferenceME Journal</span>,
</span>
<time datetime="2015-07-03" itemprop="datePublished">Jul 3, 2015</time>
Vol.<span itemscope itemtype="http://schema.org/PublicationVolume"><span itemprop="volumeNumber">50</span></span>
(<span itemprop="issueNumber">5</span>),
</div>
<div>
p.<span itemprop="pageStart">360</span>-<span itemprop="pageEnd">368</span> [Peer Reviewed Journal]<br/>
<strong>Description:</strong>
<span itemprop="description">In this review some exiting facts were put together explaining
how students profit from the usage of reference generators like RefME. It was shown, that
they have time to do more research, write better essays and get better marks.</span>
</div>
<div>
<span itemscope itemtype="http://schema.org/Periodical" itemid="#periodical">
<strong>Publisher:</strong>
<span itemprop="publisher">RefME Publication Group</span><br/>
<strong>ISSN:</strong> <span itemprop="issn">1234-5678</span> ;<br/>
</span>
</div>
<strong>DOI:</strong><a itemprop="sameAs" href="http://dx.doi.org/12.3455/37463.424242">10.3455/37463.424242</a>
</div>
<script async src="http://app.refme.com/refme-widget/scripts/refme-cite.js"></script>
<script>
window.addEventListener('load', function () {
RefME.openWidget({
element: '#refme-cite-widget', // or wherever it is
config: {style: 'refme-apa'},
});
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment