<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>github io test</title>
<style>
body { font-size: 110%; }
code { background-color: #F0F0F0; }
</style>
</head>
<body>
<h1 align="center">github io test</h1>

<p>20150906: After renaming repository to <code>geoffmcl.github.io</code> from just <code>github.io</code>! <b>Important</b> change since it adds an easier way to view HTML.</p>

<p>20131121: Test of viewing as well as storing web content on github</p>

<h2>To view a HTML file...</h2>

<p>1: Double click on the file to get a 'blob' view</p>

<p><a href="https://github.com/geoffmcl/geoffmcl.github.io/blob/master/index.html">https://github.com/geoffmcl/geoffmcl.github.io/blob/master/index.html</a></p>

<p>2: Select the *Raw* view tab</p>

<p><a href="https://raw.github.com/geoffmcl/geoffmcl.github.io/master/index.html">https://raw.github.com/geoffmcl/geoffmcl.github.io/master/index.html</a></p>

<p>3: Remove the first dot (.) from the URL</p>

<p><a href="https://rawgithub.com/geoffmcl/geoffmcl.github.io/master/index.html">https://rawgithub.com/geoffmcl/geoffmcl.github.io/master/index.html</a></p>

<p><b>And BINGO, you have a html view ;=))</b></p>

<p>4: But the simplest, and important idea, is that that URL can be reduced to -</p>

<p><a href="http://geoffmcl.github.io/">http://geoffmcl.github.io/</a></p>

<p><b>A COOL way to HOST html on GitHub.</b> Yes, there are some restrictions as to what the GitHub HTTP server will handle, like say server side scripts, such as PHP, ... but for most normal HTML pages, it is fine.</p>

<p>And also note the GitHub html server caches the html files, so after a html change, sometimes it can be several seconds before the change appears, after a required refresh...</p>

<p>Thanks to Theo for pointing out this important repo naming convention that makes this html viewing simple.</p>

<p align="right">; eof</p>

</body>
</html>