Catalyst::Plugin::Text::Xatena - Catalyst extension for Text::Xatena (Hatena Format)
my ( $shift, $c ) = @_; $c->text_hatena->foramt(<<'__EOF__'); * You can write Hatena Formated Text - ul + ol |*foo|*bar|*baz| |test|test|test| |test|test|test| __EOF__ }
see http://hatenadiary.g.hatena.ne.jp/keyword/%E3%81%AF%E3%81%A6%E3%81%AA%E8%A8%98%E6%B3%95%E4%B8%80%E8%A6%A7.
Persistent Text::Xatena object (Hatena syntax formatter) for Catalyst.
Before using this plugin, please consider your MVC strategy. In some case, you shoud impliment such formatter in a model not in a controller.
None by default.
Please see Text::Xatena, http://perl-users.jp/articles/advent-calendar/2010/meta_adcal/5.
Very thanks for http://www.hatena.ne.jp/cho45/ who is writer of Text::Xatena.
Kazuki MATSUDA, <matsuda.kazuki@facebook.com>
Copyright (C) 2012 by Kazuki MATSUDA
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.16.1 or, at your option, any later version of Perl 5 you may have available.
2 POD Errors
The following errors were encountered while parsing the POD:
alternative text 'http://hatenadiary.g.hatena.ne.jp/keyword/%E3%81%AF%E3%81%A6%E3%81%AA%E8%A8%98%E6%B3%95%E4%B8%80%E8%A6%A7' contains non-escaped | or /
alternative text 'http://perl-users.jp/articles/advent-calendar/2010/meta_adcal/5' contains non-escaped | or /
To install Catalyst::Plugin::Text::Xatena, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Plugin::Text::Xatena
CPAN shell
perl -MCPAN -e shell install Catalyst::Plugin::Text::Xatena
For more information on module installation, please visit the detailed CPAN module installation guide.