Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
71 lines (64 sloc) 3.64 KB
$base_dir = dirname( __FILE__ );
require_once( $base_dir . '/lib/markdown.php' );
$markdown = @file_get_contents( $base_dir . '/content/index.markdown' );
if (!$markdown) {
header( 'HTTP/1.1 500 Internal Server Error', true, 500 );
$html = Markdown($markdown);
<!DOCTYPE html>
<head prefix="og:">
<meta charset="utf-8">
<title>The Open Graph protocol</title>
<meta name="description" content="The Open Graph protocol enables any web page to become a rich object in a social graph.">
<script type="text/javascript">var _sf_startpt=(new Date()).getTime()</script>
<link rel="stylesheet" href="base.css" type="text/css">
<meta property="og:title" content="Open Graph protocol">
<meta property="og:type" content="website">
<meta property="og:url" content="">
<meta property="og:image" content="">
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="300">
<meta property="og:image:height" content="300">
<meta property="og:description" content="The Open Graph protocol enables any web page to become a rich object in a social graph.">
<meta prefix="fb:" property="fb:app_id" content="115190258555800">
<link rel="alternate" type="application/rdf+xml" href="">
<link rel="alternate" type="text/turtle" href="">
<div id="body">
<div id="header">
<h1>The Open Graph protocol</h1>
<img alt="Open Graph protocol logo" src="" width="300" height="300">
<div id="content">
<?php echo $html; ?>
<div id="footer">
<iframe src="//" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>
<p>The Open Graph protocol was originally created at Facebook and is inspired by <a href="">Dublin Core</a>, <a href="">link-rel canonical</a>, <a href="">Microformats</a>, and <a href="">RDFa</a>. The specification described on this page is available under the <a href="">Open Web Foundation Agreement, Version 0.9</a>. This website is <a href="">Open Source</a>. Last updated <?php $updated_time = filemtime( $base_dir . '/content/index.markdown' ); ?><time pubdate="<?php echo date('c', $updated_time); ?>"><?php date_default_timezone_set('UTC'); echo date( 'F dS, Y', $updated_time ); ?></time></p>
<script type="text/javascript">
var _sf_async_config={uid:1415,domain:""};
function loadChartbeat() {
window._sf_endpt=(new Date()).getTime();
var e = document.createElement('script');
e.setAttribute('language', 'javascript');
e.setAttribute('type', 'text/javascript');
(("https:" == document.location.protocol) ? "" : "http://") +
var oldonload = window.onload;
window.onload = (typeof window.onload != 'function') ?
loadChartbeat : function() { oldonload(); loadChartbeat(); };