Chronicle::Plugin::InPlacePosts - maintains the input directory structure.
This plugin is designed to allow blog entries remain in the same directory structure as the input folder by adding the config entry_inplace.
entry_inplace
The default behaviour of chronicle is to flatten any posts present in the input folder to the http doc root, however this plugin sets to replicate the input folder stucture.
input/ 2015/ June/ 15/ A_post.post
output/ 2015/ June/ 15/ A_post.html
See also Chronicle::Plugin::Archived.
Chronicle::Plugin::Archived
Now follows documentation on the available methods.
The on_insert method is automatically invoked when a new blog post must be inserted into the SQLite database, that might be because a post is new, or because it has been updated.
on_insert
The method is designed to return an updated blog meta-data, after performing any massaging required.
If within the config has entry_inplace = 1 the posts link meta-data is changed to reflect the users intent to retain the posts input location.
entry_inplace = 1
This module is free software; you can redistribute it and/or modify it under the terms of either:
a) the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version, or
b) the Perl "Artistic License".
Stuart Skelton
To install App::Chronicle, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Chronicle
CPAN shell
perl -MCPAN -e shell install App::Chronicle
For more information on module installation, please visit the detailed CPAN module installation guide.