Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (31 sloc) 2.159 kB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/prototype/1.7/prototype.js"></script>
<script src="javascripts/minical.js" type="text/javascript" charset="utf-8"></script>
<link rel="stylesheet" href="css/page.css" type="text/css" media="screen" charset="utf-8"/>
<link rel="stylesheet" href="css/minical.css" type="text/css" media="screen" charset="utf-8"/>
<link rel="shortcut icon" href="images/favicon.ico"/>
<title>MiniCal Test Page</title>
</head>
<body>
<div id="PageDiv">
<h1 id="minical">MiniCal</h1>
<div id="foo" class="miniCal">
</div>
<div>
<p>This calendar is generated by the venerable Unix ‘<a href="http://unixhelp.ed.ac.uk/CGI/man-cgi?cal">cal</a>’ program. Events are described in a simple text file, and the Ajax navigation and current day highighting are managed using Prototype-flavored JavaScript.</p>
<p>Here’s an example of the link data file for <a href="index.html#_2011-03">this calendar</a>:</p>
<pre>2011-03-11 http://apple.com Apple, Inc.
2011-03-05 http://walterdavisstudio.com Walter Davis Studio
2010-12-31 http://timessquare.com Times Square
2011-03-11 http://store.apple.com Apple Store</pre>
<p>The format is simple: an ISO date, followed by a URL, followed by any text you wish to appear within the link. Each of these elements is separated from the others by a single space. Naturally, this means that any spaces in your URL will break this system — but you shouldn’t have any spaces in your URLs anyway, right? Spaces within the link text are just fine, though.</p>
<p>If you have more than one link on a single date, a popup menu chooser will be automatically generated. (Try it out on the 11th — iPad2 day!)</p>
<p>Link to a specific month from outside the page: just make an anchor in the format #_2011-09: <a href="index.html#_2011-09">test here</a>.</p>
</div>
</div>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.