Hi there!
I have just made the first stab at Apache::AxKit::Provider::File::Formatter,
and now give you version 0.01! :-)
Here's the scenario: You have some files with some funny, simple syntax, like
for example Textile, that works on stuff like *asterisks* and _underscores_
to format text. You'd like to convert that to HTML and you'd like to serve it
with minimum effort using AxKit.
Then Apache::AxKit::Provider::File::Formatter is for you.
The formatting itself is done by Formatter modules. There exists an API for
those, not very well documented, however. They are independent of AxKit, and
used in other projects as well. Right now, there exists two such modules,
Formatter::HTML::Textile and Formatter::HTML::Preformatted.
The idea is that it should be simple to configure AxKit to use any of these
and generate content by using them. Now it is. I think, it is a single
variable to be set... :-)
If there is a syntax you'd like to use, what you need to do is write a
Formatter module. It is quite straightforward, allthough documentation is a
bit lacking. The main documentation is in the Formatter::HTML::Preformatted
module.
Enjoy!
Onto the formalities, the uploaded file
Apache-AxKit-Provider-File-Formatter-0.01.tar.gz
has entered CPAN as
file:
$CPAN/authors/id/K/KJ/KJETILK/Apache-AxKit-Provider-File-Formatter-0.01.tar.
gz size: 3458 bytes
md5: 8cacb1257eb33ed2e4aa5761d623a9b4
It will spread to your local CPAN mirror in the next few hours, hopefully.
Cheers,
Kjetil
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]