NAME
App::Followme::CreateNews - Create an index with the more recent files
SYNOPSIS
use App::Followme::CreateNews;
my $indexer = App::Followme::CreateNews->new($configuration);
$indexer->run($directory);
DESCRIPTION
This package creates an index for files in the current directory that contains the text of the most recently modified files together with links to the files. It can be used to create a basic weblog.
CONFIGURATION
The following fields in the configuration file are used:
- news_index_length
-
The number of pages to include in the index.
- news_template_file
-
The news template creates the index in the base directory. The default value is 'create_news.htm'.
- index_template_file
-
The index template creates index files in each of the subdirectories. The default value is 'create_news_index.htm'.
- data_pkg
-
The class used to extract data from each of the news files. The default value is 'App::Followme::WebData'.
LICENSE
Copyright (C) Bernie Simon.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR
Bernie Simon <bernie.simon@gmail.com>