Just a Perl script I wrote to make my blog.
My Blog | Download PeltonBlog! | Documentation

Quick Start

After you download and untar PeltonBlog, you'll find the following files and directories:

Now that you have an idea of what's what, scribble some stuff in blog.xml, run xmlcheck.pl, run createblog.pl, and then check out your shiny, new blog! If something doesn't look right, it either means you made a mistake in blog.xml, or you need to make a change to createblog.pl. It's open source. Edit it to your heart's content. :-)

The Blog Structure

It's really simple. It's just 3 'levels' so to speak.

  1. The home page has links to article category pages and the individual articles by year.
  2. The category pages have all the articles that are marked with the respective category, and article titles link to the individual articles.
  3. The individual articles pages are... uh... individual articles. Article bodies are made up of whatever HTML you want to use.

Blog.xml Syntax

Ah, simple, pseudo-XML. You're so easy.
<title>Collective Soul Rocks</title>

<date>2014-03-22</date>
<!-- yyyy-mm-dd -->

<category>music</category>
<!-- amusement anthropology beer computing cycling exercise family
finance food music self-help -->

<body>
<a href='http://www.collectivesoul.com/'>Collective Soul</a> speaks to my soul.
Collectively.  Or something.  :-p
</body>
<!-- #################### BIG VISIBLE XML COMMENT WHEEEEE!!! ####### -->

Here's a few things to remember:

Copyright © 2001 - 2014, Korey Pelton -- Static HTML blog generated with PeltonBlog