NAME

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

DESCRIPTION

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

METHOD

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

Kenichi Ishigaki, <ishigaki at cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2007 by Kenichi Ishigaki.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.