WWW::Mixi::Scraper::Plugin::ViewBBS - WWW::Mixi::Scraper::Plugin::ViewBBS documentation


WWW-Mixi-Scraper documentation  | view source Contained in the WWW-Mixi-Scraper distribution.

Index


NAME

Top

WWW::Mixi::Scraper::Plugin::ViewBBS

DESCRIPTION

Top

This is almost equivalent to WWW::Mixi->parse_view_bbs().

METHOD

Top

scrape

returns a hash reference such as

  {
    subject => 'title of the topic',
    link => 'http://mixi.jp/view_bbs.pl?id=xxxx',
    time => 'yyyy-mm-dd hh:mm',
    name => 'originator of the topic',
    name_link => 'http://mixi.jp/show_friend.pl?id=xxxx',
    description => 'topic',
    images => [
      {
        link => 'show_picture.pl?img_src=http://img1.mixi.jp/photo/xx/xx.jpg',
        thumb_link => 'http://img1.mixi.jp/photo/xx/xx.jpg',
      },
    ],
    comments => [
      {
        subject   => 1,
        name      => 'commenter',
        name_link => 'http://mixi.jp/show_friend.pl?id=xxxx',
        link      => 'http://mixi.jp/view_bbs.pl?id=xxxx#1',
        time      => 'yyyy-mm-dd hh:mm',
        description => 'comment body',
      },
    ]
  }

AUTHOR

Top

Kenichi Ishigaki, <ishigaki at cpan.org>

COPYRIGHT AND LICENSE

Top


WWW-Mixi-Scraper documentation  | view source Contained in the WWW-Mixi-Scraper distribution.