changeset 6:e35a3985f60f

2007-08-13 22:57:43 by steve Updated.
author steve
date Mon, 13 Aug 2007 22:57:43 +0000
parents 3a684eb36140
children d23fa8a50a7f
files etc/README etc/entry.template etc/index.template etc/index.xml.template etc/month.template etc/month.xml.template etc/style.css etc/tags.template etc/tags.xml.template themes/default/style.css
diffstat 10 files changed, 78 insertions(+), 397 deletions(-) [+]
line wrap: on
line diff
--- a/etc/README	Mon Aug 13 22:56:40 2007 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-
-etc
-===
-
-  This directory contains the template files which are used by
- chronicle.
-
-  In some cases there are two version of each template, a normal
- one and one with '.xml' in its name.  The latter is used for the
- corresponding RSS feed.
-
-
-Contents
---------
-
-  entry.template
-   Used for a single blog entry.
-
-  index.template
-   Used for the most recent N entries, the "front-page" of your blog.
-
-  month.template
-   Used for the archive view of your blog.
-   
-  style.css
-   The stylesheet applied to viewers of your blog.
-
-  tags.template
-   Used to display all entries with a given tag.
-
-
-Steve
--- 
\ No newline at end of file
--- a/etc/entry.template	Mon Aug 13 22:56:40 2007 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html>
- <head>
-  <title>Blog: <!-- tmpl_var name='title' --></title>
-  <link rel="stylesheet" type="text/css" media="screen" href="<!-- tmpl_var name='url_prefix' -->style.css">
- </head>
- <body>
-
-
-<h1><a href="index.html">Blog</a> &gt; <!-- tmpl_var name='title' --></h1>
- <div class="entry">
-  <div class="title"><!-- tmpl_var name='title' --></div>
-  <div class="date"><!-- tmpl_var name='date' --></div>
-  <div class="body"><!-- tmpl_var name='body' --></div>
-  <!-- tmpl_if name='tags' -->
-  <div class="tags">Tags: <!-- tmpl_loop name='tags' --><a href="<!-- tmpl_var name='url_prefix' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --><!-- /tmpl_loop --></div>
-   <!-- /tmpl_if -->
-  </div>
-
-<div id="sidebar">
-<!-- tmpl_if name='tagcloud' -->
-<!-- tmpl_if name='datecloud' -->
-<h2>Archive</h2>
-<ul>
-<!-- tmpl_loop name='datecloud' -->
-<li><!-- tmpl_var name='year' -->
-<ul>
-<!-- tmpl_loop name='months' -->
-<li><a href="<!-- tmpl_var name='url_prefix' -->archive/<!-- tmpl_var name='year' -->/<!-- tmpl_var name='month' -->/"><!-- tmpl_var name='month' --> (<!-- tmpl_var name='count' -->)</a></li>
-<!-- /tmpl_loop -->
-</ul></li>
-<!-- /tmpl_loop -->
-</ul>
-<!-- /tmpl_if name='datecloud' -->
-
-<h2>Tags</h2>
-<!-- Tag Cloud -->
-<ul>
-<!-- tmpl_loop name='tagcloud' -->
- <li><a href="<!-- tmpl_var name='url_prefix' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --> (<!-- tmpl_var name='count' -->)</a></li>
-<!-- /tmpl_loop -->
-</ul>
-<!-- /tmpl_if -->
-</div>
- </body>
-</html>
\ No newline at end of file
--- a/etc/index.template	Mon Aug 13 22:56:40 2007 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html>
- <head>
-  <title>Blog: Index</title>
-  <link rel="stylesheet" type="text/css" media="screen" href="<!-- tmpl_var name='url_prefix' -->style.css">
-  <link rel="alternate" title="RSS Feed" href="<!-- tmpl_var name='url_prefix' -->index.rss" type="application/rss+xml">
-
- </head>
- <body>
-
- <h1>Most Recent Entries</h1>
-
- <!-- tmpl_loop name='entries' -->
- <div class="entry">
-  <div class="title"><a href="<!-- tmpl_var name='url_prefix' --><!-- tmpl_var name='link' -->"><!-- tmpl_var name='title' --></a></div>
-  <div class="date"><!-- tmpl_var name='date' --></div>
-  <div class="body"><!-- tmpl_var name='body' --></div>
-  <div class="tags">
-   <!-- tmpl_if name='tags' -->
-   Tags: <!-- tmpl_loop name='tags' --><a href="<!-- tmpl_var name='url_prefix' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --><!-- /tmpl_loop --> 
-  <!-- tmpl_else -->
-    No tags
-  <!-- /tmpl_if -->
-  </div>
- </div>
- <div class="padding"></div>
- <!-- /tmpl_loop -->
-
-
-<div id="sidebar">
-
-<!-- tmpl_if name='datecloud' -->
-<h2>Archive</h2>
-<ul>
-<!-- tmpl_loop name='datecloud' -->
-<li><!-- tmpl_var name='year' -->
-<ul>
-<!-- tmpl_loop name='months' -->
-<li><a href="<!-- tmpl_var name='url_prefix' -->archive/<!-- tmpl_var name='year' -->/<!-- tmpl_var name='month' -->/"><!-- tmpl_var name='month' --> (<!-- tmpl_var name='count' -->)</a></li>
-<!-- /tmpl_loop -->
-</ul></li>
-<!-- /tmpl_loop -->
-</ul>
-<!-- /tmpl_if name='datecloud' -->
-
-<!-- tmpl_if name='tagcloud' -->
-<h2>Tags</h2>
-<!-- Tag Cloud -->
-<ul>
-<!-- tmpl_loop name='tagcloud' -->
- <li><a href="<!-- tmpl_var name='url_prefix' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --> (<!-- tmpl_var name='count' -->)</a></li>
-<!-- /tmpl_loop -->
-</ul>
-<!-- /tmpl_if -->
-</div>
-</body>
-</html>
\ No newline at end of file
--- a/etc/index.xml.template	Mon Aug 13 22:56:40 2007 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/'>
-	<channel>
-		<title>Blog Entries</title>
-		<description>Blog Entries</description>
-
-	<!-- tmpl_loop name="entries" -->
-	<item>
-		<title><!-- tmpl_var name="title" escape='html' --></title>
-		<link><!-- tmpl_var name='url_prefix' --><!-- tmpl_var name='link' --></link>        
-		<guid isPermaLink="true"><!-- tmpl_var name='url_prefix' --><!-- tmpl_var name='link' --></guid>
-		<description><!-- tmpl_var name="body" escape='html' --></description>
-	</item>
-	<!-- /tmpl_loop -->
-        </channel>
-</rss>
--- a/etc/month.template	Mon Aug 13 22:56:40 2007 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,67 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html>
- <head>
-  <title>Blog : Entries from <!-- tmpl_var name='month' --> <!-- tmpl_var name='year' --></title>
-  <link rel="stylesheet" type="text/css" media="screen" href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->style.css">
-  <link rel="alternate" title="RSS Feed" href="<!-- tmpl_var name='month' escape='html' -->.rss" type="application/rss+xml">
- </head>
- <body>
-<!-- XML FEED -->
-
-<h1><a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->">Blog</a> &gt; Entries from <!-- tmpl_var name='month' --> <!-- tmpl_var name='year' --></h1>
-<p>If you wish you may subscribe to an <a href="<!-- tmpl_var name='month' escape='html' -->.rss">RSS feed</a> of matching entries.</p>
-
-<!-- tmpl_loop name='entries' -->
-<div class="entry">
- <div class="title">
- <a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if --><!-- tmpl_var name='link' -->"><!-- tmpl_var name='title' --></a>
- </div>
- <div class="date">
-  <!-- tmpl_var name='date' -->
- </div>
-
- <div class="body">
-  <!-- tmpl_var name='body' -->
- </div>
- <div class="tags">
- <!-- tmpl_if name='tags' -->
-  Tags: <!-- tmpl_loop name='tags' --><a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --><!-- /tmpl_loop -->
- <!-- tmpl_else -->
-  No tags
- <!-- /tmpl_if -->
- </div>
-</div>
- <div class="padding"></div>
-<!-- /tmpl_loop -->
-
-<!-- tmpl_if name='tagcloud' -->
-
-
-
-<div id="sidebar">
-<!-- tmpl_if name='datecloud' -->
-<h2>Archive</h2>
-<ul>
-<!-- tmpl_loop name='datecloud' -->
-<li><!-- tmpl_var name='year' -->
-<ul>
-<!-- tmpl_loop name='months' -->
-<li><a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->archive/<!-- tmpl_var name='year' -->/<!-- tmpl_var name='month' -->/"><!-- tmpl_var name='month' --> (<!-- tmpl_var name='count' -->)</a></li>
-<!-- /tmpl_loop -->
-</ul></li>
-<!-- /tmpl_loop -->
-</ul>
-<!-- /tmpl_if name='datecloud' -->
-
-<h2>Tags</h2>
-<!-- Tag Cloud -->
-<ul>
-<!-- tmpl_loop name='tagcloud' -->
- <li><a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --> (<!-- tmpl_var name='count' -->)</a></li>
-<!-- /tmpl_loop -->
-</ul>
-<!-- /tmpl_if -->
-</div>
-</body>
-</html>
\ No newline at end of file
--- a/etc/month.xml.template	Mon Aug 13 22:56:40 2007 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/'>
-	<channel>
-		<title>Entries from <!-- tmpl_var name='month' --> <!-- tmpl_var name='year' --></title>
-		<description>Entries from <!-- tmpl_var name='month' --> <!-- tmpl_var name='year' --></description>
-
-	<!-- tmpl_loop name="entries" -->
-	<item>
-		<title><!-- tmpl_var name="title" escape='html' --></title>
-		<link><!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if --><!-- tmpl_var name='link' --></link>        
-		<guid isPermaLink="true"><!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if --><!-- tmpl_var name='link' --></guid>
-		<description><!-- tmpl_var name="body" escape='html' --></description>
-	</item>
-	<!-- /tmpl_loop -->
-        </channel>
-</rss>
--- a/etc/style.css	Mon Aug 13 22:56:40 2007 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-
-body {
-	padding: 0 10px;
-	padding-top: 1px;
-	padding-bottom: 1em;
-	border-right: 1px solid rgb(128, 128, 128);
-	background-color: white;
-	color: black;
-	margin: 0;
-	margin-right: 185px;
-}
-
-
-/*
- * Special markup for weblog entries.
- */
-div.entry {
-	border-left: 1px solid rgb(128, 128, 128);
-	border-right: 1px solid rgb(128, 128, 128);
-	border-top: 1px solid rgb(128, 128, 128);
-	border-bottom: 1px solid rgb(128, 128, 128);
-        margin: 10px 0px;
-}
-
-div.padding {
-        padding-top: 15px;
-        padding-bottom: 15px;
-}
-div.entry div.body {
-	padding: 10px 10px;
-}
-
-div.entry .title {
-	background-color: #eee;
-	border-bottom: 1px solid rgb(128, 128, 128);
-	font-weight: bold;
-	font-size: 120%;
-	padding: 0.26ex 10px;
-	
-}
-div.entry div.date {
-        text-align: right;
-}
-div.entry div.title a {
-	color: black !important;
-	text-decoration: none !important;
-}
-div.entry div.title a:hover {
-	color: black !important;
-	text-decoration: none !important;
-}
-
-div.entry div.tags {
-	border-top: 1px solid rgb(128, 128, 128);
-	font-style: italic;
-	font-family: Verdana, Georgia, Arial, sans-serif;
-	font-size: 90%;
-	text-align: right;
-}
-
-
-div#sidebar {
-	position: absolute;
-	top: 0px;
-	right: 0px;
-	width: 165px;
-
-	font-family: sans-serif;
-	font-size: 80%;
-
-	text-align: justify;
-
-	padding: 0 10px;
-
-	background-color: white;
-
-	margin: 0;
-}
\ No newline at end of file
--- a/etc/tags.template	Mon Aug 13 22:56:40 2007 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,66 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html>
- <head>
-  <title>Blog : Entries Tagged <!-- tmpl_var name='tagname' --></title> 
-  <link rel="stylesheet" type="text/css" media="screen" href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->style.css">
-  <link rel="alternate" title="RSS Feed" href="<!-- tmpl_var name='tagname' escape='html' -->.rss" type="application/rss+xml">
- </head>
- <body>
-
-<h1><a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->">Blog</a> &gt; Entries Tagged &quot;<tt><!-- tmpl_var name='tagname' --></tt>&quot;</h1>
-
-<p>If you wish you may subscribe to an <a href="<!-- tmpl_var name='tagname' escape='html' -->.rss">RSS feed</a> of matching entries.</p>
-
-
-<!-- tmpl_loop name='entries' -->
-<div class="entry">
- <div class="title">
- <a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if --><!-- tmpl_var name='link' -->"><!-- tmpl_var name='title' --></a>
- </div>
- <div class="date">
-  <!-- tmpl_var name='date' -->
- </div>
-
- <div class="body">
-  <!-- tmpl_var name='body' -->
- </div>
- <!-- tmpl_if name='tags' -->
- <div class="tags">
-  Tags: <!-- tmpl_loop name='tags' --><a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --><!-- /tmpl_loop -->
- </div>
- <!-- /tmpl_if -->
-</div>
-<div class="padding"></div>
-<!-- /tmpl_loop -->
-
-
-
-
-<div id="sidebar">
-<!-- tmpl_if name='datecloud' -->
-<h2>Archive</h2>
-<ul>
-<!-- tmpl_loop name='datecloud' -->
-<li><!-- tmpl_var name='year' -->
-<ul>
-<!-- tmpl_loop name='months' -->
-<li><a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->archive/<!-- tmpl_var name='year' -->/<!-- tmpl_var name='month' -->/"><!-- tmpl_var name='month' --> (<!-- tmpl_var name='count' -->)</a></li>
-<!-- /tmpl_loop -->
-</ul></li>
-<!-- /tmpl_loop -->
-</ul>
-<!-- /tmpl_if name='datecloud' -->
-
-<!-- tmpl_if name='tagcloud' -->
-<h2>Tags</h2>
-<!-- Tag Cloud -->
-<ul>
-<!-- tmpl_loop name='tagcloud' -->
- <li><a href="<!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --> (<!-- tmpl_var name='count' -->)</a></li>
-<!-- /tmpl_loop -->
-</ul>
-<!-- /tmpl_if -->
-</div>
-</body>
-</html>
\ No newline at end of file
--- a/etc/tags.xml.template	Mon Aug 13 22:56:40 2007 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/'>
-	<channel>
-		<title>Entries tagged <!-- tmpl_var name='tagname' escape='html' --></title>
-		<description>Entries tagged <!-- tmpl_var name='tagname' escape='html' --></description>
-
-	<!-- tmpl_loop name="entries" -->
-	<item>
-		<title><!-- tmpl_var name="title" escape='html' --></title>
-		<link><!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if --><!-- tmpl_var name='link' --></link>        
-		<guid isPermaLink="true"><!-- tmpl_if name='url_prefix' --><!-- tmpl_var name='url_prefix' --><!-- tmpl_else -->../../<!-- /tmpl_if --><!-- tmpl_var name='link' --></guid>
-		<description><!-- tmpl_var name="body" escape='html' --></description>
-	</item>
-	<!-- /tmpl_loop -->
-        </channel>
-</rss>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/themes/default/style.css	Mon Aug 13 22:57:43 2007 +0000
@@ -0,0 +1,78 @@
+
+body {
+	padding: 0 10px;
+	padding-top: 1px;
+	padding-bottom: 1em;
+	border-right: 1px solid rgb(128, 128, 128);
+	background-color: white;
+	color: black;
+	margin: 0;
+	margin-right: 185px;
+}
+
+
+/*
+ * Special markup for weblog entries.
+ */
+div.entry {
+	border-left: 1px solid rgb(128, 128, 128);
+	border-right: 1px solid rgb(128, 128, 128);
+	border-top: 1px solid rgb(128, 128, 128);
+	border-bottom: 1px solid rgb(128, 128, 128);
+        margin: 10px 0px;
+}
+
+div.padding {
+        padding-top: 15px;
+        padding-bottom: 15px;
+}
+div.entry div.body {
+	padding: 10px 10px;
+}
+
+div.entry .title {
+	background-color: #eee;
+	border-bottom: 1px solid rgb(128, 128, 128);
+	font-weight: bold;
+	font-size: 120%;
+	padding: 0.26ex 10px;
+	
+}
+div.entry div.date {
+        text-align: right;
+}
+div.entry div.title a {
+	color: black !important;
+	text-decoration: none !important;
+}
+div.entry div.title a:hover {
+	color: black !important;
+	text-decoration: none !important;
+}
+
+div.entry div.tags {
+	border-top: 1px solid rgb(128, 128, 128);
+	font-style: italic;
+	font-family: Verdana, Georgia, Arial, sans-serif;
+	font-size: 90%;
+	text-align: right;
+}
+
+
+div#sidebar {
+	position: absolute;
+	top: 0px;
+	right: 0px;
+	width: 165px;
+
+	font-family: sans-serif;
+	font-size: 80%;
+
+	text-align: justify;
+
+	padding: 0 10px;
+
+	background-color: white;
+
+	margin: 0;
+}
\ No newline at end of file