view index.xhtml @ 14:03be0717d3f8

Use the same code for client- and server-side Atom parsing.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 03 Nov 2011 16:42:00 -0700
parents 161d4ea1c3f8
children
line wrap: on
line source

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="theme.css" media="screen"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
	<head>
		<title>Eldonilo blog</title>

		<!-- Configuration -->
		<script type="application/ecmascript" src="configuration.js" defer=""/>

		<!-- XMPP library -->
		<script type="application/ecmascript" src="md5.js" defer=""/>
		<script type="application/ecmascript" src="xmpp.js" defer=""/>

		<!-- XMPP helpers -->
		<script type="application/ecmascript" src="ns.js" defer=""/>
		<script type="application/ecmascript" src="stanzas.js" defer=""/>
		<script type="application/ecmascript" src="functions.js" defer=""/>

		<!-- Core of the blog -->
		<script type="application/ecmascript" src="date.js" defer=""/>
		<script type="application/ecmascript" src="jid.js" defer=""/>
		<script type="application/ecmascript" src="atom.js" defer=""/>
		<script type="application/ecmascript" src="nothing.js" defer=""/>

		<link rel="alternate" type="application/atom+xml" title="Atom feed" href="?type=atom"/>
	</head>

	<body>
		<header>
			<h1>Eldonilo blog</h1>
			<p>Displaying your nodes.</p>

			<nav>
				<ul>
					<li><a href="?no=client">Without client-side</a></li>
					<li><a href="?no=server">Without server-side</a></li>
					<li><a href="?">Hybrid mode</a></li>
				</ul>
			</nav>
		</header>

		<section id="messages"/>

		<footer/>

		<script type="application/ecmascript" src="blog.js"/>
	</body>
</html>