WWW::Mixi::OO::Util::EntryParserMixin - WWW::Mixi::OO's Entry Parser Mixin
package WWW::Mixi:OO::FooPage; # use base's order is important! use base qw(WWW::Mixi::OO::Page); # or your super class use base qw(WWW::Mixi::OO::Util::EntryParserMixin); # and use... my $this->parse_entry($entry_text);
entry parser mixin.
my @items = $util->parse_image_thumbnail('<table>...</table>');
parse image thumbnail html parts, and return array of image's information hashrefs.
image's information items:
URI of image.
subject of image(img/alt).
URI of image thumbnail.
my $data = $util->parse_entry('....');
parse entry text, and return hashref. items:
body text.
arrayref of images (see parse_image_thumbnail).
WWW::Mixi::OO, WWW::Mixi::OO::Util
Topia <topia@clovery.jp>
Copyright (C) 2005 by Topia.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.
To install WWW::Mixi::OO, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Mixi::OO
CPAN shell
perl -MCPAN -e shell install WWW::Mixi::OO
For more information on module installation, please visit the detailed CPAN module installation guide.