Apache-Blog

 view release on metacpan or  search on metacpan

Blog.pm  view on Meta::CPAN


It is inspired by the service offered at http://www.diaryland.com/

It uses HTML::Template, so it is easy to design new layouts. There are
some samples included with the distribution.

All diary entries are stored as plain text files, there's no database
stuff going on here. This is to make it simple to add entries - any
editor can be used to write entries.

To use, decide on a directory which is to hold your weblog entries,
and set PerlHandler like in the example. The alias isn't nessasary,
but I like it that way.

Also in that directory need to be two template files, one called
entry-template.html, and one called older.html.

Entries take the format:

  Short Title
  Thu Jun 20 17:24:52 BST 2002

README  view on Meta::CPAN

Apache::Blog - a simple handler for weblogs

  All files in this package are Copyright (c) 2002, Daniel Gardner
  All rights reserved.  This program is free software; you can redistribute
    it and/or modify it under the same terms as Perl itself.

This is a simple weblog handler for mod_perl. Setting it up is as simple
as installing the module, adding a couple of lines to httpd.conf, and
deciding on how you want the thing to look.

There's a couple of default templates included in the distribution,
but creating new ones is easy.

All the files are plain text; nothing complicated involving databases
and whatnot. Just fire up your editor of choice and bash away.

I'm using it on my site, exactly as it is here, and it's been working
great. However, I don't know anyone else who's using it so no promises on
what'll happen. But it only takes about a minute to install and set up,



( run in 1.473 second using v1.01-cache-2.11-cpan-de7293f3b23 )