The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Net::Douban::Entry

VERSION

version 1.06

SYNOPSIS

        use Net::Douban::Atom;
        my $feed = Net::Douban::Atom->new(\$xml);
        my @entries = $feed->entries;
        $entry->get('title');
        $entry->content;
        $entry->attributes;
        $entry->tags;

DESCRIPTION

This is the parser of douban.com xml entry based on XML::Atom::Entry and Moose

Many functions not listed here are documented in XML::Atom::Entry

METHODS

get

see Net::Douban::Atom

AUTOLOAD

see Net::Douban::Atom

content
        $entry->content();

返回content内容

attributes
        $entry->attributes;

返回包含所有attribute的hash引用

tags
        $entry->tags;

返回包括所有tag的数组引用

rating
        $entry->rating;

返回一个rating的hash引用

SEE ALSO

Net::Douban Net::Douban::Atom Moose XML::Atom http://douban.com/service/apidoc

AUTHOR

woosley.xu<redicaps@gmail.com>

COPYRIGHT

Copyright (C) 2010 by Woosley.Xu

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.