NAME

Catalyst::Plugin::Text::Xatena - Catalyst extension for Text::Xatena (Hatena Format)

SYNOPSIS

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.

DESCRIPTION

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.

EXPORT

None by default.

SEE ALSO

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.

AUTHOR

Kazuki MATSUDA, <matsuda.kazuki@facebook.com>

COPYRIGHT AND LICENSE

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:

Around line 43:

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 /

Around line 60:

alternative text 'http://perl-users.jp/articles/advent-calendar/2010/meta_adcal/5' contains non-escaped | or /