GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  WWW::SHORTEN (3)

.ds Aq ’

NAME

WWW::Shorten - Interface to URL shortening sites.

CONTENTS

SYNOPSIS



  #!/usr/bin/env perl
  use strict;
  use warnings;

  use WWW::Shorten TinyURL; # Recommended
  # use WWW::Shorten Linkz; # or one of the others
  # use WWW::Shorten Shorl;

  # Individual modules have have their own syntactic variations.
  # See the documentation for the particular module you intend to use for details

  my $url = https://metacpan.org/pod/WWW::Shorten;
  my $short_url = makeashorterlink($url);
  my $long_url  = makealongerlink($short_url);

  # - OR -
  # If you dont like the long function names:

  use WWW::Shorten TinyURL, :short;
  my $short_url = short_link($url);
  my $long_url = long_link( $short_url );



DESCRIPTION

A Perl interface to various services that shorten URLs. These sites maintain databases of long URLs, each of which has a unique identifier.

# DEPRECATION NOTICE

The following shorten services have been deprecated as the endpoints no longer exist or function:
o WWW::Shorten::LinkToolbot
o WWW::Shorten::Linkz
o WWW::Shorten::MakeAShorterLink
o WWW::Shorten::Metamark
o WWW::Shorten::TinyClick
o WWW::Shorten::Tinylink
o WWW::Shorten::Qurl
o WWW::Shorten::Qwer
When version 3.100 is released, these deprecated services will not be part of the distribution.

COMMAND LINE PROGRAM

A very simple program called shorten is supplied in the distribution’s bin folder. This program takes a URL and gives you a shortened version of it.

BUGS, REQUESTS, COMMENTS

Please submit any issues <https://github.com/p5-shorten/www-shorten/issues> you might have. We appreciate all help, suggestions, noted problems, and especially patches.

Note that support for extra shortening services should be released as separate modules, like WWW::Shorten::Googl or WWW::Shorten::Bitly.

Support for this module is supplied primarily via the using the GitHub Issues <https://github.com/p5-shorten/www-shorten/issues> but we also happily respond to issues submitted to the CPAN RT <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-Shorten> system via the web or email: bug-www-shorten@rt.cpan.org

* https://github.com/p5-shorten/www-shorten/issues * http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-Shorten * ( shorter URL: http://xrl.us/rfb ) * bug-www-shorten@rt.cpan.org

AUTHOR

Iain Truskett spoon@cpan.org

CONTRIBUTORS

o Alex Page — for the original LWP hacking on which Dave based his code.
o Ask Bjoern Hansen — providing WWW::Shorten::Metamark
o Chase Whitener capoeirab@cpan.org
o Dave Cross dave@perlhacks.com — Authored WWW::MakeAShorterLink on which this was based
o Eric Hammond — writing WWW::Shorten::NotLong
o Jon and William (wjr) — smlnk services
o Kazuhiro Osawa yappo@cpan.org
o Kevin Gilbertson (Gilby) — TinyURL API information
o Martin Thurn — bug fixes
o Matt Felsen (mattf) — shorter function names
o Neil Bowers neilb@cpan.org
o PJ Goodwin — code for WWW::Shorten::OneShortLink
o Shashank Tripathi shank@shank.com — for providing WWW::Shorten::SnipURL
o Simon Batistoni — giving the ‘makealongerlink‘ idea to Dave.
o Everyone else we might have missed.
In 2004 Dave Cross took over the maintenance of this distribution following the death of Iain Truskett.

In 2016, Chase Whitener took over the maintenance of this distribution.

LICENSE AND COPYRIGHT

Copyright (c) 2002 by Iain Truskett.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

CGI::Shorten, WWW::Shorten::Simple
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 WWW::SHORTEN (3) 2016-03-25

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.