Skip to content

Instantly share code, notes, and snippets.

@alexkalderimis
Last active September 16, 2015 10:40
Show Gist options
  • Save alexkalderimis/6236743fb55ddd5ba4ee to your computer and use it in GitHub Desktop.
Save alexkalderimis/6236743fb55ddd5ba4ee to your computer and use it in GitHub Desktop.
Auto load mode usage example for the RefME widget
<html>
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# books: http://ogp.me/ns/books#">
<meta name="og:type" content="book" />
<meta name="og:title" content="Snow Crash" />
<meta name="og:image" content="http://en.wikipedia.org/wiki/File:Snowcrash.jpg" />
<meta name="og:description" content="In reality, Hiro Protagonist delivers pizza for Uncle Enzo&#x2019;s CosoNostra Pizza Inc., but in the Metaverse he&#x2019;s a warrior prince. Plunging headlong into the enigma of a new computer virus that&#x2019;s striking down hackers everywhere, he races along the neon-lit streets on a search-and-destroy mission for the shadowy virtual villain threatening to bring about infocalypse. Snow Crash is a mind-altering romp through a future America so bizarre, so outrageous&#x2026;you&#x2019;ll recognize it immediately." />
<meta property="books:isbn" content="0553380958" />
<meta name="article:published_time" content="June 1992"/>
<meta name="og:owners" content="Neal Stephenson" />
<meta name="citation_publisher" content="Bantam Books" />
<link rel="stylesheet" href="style.css" type="text/css">
<title>RefME Cite Button</title>
</head>
<body>
<section>
<div class="col">
<div id="refme-auto-cite"></div>
<dl>
<dt>Title:</dt>
<dd>Snow Crash</dd>
<dt>Author:</dt>
<dd>Neal Stephenson</dd>
</dl>
</div>
</section>
<script src="https://widget.refme.com/scripts/refme-cite.js"></script>
</body>
</html>
@import url(https://fonts.googleapis.com/css?family=Droid+Sans:400,700);
html, body {
font-family: 'Droid Sans', sans-serif;
font-size:16px;
}
p {
margin:0 0 1rem;
}
.col {
display:inline-block;
margin-right: 30px;
padding:5px 20px;
vertical-align:top;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment