summaryrefslogtreecommitdiff
path: root/default
diff options
context:
space:
mode:
Diffstat (limited to 'default')
-rw-r--r--default/config.xml67
-rw-r--r--default/htdocs/images/bg.pngbin0 -> 347 bytes
-rw-r--r--default/htdocs/images/camel.jpgbin0 -> 46392 bytes
-rw-r--r--default/htdocs/images/dotORG.pngbin0 -> 12256 bytes
-rw-r--r--default/htdocs/images/head.jpgbin0 -> 55048 bytes
-rw-r--r--default/htdocs/images/ipv6ready.pngbin0 -> 3786 bytes
-rw-r--r--default/htdocs/images/org.pngbin0 -> 4682 bytes
-rw-r--r--default/htdocs/styles/blank.css1
-rw-r--r--default/htdocs/styles/default.css110
-rw-r--r--default/templates/plain.xml5
-rw-r--r--default/templates/rss2.feed.xml16
-rw-r--r--default/templates/xhtml.xml35
12 files changed, 234 insertions, 0 deletions
diff --git a/default/config.xml b/default/config.xml
new file mode 100644
index 0000000..d076d15
--- /dev/null
+++ b/default/config.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?>
+<config>
+ <!-- Static variables are written like %%varname%% -->
+ <!-- Dynamic variables are written like $$varname$$ -->
+ <!-- Special variables for XML-ing are written like @@varname@@ -->
+ <variables>
+ <title>%%host%% - %%site%%</title>
+ <piwik>web.buetow.org/stats</piwik>
+ <documentsurl>?document=</documentsurl>
+ <imagesurl>%%documentsurl%%images/</imagesurl>
+ <stylesurl>%%documentsurl%%styles/</stylesurl>
+ <whitespace> </whitespace>
+ <analytics>A-5916832-1</analytics>
+ <pubftp>ftp://ftp.buetow.org/pub</pubftp>
+ </variables>
+ <rules>
+ <!-- Possible rules-params: -->
+ <!-- end=yes -->
+ <!-- start=yes -->
+ <!-- Possible special-vars: -->
+ <!-- @@text@@ = The content text of the current content-tag -->
+ <!-- @@paramname@@ = The value of the specified tag parameter -->
+ <xhtml>
+ <pagetitle>[h1]</pagetitle>
+ <textheader>[h2]</textheader>
+ <textsubheader>[h3]</textsubheader>
+ <news start="yes"></news>
+ <important>[div class="important"]</important>
+ <text>[p]</text>
+ <type>[span class="@@class@@"]</type>
+ <quote>[pre class="quote"]</quote>
+ <pretext>[p][pre]</pretext>
+ <link>[a href="@@text@@"]</link>
+ <namedlink>[a href="@@href@@"]</namedlink>
+ <picture>[a href="@@href@@"][img align="center" border="1" alt="@@desc@@" title="@@desc@@" src="@@src@@"]</picture>
+ <cimg start="yes">[img border="0" alt="@@title@@" title="@@title@@" src="@@href@@" /]</cimg>
+ <cimglink start="yes">[center][a href="@@link@@"][img alt="@@title@@" title="@@title@@" src="@@href@@" /][/a][/center]</cimglink>
+ <rimg start="yes">[img border="0" alt="@@title@@" title="@@title@@" class="rimg" src="@@href@@" align="right" /]</rimg>
+ <rimglink start="yes">[a href="@@link@@"][img border="0" alt="@@title@@" title="@@title@@" class="rimg" src="@@href@@" align="right" /][/a]</rimglink>
+ <limg start="yes">[img border="0" alt="@@title@@" title="@@title@@" class="limg" src="@@href@@" align="left" /]</limg>
+ <newline start="yes">[br /]</newline>
+ <menu>[div class="menu"]</menu>
+ <menuitem>[a class="menuitem" href="@@link@@$$params$$"]</menuitem>
+ <activemenuitem>[a class="activemenuitem" href="@@link@@$$params$$"]</activemenuitem>
+ <enumeration>[ul]</enumeration>
+ <enumitem>[li]</enumitem>
+ <enumitemna>[li class="na"]</enumitemna>
+ <incsep>[div class="incsep"]</incsep>
+ <code>[pre class="code"]</code>
+ <javascript>[script type="text/javascript" language="JavaScript"]</javascript>
+ </xhtml>
+ <rss2.feed>
+ <textsubheader>[title]</textsubheader>
+ <news addfront="![CDATA[" addback="]]">[description]</news>
+ <text>[p]</text>
+ <link>[a href="@@text@@"]</link>
+ <namedlink>[a href="@@href@@"]</namedlink>
+ <namedlink end="yes">%%whitespace%%(@@href@@)</namedlink>
+ <incsep>[item]</incsep>
+ <enumeration>[ul]</enumeration>
+ <enumitem>[li]</enumitem>
+ <enumitemna>[li]</enumitemna>
+ <code>[pre]</code>
+ <quote></quote>
+ </rss2.feed>
+ </rules>
+</config>
diff --git a/default/htdocs/images/bg.png b/default/htdocs/images/bg.png
new file mode 100644
index 0000000..35fb3b5
--- /dev/null
+++ b/default/htdocs/images/bg.png
Binary files differ
diff --git a/default/htdocs/images/camel.jpg b/default/htdocs/images/camel.jpg
new file mode 100644
index 0000000..ebbdfd3
--- /dev/null
+++ b/default/htdocs/images/camel.jpg
Binary files differ
diff --git a/default/htdocs/images/dotORG.png b/default/htdocs/images/dotORG.png
new file mode 100644
index 0000000..c487e26
--- /dev/null
+++ b/default/htdocs/images/dotORG.png
Binary files differ
diff --git a/default/htdocs/images/head.jpg b/default/htdocs/images/head.jpg
new file mode 100644
index 0000000..0a9c408
--- /dev/null
+++ b/default/htdocs/images/head.jpg
Binary files differ
diff --git a/default/htdocs/images/ipv6ready.png b/default/htdocs/images/ipv6ready.png
new file mode 100644
index 0000000..18a42a7
--- /dev/null
+++ b/default/htdocs/images/ipv6ready.png
Binary files differ
diff --git a/default/htdocs/images/org.png b/default/htdocs/images/org.png
new file mode 100644
index 0000000..c338dc5
--- /dev/null
+++ b/default/htdocs/images/org.png
Binary files differ
diff --git a/default/htdocs/styles/blank.css b/default/htdocs/styles/blank.css
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/default/htdocs/styles/blank.css
@@ -0,0 +1 @@
+
diff --git a/default/htdocs/styles/default.css b/default/htdocs/styles/default.css
new file mode 100644
index 0000000..2c9e778
--- /dev/null
+++ b/default/htdocs/styles/default.css
@@ -0,0 +1,110 @@
+html {
+ height: 100%;
+}
+
+body {
+ font-family: Georgia, Serif;
+ background-color: #19495f;
+ height: 100%;
+ max-width: 900px;
+}
+
+p {
+ padding: 1px 0;
+}
+
+div.header {
+ background-color: #01768f;
+ border-color: #000000;
+ border-width: 2px;
+ border-style: solid;
+ color: #FFFFFF;
+ padding: 20px;
+ margin: 0px;
+ margin-bottom: 5px;
+ text-align: center;
+ -moz-border-radius: 7px;
+ -webkit-border-radius: 7px;
+}
+
+span.italic {
+ font-style: italic;
+}
+
+span.bold {
+ font-weight: bold;
+}
+
+div.main {
+ background-color: #FFFFFA;
+ border-width: 1px;
+ border-style: solid;
+ padding: 5px;
+ -moz-border-radius: 7px;
+ -webkit-border-radius: 7px;
+}
+
+div.important {
+ background-color: #FF8181;
+ border-width: 1px;
+ border-style: solid;
+}
+
+h1 {
+ padding-left: 10px;
+ font-size: 30px;
+}
+
+h2, h3, p {
+ padding-left: 10px;
+ padding-right: 10px;
+}
+
+
+pre, .quote, .code {
+ border:1px #000000 solid;
+ font-family: "Courier New", courier;
+ background: #FFFFFF;
+ color: #000000;
+ padding-top: -10px;
+ padding-right: 10px;
+ padding: 10px;
+ margin-bottom: 30px;
+ -moz-border-radius: 7px;
+ -webkit-border-radius: 7px;
+}
+
+.footer {
+ background-color: #EEEEEE;
+ color: #000000;
+ text-align: center;
+ font-style: italic;
+ font-size: 12px;
+ margin-top: 10px;
+ padding: 10px;
+ -moz-border-radius: 7px;
+ -webkit-border-radius: 7px;
+}
+
+a {
+ color: #000000;
+}
+
+a:hover {
+ color: #FF0000;
+ text-decoration: none;
+}
+
+img {
+ padding-left: 10px;
+ padding-bottom: 10px;
+}
+
+img.limg {
+ padding-right: 10px;
+}
+
+div.incsep {
+ background-color: #FEFEFE;
+ padding-bottom: 50px;
+}
diff --git a/default/templates/plain.xml b/default/templates/plain.xml
new file mode 100644
index 0000000..7c3225e
--- /dev/null
+++ b/default/templates/plain.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<content type="text/plain">
+ <noop>%%content%%</noop>
+</content>
diff --git a/default/templates/rss2.feed.xml b/default/templates/rss2.feed.xml
new file mode 100644
index 0000000..43e2c67
--- /dev/null
+++ b/default/templates/rss2.feed.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<content type="application/rss+xml">
+ <tag>?xml version="1.0"?</tag>
+ <rss version="2.0">
+ <channel>
+ <title>buetow.org Newsfeed</title>
+ <link>http://%%host%%</link>
+ <description>buetow.org - Paul Buetows Tech Newsfeed</description>
+ <pubDate>$$!/bin/date$$</pubDate>
+ <generator>Xerl Web Engine (http://xerl.buetow.org)</generator>
+ <language>en</language>
+ <noop>%%content%%</noop>
+ </channel>
+ </rss>
+</content>
diff --git a/default/templates/xhtml.xml b/default/templates/xhtml.xml
new file mode 100644
index 0000000..7aa8983
--- /dev/null
+++ b/default/templates/xhtml.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?>
+<content type="text/html">
+<tag>!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"</tag>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>%%title%%</title>
+ <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" />
+ <meta name="author" content="Paul Buetow" />
+ <meta name="publisher" content="Xerl Template Engine (xerl.buetow.org)" />
+ <meta name="distribution" content="global" />
+ <meta name="robots" content="index, follow" />
+ <meta name="language" content="en, english" />
+ <meta name="revisit-after" content="1 days" />
+ <=link rel="alternate" type="application/rss+xml" title="buetow.org Newsfeed" href="http://rss.buetow.org" />
+ <=link rel="stylesheet" type="text/css" href="%%stylesurl%%$$style$$" />
+ </head>
+ <body>
+ <div class="header">
+ <type class="bold">A fortune quote: </type>
+ <type class="italic">$$!/usr/games/fortune -s$$</type>
+ </div>
+ <div class="main">
+ <navigation />
+ <noop>%%content%%</noop>
+ <div class="footer">
+ <noop>Generated in !!TIME!!s</noop>
+ <noop>| Powered by </noop>
+ <namedlink href="http://xerl.buetow.org">Xerl</namedlink>
+ <noop>| Xerl templates generated with Puppet</noop>
+ </div>
+ </div>
+ </body>
+</html>
+</content>
+