Shortens a url using the bit.ly url shortening service

<BitlyUrl
    Username="username"
    ApiKey="yourbitlyapikey"
    Url="http://google.com"
    TreatErrorsAsWarnings="True">
  <Output PropertyName="ShortUrl" TaskParameter="OutputUrl" />
</BitlyUrl>
<Message Text="ShortUrl: $(ShortUrl)" />

Input Properties

Name Description Type Required Default
Username Your bit.ly username String true null
ApiKey Your bit.ly api key String true null
Url The url to shorten String true null
TreatErrorsAsWarnings If an error occurs, and true, then it will display a warning boolean false false
Timeout The number of seconds to allow before the task times out. integer false 5
ProxyHost The name of the proxy server String false null
ProxyPost The port of the proxy server Integer false 8080
ProxyUser The username to use for proxy authentication String false null
ProxyPassword The password to use for proxy authentication String false null

Output Properties

Name Description Type
OutputUrl The shortened Url String

Last edited Dec 23, 2009 at 10:13 PM by camalot, version 3

Comments

No comments yet.