diff options
| author | Paul Buetow (pluto.buetow.org) <paul@buetow.org> | 2013-09-07 14:47:07 +0200 |
|---|---|---|
| committer | Paul Buetow (pluto.buetow.org) <paul@buetow.org> | 2013-09-07 14:47:07 +0200 |
| commit | 2b410702314b5db36b7e637cb2634282665744a6 (patch) | |
| tree | c1d01447daf39eb11a3ba4c014abce875185b4ab /dev.buetow.org | |
| parent | 0fb842ac162015a4c1ed1e598f6c6cef012e0a5f (diff) | |
new dev site
Diffstat (limited to 'dev.buetow.org')
| -rw-r--r-- | dev.buetow.org/config.xml | 67 | ||||
| -rw-r--r-- | dev.buetow.org/content/home.xml | 69 | ||||
| -rw-r--r-- | dev.buetow.org/htdocs/images/bg.png | bin | 0 -> 347 bytes | |||
| -rw-r--r-- | dev.buetow.org/htdocs/images/camel.jpg | bin | 0 -> 46392 bytes | |||
| -rw-r--r-- | dev.buetow.org/htdocs/images/dotORG.png | bin | 0 -> 12256 bytes | |||
| -rw-r--r-- | dev.buetow.org/htdocs/images/head.jpg | bin | 0 -> 55048 bytes | |||
| -rw-r--r-- | dev.buetow.org/htdocs/images/ipv6ready.png | bin | 0 -> 3786 bytes | |||
| -rw-r--r-- | dev.buetow.org/htdocs/images/org.png | bin | 0 -> 4682 bytes | |||
| -rw-r--r-- | dev.buetow.org/htdocs/styles/blank.css | 1 | ||||
| -rw-r--r-- | dev.buetow.org/htdocs/styles/default.css | 110 | ||||
| -rw-r--r-- | dev.buetow.org/templates/plain.xml | 5 | ||||
| -rw-r--r-- | dev.buetow.org/templates/rss2.feed.xml | 16 | ||||
| -rw-r--r-- | dev.buetow.org/templates/xhtml.xml | 35 |
13 files changed, 234 insertions, 69 deletions
diff --git a/dev.buetow.org/config.xml b/dev.buetow.org/config.xml new file mode 100644 index 0000000..d076d15 --- /dev/null +++ b/dev.buetow.org/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/dev.buetow.org/content/home.xml b/dev.buetow.org/content/home.xml deleted file mode 100644 index 6a99438..0000000 --- a/dev.buetow.org/content/home.xml +++ /dev/null @@ -1,69 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?> -<content> - <pagetitle>Some programming projects</pagetitle> - <textheader>Mailing List</textheader> - <text> - <noop>Here are some programming projects listed which I programmed in my spare time. Some may be usefull and others may not. Please use the </noop> - <namedlink href="http://web.buetow.org/listinfo/dev">Development Mailing List</namedlink> - <noop> for any considerations.</noop> - </text> - <textheader>Git repository</textheader> - <text> - <noop>You may go to </noop> - <namedlink href="http://git.buetow.org/">gitweb</namedlink> - <noop> for browsing some of the repositories. Please check out each individual project site how to clone a git repository.</noop> - </text> - <textheader>Deb repository</textheader> - <text>Some projects provide packages in .deb format. Please check out each individual project site for available architecture and so on. Basically the debian repository is available via '[deb|deb-src] [http|ftp]://deb.buetow.org/apt REPLACEWITHDISTNAME main'.</text> - <text>To trust it please run "curl http://deb.buetow.org/apt/pubkey.gpg | apt-key add -"</text> - <textheader>Project list</textheader> - <text> - <perl> - my $hostroot = $config->get_hostroot(); - - sub getf ($) { - open my $f, $_[0] or die "$!: $_[0]\n"; - my @slurp = \<$f\>; - close $f; - @slurp; - } - - sub nl () { "\<br /\>\n" } - - sub list (*) { - my $tag = shift; - my @found = sort `find $hostroot -name $tag`; - my $ret = ''; - - - for my $found (@found) { - $found =~ /.*hosts.(.*?).$tag/; - my $host = $1; - - my @content = getf $found; - - $ret .= "\<b\>\<a href=http://$host\>$host\</a\>\</b\>" . nl;; - if (@content) { - $ret .= join " ", @content; - $ret .= nl; - } - $ret .= nl; - } - - $ret; - } - - my $ret = list PROJECT; - - $ret .= "\<b\>\<i\>Older projects (not active at the moment):\</i\></b\>" . nl x 2; - - $ret .= list OLDPROJECT; - - $ret .= "\<b\>\<i\>Obsolete projects (no work will be done anymore and the software may be broken):\</i\></b\>" . nl x 2; - - $ret .= list OBSOLETEPROJECT; - - $ret; - </perl> - </text> -</content> diff --git a/dev.buetow.org/htdocs/images/bg.png b/dev.buetow.org/htdocs/images/bg.png Binary files differnew file mode 100644 index 0000000..35fb3b5 --- /dev/null +++ b/dev.buetow.org/htdocs/images/bg.png diff --git a/dev.buetow.org/htdocs/images/camel.jpg b/dev.buetow.org/htdocs/images/camel.jpg Binary files differnew file mode 100644 index 0000000..ebbdfd3 --- /dev/null +++ b/dev.buetow.org/htdocs/images/camel.jpg diff --git a/dev.buetow.org/htdocs/images/dotORG.png b/dev.buetow.org/htdocs/images/dotORG.png Binary files differnew file mode 100644 index 0000000..c487e26 --- /dev/null +++ b/dev.buetow.org/htdocs/images/dotORG.png diff --git a/dev.buetow.org/htdocs/images/head.jpg b/dev.buetow.org/htdocs/images/head.jpg Binary files differnew file mode 100644 index 0000000..0a9c408 --- /dev/null +++ b/dev.buetow.org/htdocs/images/head.jpg diff --git a/dev.buetow.org/htdocs/images/ipv6ready.png b/dev.buetow.org/htdocs/images/ipv6ready.png Binary files differnew file mode 100644 index 0000000..18a42a7 --- /dev/null +++ b/dev.buetow.org/htdocs/images/ipv6ready.png diff --git a/dev.buetow.org/htdocs/images/org.png b/dev.buetow.org/htdocs/images/org.png Binary files differnew file mode 100644 index 0000000..c338dc5 --- /dev/null +++ b/dev.buetow.org/htdocs/images/org.png diff --git a/dev.buetow.org/htdocs/styles/blank.css b/dev.buetow.org/htdocs/styles/blank.css new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/dev.buetow.org/htdocs/styles/blank.css @@ -0,0 +1 @@ + diff --git a/dev.buetow.org/htdocs/styles/default.css b/dev.buetow.org/htdocs/styles/default.css new file mode 100644 index 0000000..2c9e778 --- /dev/null +++ b/dev.buetow.org/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/dev.buetow.org/templates/plain.xml b/dev.buetow.org/templates/plain.xml new file mode 100644 index 0000000..7c3225e --- /dev/null +++ b/dev.buetow.org/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/dev.buetow.org/templates/rss2.feed.xml b/dev.buetow.org/templates/rss2.feed.xml new file mode 100644 index 0000000..43e2c67 --- /dev/null +++ b/dev.buetow.org/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/dev.buetow.org/templates/xhtml.xml b/dev.buetow.org/templates/xhtml.xml new file mode 100644 index 0000000..b4caad8 --- /dev/null +++ b/dev.buetow.org/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 managed via Puppet/Git</noop> + </div> + </div> + </body> +</html> +</content> + |
