Migrated from generic-functions v2

ryanmcgrath 2010-09-13 02:21:27 -07:00
parent 94d01186cf
commit 79edd840ac

@ -1,15 +1,13 @@
h1. Generic Tango Functions
The following functions serve basic needs, both in terms of the library itself, and some auxiliary functions. The following functions serve basic needs, both in terms of the library itself, and some auxiliary functions.
shortenURL() <b>shortenURL()
Returns a specified url shortened by is.gd. The choice of url shortener can be overridden if necessary. Most url shorteners have API limits; be sure to investigate this before you use this in a widespread manner. Returns a specified url shortened by is.gd. The choice of url shortener can be overridden if necessary. Most url shorteners have API limits; be sure to investigate this before you use this in a widespread manner.
Parameters: Parameters:
url_to_shorten: (Required) The url that you want shortened. * <b>url_to_shorten:</b> (Required) The url that you want shortened.
shortener: (Optional) The url of your desired shortener API. Defaults to http://is.gd/api.php. * <b>shortener:</b> (Optional) The url of your desired shortener API. Defaults to http://is.gd/api.php.
query: (Required if overriding default service) The name of the url parameter you're passing to the service. * <b>query:</b> (Required if overriding default service) The name of the url parameter you're passing to the service.
<pre> <pre>
<code> <code>