NAME
WWW::Shorten::Digg - Perl interface to digg.com
SYNOPSIS
use WWW::Shorten::Digg;
use WWW::Shorten 'Digg';
$short_url = makeashorterlink($long_url);
$long_url = makealongerlink($short_url);
DESCRIPTION
A Perl interface to the web site digg.com. Digg maintains a database of long URLs, each of which has a unique identifier.
Functions
makeashorterlink
The function makeashorterlink
will call the Digg web site passing it your long URL and will return the shorter Digg version.
makealongerlink
The function makealongerlink
does the reverse. makealongerlink
will accept as an argument either the full Digg URL or just the Digg identifier.
If anything goes wrong, then either function will return undef
.
EXPORT
makeashorterlink, makealongerlink
SUPPORT, LICENCE, THANKS and SUCH
See the main WWW::Shorten docs.
AUTHOR
Martin Broerse <broerse@martinic.com>
SEE ALSO
WWW::Shorten, perl, http://apidoc.digg.com/ShortURLs
COPYRIGHT
© Martinic 2009. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
For more information on Martinic visit http://www.martinic.com/.