NAME

WWW::Mixi::Scraper::Plugin::ViewDiary

DESCRIPTION

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

METHOD

scrape

returns a hash reference such as

{
  subject => 'title of the entry',
  time => 'yyyy-mm-dd hh:mm',
  description => 'entry body',
  images => [
    {
      link => 'show_diary_picture.pl?img_src=http://img1.mixi.jp/photo/xx/xx.jpg',
      thumb_link => 'http://img1.mixi.jp/photo/xx/xx.jpg',
    },
  ],
  comments => [
    {
      name => 'commenter',
      link => 'http://mixi.jp/show_friend.pl?id=xxxx',
      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.