Chronicle::Plugin::Textile - Support textile-formatted input.
The module allows you to write your input blog-entries in the Textile format.
format: textile header to your entries and they will be automatically converted as part of the import process.
NOTE If you enable/disable this plugin you will need to regenerate your SQLite database, because the conversion happens at import-time.
Now follows documentation on the available methods.
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.
The method is designed to return an updated blog-post structure, after performing any massaging required. If the method returns undef then the post is not inserted.
If the new entry has a
format: header which contains the value
textile we invoke the Text::Textile module to perform the HTML conversion.
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".
Steve Kemp <firstname.lastname@example.org>