Net::Douban::Entry - Net::Douban::Entry documentation


Net-Douban documentation  | view source Contained in the Net-Douban distribution.

Index


NAME

Top

Net::Douban::Entry

VERSION

Top

version 1.07

SYNOPSIS

Top

	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

Top

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

Top

get

see Net::Douban::Atom

content
	$entry->content();

返回content内容

attributes
	$entry->attributes;

返回包含所有attribute的hash引用

tags
	$entry->tags;

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

rating
	$entry->rating;

返回一个rating的hash引用

SEE ALSO

Top

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

AUTHOR

Top

woosley.xu<redicaps@gmail.com>

COPYRIGHT

Top


Net-Douban documentation  | view source Contained in the Net-Douban distribution.