Bryar::DataSource::FlatFile - Blog entries from flat files, a la blosxom
$self->all_documents(...); $self->search(...); $self->add_comment(...);
blosxom, this data source pulls blog entries out of flat files in the file system.
Returns all documents making up the blog.
Return all documented except recent() ones.
Returns a glob pattern which matches blog posts. This defaults to
Takes a Bryar ID, converts it to a file name.
$self->search($bryar, $config, %params)
A more advanced search for specific documents
Turns a filename into a
Bryar::Document, by parsing the file blosxom-style.
Class->add_comment($bryar, document => $doc, author => $author, url => $url, content => $content );
Records the given comment details.
This module is free software, and may be distributed under the same terms as Perl itself.
Copyright (C) 2003, Simon Cozens
some parts Copyright 2007 David Cantrell