| WWW-Blog-Metadata-Icon documentation | view source | Contained in the WWW-Blog-Metadata-Icon distribution. |
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 or depiction element.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.
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.
| WWW-Blog-Metadata-Icon documentation | view source | Contained in the WWW-Blog-Metadata-Icon distribution. |