WWW::Blog::Metadata::Icon - Extract icon (FOAF photo, favicon) from weblog
use WWW::Blog::Metadata; my $meta = WWW::Blog::Metadata->extract_from_uri($uri) or die WWW::Blog::Metadata->errstr; print $meta->icon_uri;
WWW::Blog::Metadata::Icon is a plugin for WWW::Blog::Metadata that attempts to extract photos/icons for a weblog author. It looks in three places:
img
depiction
WWW::Blog::Metadata::Icon adds 3 methods to the metadata object.
The URI for a shortcut/favicon from either source #2 or #3 above.
The URI for an icon/photo from the FOAF file (#1 above).
Equivalent to $meta->foaf_icon_uri || $meta->favicon_uri.
$meta->foaf_icon_uri || $meta->favicon_uri
WWW::Blog::Metadata::Icon is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
Except where otherwise noted, WWW::Blog::Metadata::Icon is Copyright 2005 Benjamin Trott, ben+cpan@stupidfool.org. All rights reserved.
To install WWW::Blog::Metadata::Icon, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Blog::Metadata::Icon
CPAN shell
perl -MCPAN -e shell install WWW::Blog::Metadata::Icon
For more information on module installation, please visit the detailed CPAN module installation guide.