This is the code for a simple XML blog designed to run with Cocoon. You could also use it with Saxon and create static HTML that way. You will need an XML editor: I use Emacs with psgml-mode, but any XML editor will do.
This is all covered by the GNU GPL so you are free to use it however you wish, provided you don't a) pretend you wrote it or b) try to stop other people using it.
- blog.xml
- The file you write your blog in. Edit this to add an entry. See the stylesheet code for the things it does with the markup you use.
- id.xml
- File containing your name, alias, and email address. A future version will probably expand on this.
- links.xml
- File containing the groups of links or menus you want on the left-hand panel.
- penguins.xsl
- The XSLT stylesheet that turns it into HTML.
- rss.xsl
- The XSLT stylesheet that turns it into an RSS 2.0 feed.
- sitemap.xmap
- The Cocoon sub-sitemap that makes it all work.
- smiley.gif
- A smiley image
- storedate
- Bourne shell script to record date/time data hourly (to avoid the overhead of generating date and time every hit.
- winter_theme_cutdown_icon.jpg
- The PenguinBlog logo (cut down from the KDE "Winter" theme)
- xblog.css
- A Cascading StyleSheet file for formatting the HTML output
- xblog.dtd
- The XML Document Type Description which makes the XML files above work with an XML editor. Don't even think of editing this stuff with Notepad or a non-XML editor.
PenguinBlog is unsupported, but as I use it for my own blog I'm motivated to keep it running. Feel free to mail me with suggestions.
PenguinBlog is copyright © 2003, 2004 by Silmaril Consultants.