The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::Social::Mapper::SiteMap - information about know services around the internet

SYNOPSIS

    my $sitemap = Net::Social::Mapper::SiteMap;
    my $info    = $sitemap->profile($user, $service);
    my ($user, $service) = $sitemap->url_to_service($url);
    

DESCRIPTION

This is designed to be overriden and replaced with a more scalable database if necessary.

Alternatively the information could come from Google's sgnodemapper

    http://code.google.com/p/google-sgnodemapper/

METHODS

new

Instantiate a new sitemap.

profile <service> [user]

Returns a hash ref with all the known information about service.

If user is passed in then any urls will be updated to include that information;

Returns undef if the service isn't known.

url_to_service <url>

Take a url and work out what username and service it is