Initial commit of an old repository on a new git server

This commit is contained in:
Homer S. 2020-04-14 23:12:29 +02:00
parent da964bf068
commit be4176c5ca
22 changed files with 1415 additions and 64 deletions

9
README
View File

@ -0,0 +1,9 @@
* no database, just files
* markdown only
* administer your blog from command line only
* with your favourite editor
* drafts and templates
* simple html5 static blog
* no runtime interpretation
* no javascript unless you add it
* administer multiple blogs with one command line tool

View File

@ -0,0 +1,86 @@
<!DOCTYPE html />
<html lang="de">
<head>
<title>Mein Blog</title>
<meta name="author" content="${BLOG_AUTHOR}" />
<meta name="generator" content="picoblogger 0.1" />
<meta charset="utf-8" />
<meta name="keywords" content="${BLOG_KEYWORDS}" />
<meta name="description" content="${BLOG_DESCRIPTION}" />
<meta name="language" content="de" />
<meta name="robots" content="index,follow" />
<!-- <link rel="stylesheet" href="css/print.css" media="print" /> -->
<link rel="stylesheet" href="../css/style.css" media="all" />
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="alternate" type="application/rss+xml"
title="RSS" href="feed.xml" />
<link rel="shortcut icon" href="images/favicon.ico" type="images/vnd.microsoft.icon" />
</head>
<body>
<header>
<h1>Mein Blog</h1><h2>Meine Worte, Meine Meinung ... </h2>
</header>
<nav>
<h1>Navigation</h1>
<ul>
<li><a href="index.html" class="home">Aktuell</a></li>
<li><a href="archive.html">Archiv</a></li>
</ul>
</nav>
<div id="flex-container">
<main class="flex-item">
<h1>Artikel</h1>
<article>
<header>
<h1 id="1"><a href="1.html">Dies ist ein Test</a></h1>
<dl>
<dt>Autor</dt><dd>homer77</dd>
<dt>Erstellt am</dt><dd>15.02.2015 23:16:34</dd>
<dt>Zuletzt geändert</dt><dd>22.03.2015 12:16:28</dd>
</dl>
</header>
<h1>Type your article <em>right here</em>.</h1>
<p>You may use <em>Markdown</em> to format.</p>
<footer>
<p><a href="test.html" class="tag">#test</a> <a href="picoblogger.html" class="tag">#picoblogger</a> <a href="coden.html" class="tag">#coden</a> </p>
</footer>
</article>
</main>
<aside class="flex-item">
<h1>Übrigens ...</h1>
<h2>Letzte Artikel</h2>
<ul>
<li><a href="1427628357.html" title="29.03.2015 13:25:57">Seventh Article and Last in Month</a></li><li><a href="1426966835.html" title="21.03.2015 20:40:35">Sixth Article - Just to Simulate Regular Use</a></li><li><a href="1426006082.html" title="10.03.2015 17:48:02">This article should stay on index!</a></li>
</ul>
<h2>Kontakt</h2>
<dl class="contact">
<dt>E-Mail</dt>
<dd>any@mail.address.org</dd>
<dt>Diaspora</dt>
<dd>youraccount@anypod.org</dd>
</dl>
</aside>
</div>
<footer>
<h1>Appendix</h1>
<dl>
<dt>powered with:</dt>
<dd>
<ul>
<li><a href="https://github.com/maste9/picoblogger">picoblogger</a></li>
</ul>
</dd>
</dl>
</footer>
</body>
</html>

View File

@ -0,0 +1,87 @@
<!DOCTYPE html />
<html lang="de">
<head>
<title>Mein Blog</title>
<meta name="author" content="${BLOG_AUTHOR}" />
<meta name="generator" content="picoblogger 0.1" />
<meta charset="utf-8" />
<meta name="keywords" content="${BLOG_KEYWORDS}" />
<meta name="description" content="${BLOG_DESCRIPTION}" />
<meta name="language" content="de" />
<meta name="robots" content="index,follow" />
<!-- <link rel="stylesheet" href="css/print.css" media="print" /> -->
<link rel="stylesheet" href="../css/style.css" media="all" />
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="alternate" type="application/rss+xml"
title="RSS" href="feed.xml" />
<link rel="shortcut icon" href="images/favicon.ico" type="images/vnd.microsoft.icon" />
</head>
<body>
<header>
<h1>Mein Blog</h1><h2>Meine Worte, Meine Meinung ... </h2>
</header>
<nav>
<h1>Navigation</h1>
<ul>
<li><a href="index.html" class="home">Aktuell</a></li>
<li><a href="archive.html">Archiv</a></li>
</ul>
</nav>
<div id="flex-container">
<main class="flex-item">
<h1>Artikel</h1>
<article>
<header>
<h1 id="1426004699"><a href="1426004699.html">May the Fourth Be With You!!</a></h1>
<dl>
<dt>Autor</dt><dd>homer77</dd>
<dt>Erstellt am</dt><dd>10.01.2015 17:24:59</dd>
<dt>Zuletzt geändert</dt><dd>22.03.2015 12:18:27</dd>
</dl>
</header>
<p>Now I test the archive function I coded.</p>
<p>I want all article older than the current month to be put into archive which is structured by folders regarding year and month of article creation defined in article.</p>
<p>It does not refer to the filesystem's creation date of the file, if you know what I mean ...</p>
<footer>
<p><a href="archive.html" class="tag">#archive</a> <a href="test.html" class="tag">#test</a> </p>
</footer>
</article>
</main>
<aside class="flex-item">
<h1>Übrigens ...</h1>
<h2>Letzte Artikel</h2>
<ul>
<li><a href="1427628357.html" title="29.03.2015 13:25:57">Seventh Article and Last in Month</a></li><li><a href="1426966835.html" title="21.03.2015 20:40:35">Sixth Article - Just to Simulate Regular Use</a></li><li><a href="1426006082.html" title="10.03.2015 17:48:02">This article should stay on index!</a></li>
</ul>
<h2>Kontakt</h2>
<dl class="contact">
<dt>E-Mail</dt>
<dd>any@mail.address.org</dd>
<dt>Diaspora</dt>
<dd>youraccount@anypod.org</dd>
</dl>
</aside>
</div>
<footer>
<h1>Appendix</h1>
<dl>
<dt>powered with:</dt>
<dd>
<ul>
<li><a href="https://github.com/maste9/picoblogger">picoblogger</a></li>
</ul>
</dd>
</dl>
</footer>
</body>
</html>

View File

@ -38,14 +38,14 @@
<h1 id="1426006082"><a href="1426006082.html">This article should stay on index!</a></h1>
<dl>
<dt>Autor</dt><dd>homer77</dd>
<dt>Erstellt am</dt><dd>10.03.2015 um 17:48 Uhr</dd>
<dt>Zuletzt geändert</dt><dd>10.03.2015 um 16:49 Uhr</dd>
<dt>Erstellt am</dt><dd>10.03.2015 17:48:02</dd>
<dt>Zuletzt geändert</dt><dd>22.03.2015 12:16:44</dd>
</dl>
</header>
<p>As this should be the only article on this machine written in march 2015 all the others should be moved to the correct folders in archive folder.</p>
<p>Let's have a look!</p>
<footer>
<p><a href="tags/archive.html" class="tag">#archive</a> <a href="tags/test.html" class="tag">#test</a> <a href="tags/current.html" class="tag">#current</a> </p>
<p><a href="archive.html" class="tag">#archive</a> <a href="test.html" class="tag">#test</a> <a href="current.html" class="tag">#current</a> </p>
</footer>
</article>
@ -54,7 +54,7 @@
<h1>Übrigens ...</h1>
<h2>Letzte Artikel</h2>
<ul>
<li><a href="1426966835.html" title="21.03.2015 um 20:40 Uhr">Sixth Article - Just to Simulate Regular Use</a></li><li><a href="1426006082.html" title="10.03.2015 um 17:48 Uhr">This article should stay on index!</a></li>
<li><a href="1427628357.html" title="29.03.2015 13:25:57">Seventh Article and Last in Month</a></li><li><a href="1426966835.html" title="21.03.2015 20:40:35">Sixth Article - Just to Simulate Regular Use</a></li><li><a href="1426006082.html" title="10.03.2015 17:48:02">This article should stay on index!</a></li>
</ul>

View File

@ -38,14 +38,14 @@
<h1 id="1426966835"><a href="1426966835.html">Sixth Article - Just to Simulate Regular Use</a></h1>
<dl>
<dt>Autor</dt><dd>homer77</dd>
<dt>Erstellt am</dt><dd>21.03.2015 um 20:40 Uhr</dd>
<dt>Zuletzt geändert</dt><dd>21.03.2015 um 19:43 Uhr</dd>
<dt>Erstellt am</dt><dd>21.03.2015 20:40:35</dd>
<dt>Zuletzt geändert</dt><dd>22.03.2015 12:16:57</dd>
</dl>
</header>
<h2>Work goes on</h2>
<p>and now focuses on archive.</p>
<footer>
<p><a href="tags/notag.html" class="tag">#notag</a> </p>
<p><a href="notag.html" class="tag">#notag</a> </p>
</footer>
</article>
@ -54,7 +54,7 @@
<h1>Übrigens ...</h1>
<h2>Letzte Artikel</h2>
<ul>
<li><a href="1426966835.html" title="21.03.2015 um 20:40 Uhr">Sixth Article - Just to Simulate Regular Use</a></li><li><a href="1426006082.html" title="10.03.2015 um 17:48 Uhr">This article should stay on index!</a></li>
<li><a href="1427628357.html" title="29.03.2015 13:25:57">Seventh Article and Last in Month</a></li><li><a href="1426966835.html" title="21.03.2015 20:40:35">Sixth Article - Just to Simulate Regular Use</a></li><li><a href="1426006082.html" title="10.03.2015 17:48:02">This article should stay on index!</a></li>
</ul>

View File

@ -0,0 +1,86 @@
<!DOCTYPE html />
<html lang="de">
<head>
<title>Mein Blog</title>
<meta name="author" content="${BLOG_AUTHOR}" />
<meta name="generator" content="picoblogger 0.1" />
<meta charset="utf-8" />
<meta name="keywords" content="${BLOG_KEYWORDS}" />
<meta name="description" content="${BLOG_DESCRIPTION}" />
<meta name="language" content="de" />
<meta name="robots" content="index,follow" />
<!-- <link rel="stylesheet" href="css/print.css" media="print" /> -->
<link rel="stylesheet" href="../css/style.css" media="all" />
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="alternate" type="application/rss+xml"
title="RSS" href="feed.xml" />
<link rel="shortcut icon" href="images/favicon.ico" type="images/vnd.microsoft.icon" />
</head>
<body>
<header>
<h1>Mein Blog</h1><h2>Meine Worte, Meine Meinung ... </h2>
</header>
<nav>
<h1>Navigation</h1>
<ul>
<li><a href="index.html" class="home">Aktuell</a></li>
<li><a href="archive.html">Archiv</a></li>
</ul>
</nav>
<div id="flex-container">
<main class="flex-item">
<h1>Artikel</h1>
<article>
<header>
<h1 id="1427628357"><a href="1427628357.html">Seventh Article and Last in Month</a></h1>
<dl>
<dt>Autor</dt><dd>homer77</dd>
<dt>Erstellt am</dt><dd>29.03.2015 13:25:57</dd>
<dt>Zuletzt geändert</dt><dd>29.03.2015 11:39:32</dd>
</dl>
</header>
<p>This is the last article in <a href="archive.html#20153">March 2015</a>.</p>
<p>Maybe it was easier to build a blog software with django I guess ...</p>
<footer>
<p><a href="picoblogger.html" class="tag">#picoblogger</a> <a href="test.html" class="tag">#test</a> </p>
</footer>
</article>
</main>
<aside class="flex-item">
<h1>Übrigens ...</h1>
<h2>Letzte Artikel</h2>
<ul>
<li><a href="1427628357.html" title="29.03.2015 13:25:57">Seventh Article and Last in Month</a></li><li><a href="1426966835.html" title="21.03.2015 20:40:35">Sixth Article - Just to Simulate Regular Use</a></li><li><a href="1426006082.html" title="10.03.2015 17:48:02">This article should stay on index!</a></li>
</ul>
<h2>Kontakt</h2>
<dl class="contact">
<dt>E-Mail</dt>
<dd>any@mail.address.org</dd>
<dt>Diaspora</dt>
<dd>youraccount@anypod.org</dd>
</dl>
</aside>
</div>
<footer>
<h1>Appendix</h1>
<dl>
<dt>powered with:</dt>
<dd>
<ul>
<li><a href="https://github.com/maste9/picoblogger">picoblogger</a></li>
</ul>
</dd>
</dl>
</footer>
</body>
</html>

View File

@ -0,0 +1,86 @@
<!DOCTYPE html />
<html lang="de">
<head>
<title>Mein Blog</title>
<meta name="author" content="${BLOG_AUTHOR}" />
<meta name="generator" content="picoblogger 0.1" />
<meta charset="utf-8" />
<meta name="keywords" content="${BLOG_KEYWORDS}" />
<meta name="description" content="${BLOG_DESCRIPTION}" />
<meta name="language" content="de" />
<meta name="robots" content="index,follow" />
<!-- <link rel="stylesheet" href="css/print.css" media="print" /> -->
<link rel="stylesheet" href="../css/style.css" media="all" />
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="alternate" type="application/rss+xml"
title="RSS" href="feed.xml" />
<link rel="shortcut icon" href="images/favicon.ico" type="images/vnd.microsoft.icon" />
</head>
<body>
<header>
<h1>Mein Blog</h1><h2>Meine Worte, Meine Meinung ... </h2>
</header>
<nav>
<h1>Navigation</h1>
<ul>
<li><a href="index.html" class="home">Aktuell</a></li>
<li><a href="archive.html">Archiv</a></li>
</ul>
</nav>
<div id="flex-container">
<main class="flex-item">
<h1>Artikel</h1>
<article>
<header>
<h1 id="1532386878"><a href="1532386878.html">Altes Projekt wiederentdeckt</a></h1>
<dl>
<dt>Autor</dt><dd>homer77</dd>
<dt>Erstellt am</dt><dd>24.07.2018 01:01:18</dd>
<dt>Zuletzt geändert</dt><dd>23.07.2018 23:04:17</dd>
</dl>
</header>
<h2>3 Jahre altes Blogprojekt wiederentdeckt</h2>
<p>Leider funktioniert einiges noch nicht, das heißt, ich muss mich durchfummeln, an welchen Stellen als nächstes zu frickeln ist :-/</p>
<footer>
<p></p>
</footer>
</article>
</main>
<aside class="flex-item">
<h1>Übrigens ...</h1>
<h2>Letzte Artikel</h2>
<ul>
<li><a href="1532386878.html" title="24.07.2018 01:01:18">Altes Projekt wiederentdeckt</a></li>
</ul>
<h2>Kontakt</h2>
<dl class="contact">
<dt>E-Mail</dt>
<dd>any@mail.address.org</dd>
<dt>Diaspora</dt>
<dd>youraccount@anypod.org</dd>
</dl>
</aside>
</div>
<footer>
<h1>Appendix</h1>
<dl>
<dt>powered with:</dt>
<dd>
<ul>
<li><a href="https://github.com/maste9/picoblogger">picoblogger</a></li>
</ul>
</dd>
</dl>
</footer>
</body>
</html>

View File

@ -0,0 +1,96 @@
<!DOCTYPE html />
<html lang="de">
<head>
<title>Mein Blog</title>
<meta name="author" content="${BLOG_AUTHOR}" />
<meta name="generator" content="picoblogger 0.1" />
<meta charset="utf-8" />
<meta name="keywords" content="${BLOG_KEYWORDS}" />
<meta name="description" content="${BLOG_DESCRIPTION}" />
<meta name="language" content="de" />
<meta name="robots" content="index,follow" />
<!-- <link rel="stylesheet" href="css/print.css" media="print" /> -->
<link rel="stylesheet" href="../css/style.css" media="all" />
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="alternate" type="application/rss+xml"
title="RSS" href="feed.xml" />
<link rel="shortcut icon" href="images/favicon.ico" type="images/vnd.microsoft.icon" />
</head>
<body>
<header>
<h1>Mein Blog</h1><h2>Meine Worte, Meine Meinung ... </h2>
</header>
<nav>
<h1>Navigation</h1>
<ul>
<li><a href="index.html" class="home">Aktuell</a></li>
<li><a href="archive.html">Archiv</a></li>
</ul>
</nav>
<div id="flex-container">
<main class="flex-item">
<h1>Artikel</h1>
<article>
<header>
<h1 id="2"><a href="2.html">Das ist der zweite Artikel</a></h1>
<dl>
<dt>Autor</dt><dd>homer77</dd>
<dt>Erstellt am</dt><dd>24.02.2015 21:19:45</dd>
<dt>Zuletzt geändert</dt><dd>22.03.2015 12:18:05</dd>
</dl>
</header>
<p>Dies ist der zweite Test.
Ich schreibe verschiedene Zeilen Text und teste damit <strong>Markdown</strong></p>
<p>Ist das jetzt ein neuer <em>Absatz</em>?</p>
<p>Und wie kann ich Code-Blöcke wie <code>apt-get install</code> einfügen? Funktioniert das mit 3 oder 4 Backticks?</p>
<p><code>Gehen auch
mehrere
Code-zeilen?</code></p>
<p>Und was ist mit Listen?
- Erster Eintrag
- Zweiter Eintrag
- Erster Untereintrag
- Dritter Eintrag</p>
<footer>
<p><a href="lustig.html" class="tag">#lustig</a> <a href="langweilig.html" class="tag">#langweilig</a> <a href="blabla.html" class="tag">#blabla</a> </p>
</footer>
</article>
</main>
<aside class="flex-item">
<h1>Übrigens ...</h1>
<h2>Letzte Artikel</h2>
<ul>
<li><a href="1427628357.html" title="29.03.2015 13:25:57">Seventh Article and Last in Month</a></li><li><a href="1426966835.html" title="21.03.2015 20:40:35">Sixth Article - Just to Simulate Regular Use</a></li><li><a href="1426006082.html" title="10.03.2015 17:48:02">This article should stay on index!</a></li>
</ul>
<h2>Kontakt</h2>
<dl class="contact">
<dt>E-Mail</dt>
<dd>any@mail.address.org</dd>
<dt>Diaspora</dt>
<dd>youraccount@anypod.org</dd>
</dl>
</aside>
</div>
<footer>
<h1>Appendix</h1>
<dl>
<dt>powered with:</dt>
<dd>
<ul>
<li><a href="https://github.com/maste9/picoblogger">picoblogger</a></li>
</ul>
</dd>
</dl>
</footer>
</body>
</html>

View File

@ -0,0 +1,87 @@
<!DOCTYPE html />
<html lang="de">
<head>
<title>Mein Blog</title>
<meta name="author" content="${BLOG_AUTHOR}" />
<meta name="generator" content="picoblogger 0.1" />
<meta charset="utf-8" />
<meta name="keywords" content="${BLOG_KEYWORDS}" />
<meta name="description" content="${BLOG_DESCRIPTION}" />
<meta name="language" content="de" />
<meta name="robots" content="index,follow" />
<!-- <link rel="stylesheet" href="css/print.css" media="print" /> -->
<link rel="stylesheet" href="../css/style.css" media="all" />
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="alternate" type="application/rss+xml"
title="RSS" href="feed.xml" />
<link rel="shortcut icon" href="images/favicon.ico" type="images/vnd.microsoft.icon" />
</head>
<body>
<header>
<h1>Mein Blog</h1><h2>Meine Worte, Meine Meinung ... </h2>
</header>
<nav>
<h1>Navigation</h1>
<ul>
<li><a href="index.html" class="home">Aktuell</a></li>
<li><a href="archive.html">Archiv</a></li>
</ul>
</nav>
<div id="flex-container">
<main class="flex-item">
<h1>Artikel</h1>
<article>
<header>
<h1 id="3"><a href="3.html">Ein zweiter Test!</a></h1>
<dl>
<dt>Autor</dt><dd>homer77</dd>
<dt>Erstellt am</dt><dd>15.02.2015 23:18:22</dd>
<dt>Zuletzt geändert</dt><dd>22.03.2015 12:17:36</dd>
</dl>
</header>
<h1>Das ist ein weiter Testartikel</h1>
<h2>Ich muss das abschließen für heute</h2>
<p><a href="https://example.org">Klick mich</a></p>
<footer>
<p></p>
</footer>
</article>
</main>
<aside class="flex-item">
<h1>Übrigens ...</h1>
<h2>Letzte Artikel</h2>
<ul>
<li><a href="1427628357.html" title="29.03.2015 13:25:57">Seventh Article and Last in Month</a></li><li><a href="1426966835.html" title="21.03.2015 20:40:35">Sixth Article - Just to Simulate Regular Use</a></li><li><a href="1426006082.html" title="10.03.2015 17:48:02">This article should stay on index!</a></li>
</ul>
<h2>Kontakt</h2>
<dl class="contact">
<dt>E-Mail</dt>
<dd>any@mail.address.org</dd>
<dt>Diaspora</dt>
<dd>youraccount@anypod.org</dd>
</dl>
</aside>
</div>
<footer>
<h1>Appendix</h1>
<dl>
<dt>powered with:</dt>
<dd>
<ul>
<li><a href="https://github.com/maste9/picoblogger">picoblogger</a></li>
</ul>
</dd>
</dl>
</footer>
</body>
</html>

View File

@ -32,14 +32,45 @@
</nav>
<div id="flex-container">
<main class="flex-item">
<h1>Archiv</h1>
<h2>2015</h2><h3>2</h3><li><a href="2.html" title="24.02.2015 um 21:19 Uhr">Das ist der zweite Artikel</a></li><li><a href="3.html" title="15.02.2015 um 23:18 Uhr">Ein zweiter Test!</a></li><li><a href="1.html" title="15.02.2015 um 23:16 Uhr">Dies ist ein Test</a></li><h3>1</h3><li><a href="1426004699.html" title="10.01.2015 um 17:24 Uhr">May the Fourth Be With You!!</a></li>
<h1>Artikel mit Tag #archive</h1>
<article>
<header>
<h1 id="1426006082"><a href="1426006082.html">This article should stay on index!</a></h1>
<dl>
<dt>Autor</dt><dd>homer77</dd>
<dt>Erstellt am</dt><dd>10.03.2015 17:48:02</dd>
<dt>Zuletzt geändert</dt><dd>22.03.2015 12:16:44</dd>
</dl>
</header>
<p>As this should be the only article on this machine written in march 2015 all the others should be moved to the correct folders in archive folder.</p>
<p>Let's have a look!</p>
<footer>
<p><a href="archive.html" class="tag">#archive</a> <a href="test.html" class="tag">#test</a> <a href="current.html" class="tag">#current</a> </p>
</footer>
</article>
<article>
<header>
<h1 id="1426004699"><a href="1426004699.html">May the Fourth Be With You!!</a></h1>
<dl>
<dt>Autor</dt><dd>homer77</dd>
<dt>Erstellt am</dt><dd>10.01.2015 17:24:59</dd>
<dt>Zuletzt geändert</dt><dd>22.03.2015 12:18:27</dd>
</dl>
</header>
<p>Now I test the archive function I coded.</p>
<p>I want all article older than the current month to be put into archive which is structured by folders regarding year and month of article creation defined in article.</p>
<p>It does not refer to the filesystem's creation date of the file, if you know what I mean ...</p>
<footer>
<p><a href="archive.html" class="tag">#archive</a> <a href="test.html" class="tag">#test</a> </p>
</footer>
</article>
</main>
<aside class="flex-item">
<h1>Übrigens ...</h1>
<h2>Letzte Artikel</h2>
<ul>
<ul><li>2015</li><ul><li>2</li><li>1</li></ul></ul>
<li><a href="1427628357.html" title="29.03.2015 13:25:57">Seventh Article and Last in Month</a></li><li><a href="1426966835.html" title="21.03.2015 20:40:35">Sixth Article - Just to Simulate Regular Use</a></li><li><a href="1426006082.html" title="10.03.2015 17:48:02">This article should stay on index!</a></li>
</ul>

View File

@ -0,0 +1,96 @@
<!DOCTYPE html />
<html lang="de">
<head>
<title>Mein Blog</title>
<meta name="author" content="${BLOG_AUTHOR}" />
<meta name="generator" content="picoblogger 0.1" />
<meta charset="utf-8" />
<meta name="keywords" content="${BLOG_KEYWORDS}" />
<meta name="description" content="${BLOG_DESCRIPTION}" />
<meta name="language" content="de" />
<meta name="robots" content="index,follow" />
<!-- <link rel="stylesheet" href="css/print.css" media="print" /> -->
<link rel="stylesheet" href="../css/style.css" media="all" />
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="alternate" type="application/rss+xml"
title="RSS" href="feed.xml" />
<link rel="shortcut icon" href="images/favicon.ico" type="images/vnd.microsoft.icon" />
</head>
<body>
<header>
<h1>Mein Blog</h1><h2>Meine Worte, Meine Meinung ... </h2>
</header>
<nav>
<h1>Navigation</h1>
<ul>
<li><a href="index.html" class="home">Aktuell</a></li>
<li><a href="archive.html">Archiv</a></li>
</ul>
</nav>
<div id="flex-container">
<main class="flex-item">
<h1>Artikel mit Tag #blabla</h1>
<article>
<header>
<h1 id="2"><a href="2.html">Das ist der zweite Artikel</a></h1>
<dl>
<dt>Autor</dt><dd>homer77</dd>
<dt>Erstellt am</dt><dd>24.02.2015 21:19:45</dd>
<dt>Zuletzt geändert</dt><dd>22.03.2015 12:18:05</dd>
</dl>
</header>
<p>Dies ist der zweite Test.
Ich schreibe verschiedene Zeilen Text und teste damit <strong>Markdown</strong></p>
<p>Ist das jetzt ein neuer <em>Absatz</em>?</p>
<p>Und wie kann ich Code-Blöcke wie <code>apt-get install</code> einfügen? Funktioniert das mit 3 oder 4 Backticks?</p>
<p><code>Gehen auch
mehrere
Code-zeilen?</code></p>
<p>Und was ist mit Listen?
- Erster Eintrag
- Zweiter Eintrag
- Erster Untereintrag
- Dritter Eintrag</p>
<footer>
<p><a href="<a href="<a href="lustig.html" class="tag">#lustig</a> <a href="langweilig.html" class="tag">#langweilig</a> <a href="blabla.html" class="tag">#blabla</a>.html" class="tag">#<a href="lustig.html" class="tag">#lustig</a> <a href="langweilig.html" class="tag">#langweilig</a> <a href="blabla.html" class="tag">#blabla</a></a>.html" class="tag">#<a href="<a href="lustig.html" class="tag">#lustig</a> <a href="langweilig.html" class="tag">#langweilig</a> <a href="blabla.html" class="tag">#blabla</a>.html" class="tag">#<a href="lustig.html" class="tag">#lustig</a> <a href="langweilig.html" class="tag">#langweilig</a> <a href="blabla.html" class="tag">#blabla</a></a></a> </p>
</footer>
</article>
</main>
<aside class="flex-item">
<h1>Übrigens ...</h1>
<h2>Letzte Artikel</h2>
<ul>
<li><a href="1427628357.html" title="29.03.2015 13:25:57">Seventh Article and Last in Month</a></li><li><a href="1426966835.html" title="21.03.2015 20:40:35">Sixth Article - Just to Simulate Regular Use</a></li><li><a href="1426006082.html" title="10.03.2015 17:48:02">This article should stay on index!</a></li>
</ul>
<h2>Kontakt</h2>
<dl class="contact">
<dt>E-Mail</dt>
<dd>any@mail.address.org</dd>
<dt>Diaspora</dt>
<dd>youraccount@anypod.org</dd>
</dl>
</aside>
</div>
<footer>
<h1>Appendix</h1>
<dl>
<dt>powered with:</dt>
<dd>
<ul>
<li><a href="https://github.com/maste9/picoblogger">picoblogger</a></li>
</ul>
</dd>
</dl>
</footer>
</body>
</html>

View File

@ -0,0 +1,86 @@
<!DOCTYPE html />
<html lang="de">
<head>
<title>Mein Blog</title>
<meta name="author" content="${BLOG_AUTHOR}" />
<meta name="generator" content="picoblogger 0.1" />
<meta charset="utf-8" />
<meta name="keywords" content="${BLOG_KEYWORDS}" />
<meta name="description" content="${BLOG_DESCRIPTION}" />
<meta name="language" content="de" />
<meta name="robots" content="index,follow" />
<!-- <link rel="stylesheet" href="css/print.css" media="print" /> -->
<link rel="stylesheet" href="../css/style.css" media="all" />
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="alternate" type="application/rss+xml"
title="RSS" href="feed.xml" />
<link rel="shortcut icon" href="images/favicon.ico" type="images/vnd.microsoft.icon" />
</head>
<body>
<header>
<h1>Mein Blog</h1><h2>Meine Worte, Meine Meinung ... </h2>
</header>
<nav>
<h1>Navigation</h1>
<ul>
<li><a href="index.html" class="home">Aktuell</a></li>
<li><a href="archive.html">Archiv</a></li>
</ul>
</nav>
<div id="flex-container">
<main class="flex-item">
<h1>Artikel mit Tag #coden</h1>
<article>
<header>
<h1 id="1"><a href="1.html">Dies ist ein Test</a></h1>
<dl>
<dt>Autor</dt><dd>homer77</dd>
<dt>Erstellt am</dt><dd>15.02.2015 23:16:34</dd>
<dt>Zuletzt geändert</dt><dd>22.03.2015 12:16:28</dd>
</dl>
</header>
<h1>Type your article <em>right here</em>.</h1>
<p>You may use <em>Markdown</em> to format.</p>
<footer>
<p><a href="<a href="<a href="test.html" class="tag">#test</a> <a href="picoblogger.html" class="tag">#picoblogger</a> <a href="coden.html" class="tag">#coden</a>.html" class="tag">#<a href="test.html" class="tag">#test</a> <a href="picoblogger.html" class="tag">#picoblogger</a> <a href="coden.html" class="tag">#coden</a></a>.html" class="tag">#<a href="<a href="test.html" class="tag">#test</a> <a href="picoblogger.html" class="tag">#picoblogger</a> <a href="coden.html" class="tag">#coden</a>.html" class="tag">#<a href="test.html" class="tag">#test</a> <a href="picoblogger.html" class="tag">#picoblogger</a> <a href="coden.html" class="tag">#coden</a></a></a> </p>
</footer>
</article>
</main>
<aside class="flex-item">
<h1>Übrigens ...</h1>
<h2>Letzte Artikel</h2>
<ul>
<li><a href="1427628357.html" title="29.03.2015 13:25:57">Seventh Article and Last in Month</a></li><li><a href="1426966835.html" title="21.03.2015 20:40:35">Sixth Article - Just to Simulate Regular Use</a></li><li><a href="1426006082.html" title="10.03.2015 17:48:02">This article should stay on index!</a></li>
</ul>
<h2>Kontakt</h2>
<dl class="contact">
<dt>E-Mail</dt>
<dd>any@mail.address.org</dd>
<dt>Diaspora</dt>
<dd>youraccount@anypod.org</dd>
</dl>
</aside>
</div>
<footer>
<h1>Appendix</h1>
<dl>
<dt>powered with:</dt>
<dd>
<ul>
<li><a href="https://github.com/maste9/picoblogger">picoblogger</a></li>
</ul>
</dd>
</dl>
</footer>
</body>
</html>

View File

@ -0,0 +1,86 @@
<!DOCTYPE html />
<html lang="de">
<head>
<title>Mein Blog</title>
<meta name="author" content="${BLOG_AUTHOR}" />
<meta name="generator" content="picoblogger 0.1" />
<meta charset="utf-8" />
<meta name="keywords" content="${BLOG_KEYWORDS}" />
<meta name="description" content="${BLOG_DESCRIPTION}" />
<meta name="language" content="de" />
<meta name="robots" content="index,follow" />
<!-- <link rel="stylesheet" href="css/print.css" media="print" /> -->
<link rel="stylesheet" href="../css/style.css" media="all" />
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="alternate" type="application/rss+xml"
title="RSS" href="feed.xml" />
<link rel="shortcut icon" href="images/favicon.ico" type="images/vnd.microsoft.icon" />
</head>
<body>
<header>
<h1>Mein Blog</h1><h2>Meine Worte, Meine Meinung ... </h2>
</header>
<nav>
<h1>Navigation</h1>
<ul>
<li><a href="index.html" class="home">Aktuell</a></li>
<li><a href="archive.html">Archiv</a></li>
</ul>
</nav>
<div id="flex-container">
<main class="flex-item">
<h1>Artikel mit Tag #current</h1>
<article>
<header>
<h1 id="1426006082"><a href="1426006082.html">This article should stay on index!</a></h1>
<dl>
<dt>Autor</dt><dd>homer77</dd>
<dt>Erstellt am</dt><dd>10.03.2015 17:48:02</dd>
<dt>Zuletzt geändert</dt><dd>22.03.2015 12:16:44</dd>
</dl>
</header>
<p>As this should be the only article on this machine written in march 2015 all the others should be moved to the correct folders in archive folder.</p>
<p>Let's have a look!</p>
<footer>
<p><a href="<a href="<a href="archive.html" class="tag">#archive</a> <a href="test.html" class="tag">#test</a> <a href="current.html" class="tag">#current</a>.html" class="tag">#<a href="archive.html" class="tag">#archive</a> <a href="test.html" class="tag">#test</a> <a href="current.html" class="tag">#current</a></a>.html" class="tag">#<a href="<a href="archive.html" class="tag">#archive</a> <a href="test.html" class="tag">#test</a> <a href="current.html" class="tag">#current</a>.html" class="tag">#<a href="archive.html" class="tag">#archive</a> <a href="test.html" class="tag">#test</a> <a href="current.html" class="tag">#current</a></a></a> </p>
</footer>
</article>
</main>
<aside class="flex-item">
<h1>Übrigens ...</h1>
<h2>Letzte Artikel</h2>
<ul>
<li><a href="1427628357.html" title="29.03.2015 13:25:57">Seventh Article and Last in Month</a></li><li><a href="1426966835.html" title="21.03.2015 20:40:35">Sixth Article - Just to Simulate Regular Use</a></li><li><a href="1426006082.html" title="10.03.2015 17:48:02">This article should stay on index!</a></li>
</ul>
<h2>Kontakt</h2>
<dl class="contact">
<dt>E-Mail</dt>
<dd>any@mail.address.org</dd>
<dt>Diaspora</dt>
<dd>youraccount@anypod.org</dd>
</dl>
</aside>
</div>
<footer>
<h1>Appendix</h1>
<dl>
<dt>powered with:</dt>
<dd>
<ul>
<li><a href="https://github.com/maste9/picoblogger">picoblogger</a></li>
</ul>
</dd>
</dl>
</footer>
</body>
</html>

View File

@ -35,32 +35,17 @@
<h1>Aktuell</h1>
<article>
<header>
<h1 id="1426966835"><a href="1426966835.html">Sixth Article - Just to Simulate Regular Use</a></h1>
<h1 id="1532386878"><a href="1532386878.html">Altes Projekt wiederentdeckt</a></h1>
<dl>
<dt>Autor</dt><dd>homer77</dd>
<dt>Erstellt am</dt><dd>21.03.2015 um 20:40 Uhr</dd>
<dt>Zuletzt geändert</dt><dd>21.03.2015 um 19:43 Uhr</dd>
<dt>Erstellt am</dt><dd>24.07.2018 01:01:18</dd>
<dt>Zuletzt geändert</dt><dd>23.07.2018 23:04:17</dd>
</dl>
</header>
<h2>Work goes on</h2>
<p>and now focuses on archive.</p>
<h2>3 Jahre altes Blogprojekt wiederentdeckt</h2>
<p>Leider funktioniert einiges noch nicht, das heißt, ich muss mich durchfummeln, an welchen Stellen als nächstes zu frickeln ist :-/</p>
<footer>
<p><a href="tags/notag.html" class="tag">#notag</a> </p>
</footer>
</article>
<article>
<header>
<h1 id="1426006082"><a href="1426006082.html">This article should stay on index!</a></h1>
<dl>
<dt>Autor</dt><dd>homer77</dd>
<dt>Erstellt am</dt><dd>10.03.2015 um 17:48 Uhr</dd>
<dt>Zuletzt geändert</dt><dd>10.03.2015 um 16:49 Uhr</dd>
</dl>
</header>
<p>As this should be the only article on this machine written in march 2015 all the others should be moved to the correct folders in archive folder.</p>
<p>Let's have a look!</p>
<footer>
<p><a href="tags/archive.html" class="tag">#archive</a> <a href="tags/test.html" class="tag">#test</a> <a href="tags/current.html" class="tag">#current</a> </p>
<p></p>
</footer>
</article>
@ -69,7 +54,7 @@
<h1>Übrigens ...</h1>
<h2>Letzte Artikel</h2>
<ul>
<li><a href="1426966835.html" title="21.03.2015 um 20:40 Uhr">Sixth Article - Just to Simulate Regular Use</a></li><li><a href="1426006082.html" title="10.03.2015 um 17:48 Uhr">This article should stay on index!</a></li>
<li><a href="1532386878.html" title="24.07.2018 01:01:18">Altes Projekt wiederentdeckt</a></li>
</ul>

View File

@ -0,0 +1,96 @@
<!DOCTYPE html />
<html lang="de">
<head>
<title>Mein Blog</title>
<meta name="author" content="${BLOG_AUTHOR}" />
<meta name="generator" content="picoblogger 0.1" />
<meta charset="utf-8" />
<meta name="keywords" content="${BLOG_KEYWORDS}" />
<meta name="description" content="${BLOG_DESCRIPTION}" />
<meta name="language" content="de" />
<meta name="robots" content="index,follow" />
<!-- <link rel="stylesheet" href="css/print.css" media="print" /> -->
<link rel="stylesheet" href="../css/style.css" media="all" />
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="alternate" type="application/rss+xml"
title="RSS" href="feed.xml" />
<link rel="shortcut icon" href="images/favicon.ico" type="images/vnd.microsoft.icon" />
</head>
<body>
<header>
<h1>Mein Blog</h1><h2>Meine Worte, Meine Meinung ... </h2>
</header>
<nav>
<h1>Navigation</h1>
<ul>
<li><a href="index.html" class="home">Aktuell</a></li>
<li><a href="archive.html">Archiv</a></li>
</ul>
</nav>
<div id="flex-container">
<main class="flex-item">
<h1>Artikel mit Tag #langweilig</h1>
<article>
<header>
<h1 id="2"><a href="2.html">Das ist der zweite Artikel</a></h1>
<dl>
<dt>Autor</dt><dd>homer77</dd>
<dt>Erstellt am</dt><dd>24.02.2015 21:19:45</dd>
<dt>Zuletzt geändert</dt><dd>22.03.2015 12:18:05</dd>
</dl>
</header>
<p>Dies ist der zweite Test.
Ich schreibe verschiedene Zeilen Text und teste damit <strong>Markdown</strong></p>
<p>Ist das jetzt ein neuer <em>Absatz</em>?</p>
<p>Und wie kann ich Code-Blöcke wie <code>apt-get install</code> einfügen? Funktioniert das mit 3 oder 4 Backticks?</p>
<p><code>Gehen auch
mehrere
Code-zeilen?</code></p>
<p>Und was ist mit Listen?
- Erster Eintrag
- Zweiter Eintrag
- Erster Untereintrag
- Dritter Eintrag</p>
<footer>
<p><a href="lustig.html" class="tag">#lustig</a> <a href="langweilig.html" class="tag">#langweilig</a> <a href="blabla.html" class="tag">#blabla</a> </p>
</footer>
</article>
</main>
<aside class="flex-item">
<h1>Übrigens ...</h1>
<h2>Letzte Artikel</h2>
<ul>
<li><a href="1427628357.html" title="29.03.2015 13:25:57">Seventh Article and Last in Month</a></li><li><a href="1426966835.html" title="21.03.2015 20:40:35">Sixth Article - Just to Simulate Regular Use</a></li><li><a href="1426006082.html" title="10.03.2015 17:48:02">This article should stay on index!</a></li>
</ul>
<h2>Kontakt</h2>
<dl class="contact">
<dt>E-Mail</dt>
<dd>any@mail.address.org</dd>
<dt>Diaspora</dt>
<dd>youraccount@anypod.org</dd>
</dl>
</aside>
</div>
<footer>
<h1>Appendix</h1>
<dl>
<dt>powered with:</dt>
<dd>
<ul>
<li><a href="https://github.com/maste9/picoblogger">picoblogger</a></li>
</ul>
</dd>
</dl>
</footer>
</body>
</html>

View File

@ -0,0 +1,96 @@
<!DOCTYPE html />
<html lang="de">
<head>
<title>Mein Blog</title>
<meta name="author" content="${BLOG_AUTHOR}" />
<meta name="generator" content="picoblogger 0.1" />
<meta charset="utf-8" />
<meta name="keywords" content="${BLOG_KEYWORDS}" />
<meta name="description" content="${BLOG_DESCRIPTION}" />
<meta name="language" content="de" />
<meta name="robots" content="index,follow" />
<!-- <link rel="stylesheet" href="css/print.css" media="print" /> -->
<link rel="stylesheet" href="../css/style.css" media="all" />
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="alternate" type="application/rss+xml"
title="RSS" href="feed.xml" />
<link rel="shortcut icon" href="images/favicon.ico" type="images/vnd.microsoft.icon" />
</head>
<body>
<header>
<h1>Mein Blog</h1><h2>Meine Worte, Meine Meinung ... </h2>
</header>
<nav>
<h1>Navigation</h1>
<ul>
<li><a href="index.html" class="home">Aktuell</a></li>
<li><a href="archive.html">Archiv</a></li>
</ul>
</nav>
<div id="flex-container">
<main class="flex-item">
<h1>Artikel mit Tag #lustig</h1>
<article>
<header>
<h1 id="2"><a href="2.html">Das ist der zweite Artikel</a></h1>
<dl>
<dt>Autor</dt><dd>homer77</dd>
<dt>Erstellt am</dt><dd>24.02.2015 21:19:45</dd>
<dt>Zuletzt geändert</dt><dd>22.03.2015 12:18:05</dd>
</dl>
</header>
<p>Dies ist der zweite Test.
Ich schreibe verschiedene Zeilen Text und teste damit <strong>Markdown</strong></p>
<p>Ist das jetzt ein neuer <em>Absatz</em>?</p>
<p>Und wie kann ich Code-Blöcke wie <code>apt-get install</code> einfügen? Funktioniert das mit 3 oder 4 Backticks?</p>
<p><code>Gehen auch
mehrere
Code-zeilen?</code></p>
<p>Und was ist mit Listen?
- Erster Eintrag
- Zweiter Eintrag
- Erster Untereintrag
- Dritter Eintrag</p>
<footer>
<p><a href="<a href="lustig.html" class="tag">#lustig</a> <a href="langweilig.html" class="tag">#langweilig</a> <a href="blabla.html" class="tag">#blabla</a>.html" class="tag">#<a href="lustig.html" class="tag">#lustig</a> <a href="langweilig.html" class="tag">#langweilig</a> <a href="blabla.html" class="tag">#blabla</a></a> </p>
</footer>
</article>
</main>
<aside class="flex-item">
<h1>Übrigens ...</h1>
<h2>Letzte Artikel</h2>
<ul>
<li><a href="1427628357.html" title="29.03.2015 13:25:57">Seventh Article and Last in Month</a></li><li><a href="1426966835.html" title="21.03.2015 20:40:35">Sixth Article - Just to Simulate Regular Use</a></li><li><a href="1426006082.html" title="10.03.2015 17:48:02">This article should stay on index!</a></li>
</ul>
<h2>Kontakt</h2>
<dl class="contact">
<dt>E-Mail</dt>
<dd>any@mail.address.org</dd>
<dt>Diaspora</dt>
<dd>youraccount@anypod.org</dd>
</dl>
</aside>
</div>
<footer>
<h1>Appendix</h1>
<dl>
<dt>powered with:</dt>
<dd>
<ul>
<li><a href="https://github.com/maste9/picoblogger">picoblogger</a></li>
</ul>
</dd>
</dl>
</footer>
</body>
</html>

View File

@ -0,0 +1,86 @@
<!DOCTYPE html />
<html lang="de">
<head>
<title>Mein Blog</title>
<meta name="author" content="${BLOG_AUTHOR}" />
<meta name="generator" content="picoblogger 0.1" />
<meta charset="utf-8" />
<meta name="keywords" content="${BLOG_KEYWORDS}" />
<meta name="description" content="${BLOG_DESCRIPTION}" />
<meta name="language" content="de" />
<meta name="robots" content="index,follow" />
<!-- <link rel="stylesheet" href="css/print.css" media="print" /> -->
<link rel="stylesheet" href="../css/style.css" media="all" />
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="alternate" type="application/rss+xml"
title="RSS" href="feed.xml" />
<link rel="shortcut icon" href="images/favicon.ico" type="images/vnd.microsoft.icon" />
</head>
<body>
<header>
<h1>Mein Blog</h1><h2>Meine Worte, Meine Meinung ... </h2>
</header>
<nav>
<h1>Navigation</h1>
<ul>
<li><a href="index.html" class="home">Aktuell</a></li>
<li><a href="archive.html">Archiv</a></li>
</ul>
</nav>
<div id="flex-container">
<main class="flex-item">
<h1>Artikel mit Tag #notag</h1>
<article>
<header>
<h1 id="1426966835"><a href="1426966835.html">Sixth Article - Just to Simulate Regular Use</a></h1>
<dl>
<dt>Autor</dt><dd>homer77</dd>
<dt>Erstellt am</dt><dd>21.03.2015 20:40:35</dd>
<dt>Zuletzt geändert</dt><dd>22.03.2015 12:16:57</dd>
</dl>
</header>
<h2>Work goes on</h2>
<p>and now focuses on archive.</p>
<footer>
<p><a href="notag.html" class="tag">#notag</a> </p>
</footer>
</article>
</main>
<aside class="flex-item">
<h1>Übrigens ...</h1>
<h2>Letzte Artikel</h2>
<ul>
<li><a href="1427628357.html" title="29.03.2015 13:25:57">Seventh Article and Last in Month</a></li><li><a href="1426966835.html" title="21.03.2015 20:40:35">Sixth Article - Just to Simulate Regular Use</a></li><li><a href="1426006082.html" title="10.03.2015 17:48:02">This article should stay on index!</a></li>
</ul>
<h2>Kontakt</h2>
<dl class="contact">
<dt>E-Mail</dt>
<dd>any@mail.address.org</dd>
<dt>Diaspora</dt>
<dd>youraccount@anypod.org</dd>
</dl>
</aside>
</div>
<footer>
<h1>Appendix</h1>
<dl>
<dt>powered with:</dt>
<dd>
<ul>
<li><a href="https://github.com/maste9/picoblogger">picoblogger</a></li>
</ul>
</dd>
</dl>
</footer>
</body>
</html>

View File

@ -0,0 +1,101 @@
<!DOCTYPE html />
<html lang="de">
<head>
<title>Mein Blog</title>
<meta name="author" content="${BLOG_AUTHOR}" />
<meta name="generator" content="picoblogger 0.1" />
<meta charset="utf-8" />
<meta name="keywords" content="${BLOG_KEYWORDS}" />
<meta name="description" content="${BLOG_DESCRIPTION}" />
<meta name="language" content="de" />
<meta name="robots" content="index,follow" />
<!-- <link rel="stylesheet" href="css/print.css" media="print" /> -->
<link rel="stylesheet" href="../css/style.css" media="all" />
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="alternate" type="application/rss+xml"
title="RSS" href="feed.xml" />
<link rel="shortcut icon" href="images/favicon.ico" type="images/vnd.microsoft.icon" />
</head>
<body>
<header>
<h1>Mein Blog</h1><h2>Meine Worte, Meine Meinung ... </h2>
</header>
<nav>
<h1>Navigation</h1>
<ul>
<li><a href="index.html" class="home">Aktuell</a></li>
<li><a href="archive.html">Archiv</a></li>
</ul>
</nav>
<div id="flex-container">
<main class="flex-item">
<h1>Artikel mit Tag #picoblogger</h1>
<article>
<header>
<h1 id="1427628357"><a href="1427628357.html">Seventh Article and Last in Month</a></h1>
<dl>
<dt>Autor</dt><dd>homer77</dd>
<dt>Erstellt am</dt><dd>29.03.2015 13:25:57</dd>
<dt>Zuletzt geändert</dt><dd>29.03.2015 11:39:32</dd>
</dl>
</header>
<p>This is the last article in <a href="archive.html#20153">March 2015</a>.</p>
<p>Maybe it was easier to build a blog software with django I guess ...</p>
<footer>
<p><a href="picoblogger.html" class="tag">#picoblogger</a> <a href="test.html" class="tag">#test</a> </p>
</footer>
</article>
<article>
<header>
<h1 id="1"><a href="1.html">Dies ist ein Test</a></h1>
<dl>
<dt>Autor</dt><dd>homer77</dd>
<dt>Erstellt am</dt><dd>15.02.2015 23:16:34</dd>
<dt>Zuletzt geändert</dt><dd>22.03.2015 12:16:28</dd>
</dl>
</header>
<h1>Type your article <em>right here</em>.</h1>
<p>You may use <em>Markdown</em> to format.</p>
<footer>
<p><a href="test.html" class="tag">#test</a> <a href="picoblogger.html" class="tag">#picoblogger</a> <a href="coden.html" class="tag">#coden</a> </p>
</footer>
</article>
</main>
<aside class="flex-item">
<h1>Übrigens ...</h1>
<h2>Letzte Artikel</h2>
<ul>
<li><a href="1427628357.html" title="29.03.2015 13:25:57">Seventh Article and Last in Month</a></li><li><a href="1426966835.html" title="21.03.2015 20:40:35">Sixth Article - Just to Simulate Regular Use</a></li><li><a href="1426006082.html" title="10.03.2015 17:48:02">This article should stay on index!</a></li>
</ul>
<h2>Kontakt</h2>
<dl class="contact">
<dt>E-Mail</dt>
<dd>any@mail.address.org</dd>
<dt>Diaspora</dt>
<dd>youraccount@anypod.org</dd>
</dl>
</aside>
</div>
<footer>
<h1>Appendix</h1>
<dl>
<dt>powered with:</dt>
<dd>
<ul>
<li><a href="https://github.com/maste9/picoblogger">picoblogger</a></li>
</ul>
</dd>
</dl>
</footer>
</body>
</html>

View File

@ -0,0 +1,132 @@
<!DOCTYPE html />
<html lang="de">
<head>
<title>Mein Blog</title>
<meta name="author" content="${BLOG_AUTHOR}" />
<meta name="generator" content="picoblogger 0.1" />
<meta charset="utf-8" />
<meta name="keywords" content="${BLOG_KEYWORDS}" />
<meta name="description" content="${BLOG_DESCRIPTION}" />
<meta name="language" content="de" />
<meta name="robots" content="index,follow" />
<!-- <link rel="stylesheet" href="css/print.css" media="print" /> -->
<link rel="stylesheet" href="../css/style.css" media="all" />
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="alternate" type="application/rss+xml"
title="RSS" href="feed.xml" />
<link rel="shortcut icon" href="images/favicon.ico" type="images/vnd.microsoft.icon" />
</head>
<body>
<header>
<h1>Mein Blog</h1><h2>Meine Worte, Meine Meinung ... </h2>
</header>
<nav>
<h1>Navigation</h1>
<ul>
<li><a href="index.html" class="home">Aktuell</a></li>
<li><a href="archive.html">Archiv</a></li>
</ul>
</nav>
<div id="flex-container">
<main class="flex-item">
<h1>Artikel mit Tag #test</h1>
<article>
<header>
<h1 id="1427628357"><a href="1427628357.html">Seventh Article and Last in Month</a></h1>
<dl>
<dt>Autor</dt><dd>homer77</dd>
<dt>Erstellt am</dt><dd>29.03.2015 13:25:57</dd>
<dt>Zuletzt geändert</dt><dd>29.03.2015 11:39:32</dd>
</dl>
</header>
<p>This is the last article in <a href="archive.html#20153">March 2015</a>.</p>
<p>Maybe it was easier to build a blog software with django I guess ...</p>
<footer>
<p><a href="<a href="picoblogger.html" class="tag">#picoblogger</a> <a href="test.html" class="tag">#test</a>.html" class="tag">#<a href="picoblogger.html" class="tag">#picoblogger</a> <a href="test.html" class="tag">#test</a></a> </p>
</footer>
</article>
<article>
<header>
<h1 id="1426006082"><a href="1426006082.html">This article should stay on index!</a></h1>
<dl>
<dt>Autor</dt><dd>homer77</dd>
<dt>Erstellt am</dt><dd>10.03.2015 17:48:02</dd>
<dt>Zuletzt geändert</dt><dd>22.03.2015 12:16:44</dd>
</dl>
</header>
<p>As this should be the only article on this machine written in march 2015 all the others should be moved to the correct folders in archive folder.</p>
<p>Let's have a look!</p>
<footer>
<p><a href="<a href="archive.html" class="tag">#archive</a> <a href="test.html" class="tag">#test</a> <a href="current.html" class="tag">#current</a>.html" class="tag">#<a href="archive.html" class="tag">#archive</a> <a href="test.html" class="tag">#test</a> <a href="current.html" class="tag">#current</a></a> </p>
</footer>
</article>
<article>
<header>
<h1 id="1"><a href="1.html">Dies ist ein Test</a></h1>
<dl>
<dt>Autor</dt><dd>homer77</dd>
<dt>Erstellt am</dt><dd>15.02.2015 23:16:34</dd>
<dt>Zuletzt geändert</dt><dd>22.03.2015 12:16:28</dd>
</dl>
</header>
<h1>Type your article <em>right here</em>.</h1>
<p>You may use <em>Markdown</em> to format.</p>
<footer>
<p><a href="<a href="test.html" class="tag">#test</a> <a href="picoblogger.html" class="tag">#picoblogger</a> <a href="coden.html" class="tag">#coden</a>.html" class="tag">#<a href="test.html" class="tag">#test</a> <a href="picoblogger.html" class="tag">#picoblogger</a> <a href="coden.html" class="tag">#coden</a></a> </p>
</footer>
</article>
<article>
<header>
<h1 id="1426004699"><a href="1426004699.html">May the Fourth Be With You!!</a></h1>
<dl>
<dt>Autor</dt><dd>homer77</dd>
<dt>Erstellt am</dt><dd>10.01.2015 17:24:59</dd>
<dt>Zuletzt geändert</dt><dd>22.03.2015 12:18:27</dd>
</dl>
</header>
<p>Now I test the archive function I coded.</p>
<p>I want all article older than the current month to be put into archive which is structured by folders regarding year and month of article creation defined in article.</p>
<p>It does not refer to the filesystem's creation date of the file, if you know what I mean ...</p>
<footer>
<p><a href="<a href="archive.html" class="tag">#archive</a> <a href="test.html" class="tag">#test</a>.html" class="tag">#<a href="archive.html" class="tag">#archive</a> <a href="test.html" class="tag">#test</a></a> </p>
</footer>
</article>
</main>
<aside class="flex-item">
<h1>Übrigens ...</h1>
<h2>Letzte Artikel</h2>
<ul>
<li><a href="1427628357.html" title="29.03.2015 13:25:57">Seventh Article and Last in Month</a></li><li><a href="1426966835.html" title="21.03.2015 20:40:35">Sixth Article - Just to Simulate Regular Use</a></li><li><a href="1426006082.html" title="10.03.2015 17:48:02">This article should stay on index!</a></li>
</ul>
<h2>Kontakt</h2>
<dl class="contact">
<dt>E-Mail</dt>
<dd>any@mail.address.org</dd>
<dt>Diaspora</dt>
<dd>youraccount@anypod.org</dd>
</dl>
</aside>
</div>
<footer>
<h1>Appendix</h1>
<dl>
<dt>powered with:</dt>
<dd>
<ul>
<li><a href="https://github.com/maste9/picoblogger">picoblogger</a></li>
</ul>
</dd>
</dl>
</footer>
</body>
</html>

View File

@ -18,6 +18,7 @@ NAV_TITLE = Navigation
CURRENT = Aktuell
ARCHIVE = Archiv
ARTICLE = Artikel
TAG = Artikel mit Tag
BLOG_CHARSET = utf-8
FOOTER_TITLE = Appendix

View File

@ -3,8 +3,8 @@
BLOG_TITLE = Mein Blog
BLOG_SUBTITLE = Meine Worte, Meine Meinung ... # Das ist ein Kommentar zum Testen
BLOG_LANG = de
BLOG_DATE_FORMAT = %d.%m.%Y
BLOG_TIME_FORMAT = um %H:%M Uhr
BLOG_DATE_FORMAT = %x
BLOG_TIME_FORMAT = %X
BLOG_CURRENT_ARTICLES = 2
CONTACT_MAIL_ADDRESS = any@mail.address.org

View File

@ -70,7 +70,7 @@ timestamp = time.localtime()
# set path to blog
try:
blog_dir = os.path.abspath(os.path.expanduser(vars(args)['blog_dir']))
if not os.path.isdir(blog_dir):
if not os.path.isdir(blog_dir) and vars(args)['action'] != 'add':
print("The path you offered is not a directory!")
exit
except:
@ -78,28 +78,29 @@ except:
(pbconf,blogconf,l10nconf) = (False,False,False)
# path to blog's templates
tplDir = os.path.join(blog_dir,"templates")
tplIndex = os.path.join(tplDir,"index.htm")
tplIndex = Template(open(tplIndex,'r').read())
if vars(args)['target'] != 'blog' and vars(args)['action'] != 'add':
# path to blog's templates
tplDir = os.path.join(blog_dir,"templates")
tplIndex = os.path.join(tplDir,"index.htm")
tplIndex = Template(open(tplIndex,'r').read())
# path to drafts
draftDir = os.path.join(blog_dir,"drafts")
# path to drafts
draftDir = os.path.join(blog_dir,"drafts")
# path to articles
articleDir = os.path.join(blog_dir,"articles")
# path to articles
articleDir = os.path.join(blog_dir,"articles")
# path to archive
archiveDir = os.path.join(blog_dir,"archive")
# path to archive
archiveDir = os.path.join(blog_dir,"archive")
# path to html files
htmlDir = os.path.join(blog_dir,"html")
htmlIndex = os.path.join(htmlDir,"index.html")
htmlArchive = os.path.join(htmlDir,"archive.html")
# path to html files
htmlDir = os.path.join(blog_dir,"html")
htmlIndex = os.path.join(htmlDir,"index.html")
htmlArchive = os.path.join(htmlDir,"archive.html")
# paths to configs
pbconfpath = os.path.join("/","etc","picoblogger","pb.conf") # global config
blogconfpath = os.path.join(blog_dir,"pb.conf") # local config
# paths to configs
pbconfpath = os.path.join("/","etc","picoblogger","pb.conf") # global config
blogconfpath = os.path.join(blog_dir,"pb.conf") # local config
@ -183,6 +184,7 @@ def parse_article(path):
def tags_to_html(tags):
tag_list = tags.split(",")
html_tags = ""
sTAG = '<a href="${TAG}.html" class="tag">#${TAG}</a> '
@ -197,6 +199,7 @@ def tags_to_html(tags):
def article_to_html(article_dict):
sARTICLE = open(os.path.join(tplDir,"article.htm")).read()
sARTICLE = Template(sARTICLE).safe_substitute(l10nconf)
@ -222,18 +225,21 @@ def article_to_html(article_dict):
return sARTICLE
def join_articles(list_of_articles):
def join_articles(listOfArticles):
joined_html = ""
articles_dict = {}
for article in list_of_articles:
for article in listOfArticles:
# Bring articles into chronological order
t = time.mktime(time.strptime(article['DATE'] + " " + article['TIME'], dateFormat + " " + timeFormat))
articles_dict[str(t)] = article
dates_of_creation = [float(value) for value in articles_dict.keys()]
dates_of_creation.sort(key=None,reverse=True)
for date in dates_of_creation:
joined_html += article_to_html(articles_dict[str(time.strftime(str(date)))])
return joined_html
@ -373,7 +379,7 @@ def list_articles_by_tag():
if tag not in tags_dict.keys():
tags_dict[tag] = list()
tags_dict[tag].append(article)
months = list_of_months()
for year in months:
for month in months[year]:
@ -382,15 +388,19 @@ def list_articles_by_tag():
articles = [item for item in os.listdir(monthFolder) if os.path.splitext(item)[1] == ".txt"]
for name in articles:
article = (parse_article(os.path.join(monthFolder, name)))
for tag in article['TAGS'].split(","):
tag = tag.strip()
if len(tag) < 2:
continue
if tag not in tags_dict.keys():
tags_dict[tag] = list()
tags_dict[tag].append(article)
print(tags_dict[tag])
# for tag in tags_dict:
# for a in tags_dict[tag]:
# print(a)
return tags_dict
@ -414,7 +424,7 @@ def months_to_html(archived_months):
html += '<li><a href="#' + str(year) + '">' + str(year) + "</a></li>"
html += "<ul>"
for month in archived_months[year]:
html += '<li><a href="#' + str(month) + '">' + time.strftime("%B",time.strptime(month,"%m")) + "</a></li>"
html += '<li><a href="#' + str(year) + str(month) + '">' + time.strftime("%B",time.strptime(month,"%m")) + "</a></li>"
html += "</ul>"
html += "</ul>"
return html
@ -426,7 +436,7 @@ def list_archive(archived_months):
for year in archived_months:
html += '<h2 id="'+str(year)+'">'+str(year)+"</h2>"
for month in archived_months[year]:
html += '<h3 id="' + str(month) + '">' + time.strftime("%B",time.strptime(month,"%m")) + "</h3>"
html += '<h3 id="' + str(year) + str(month) + '">' + time.strftime("%B",time.strptime(month,"%m")) + "</h3>"
html += list_articles_to_html(os.path.join(archiveDir,str(year),str(month)))
html += ""
return html
@ -559,8 +569,7 @@ def build_tag_cloud():
def build_tags():
dic = list_articles_by_tag()
for tag in dic.keys():
print(dic[tag])
for tag in dic:
build_tag(tag,dic[tag])
@ -620,7 +629,16 @@ if vars(args)['target'] == 'blog':
## add a new blog at -d blog-directory
if vars(args)['action'] == 'add':
pass
try:
if blog_dir:
os.mkdirs(blog_dir)
else:
os.mkdirs("~/public_html/blog")
except:
print("Could not make directory at defined path.")
raise
# draft functions