Just an FYI for anyone looking to do this
1: I set up a PHP script on my server that uses the google api
2: This is the php script:
http://pastebin.com/s4wFD5Wu
3: Then in Tasker i setup a Get URL task like here:
bbpinpal.com/url.php?longUrl=maps.google.com/maps?q=
%LOCATION&sensor=false&shorten=shorten
4: Then Variable Set
Name: %SHORT
To: %HTTPD
Variable Split:
Name: %SHORT
Splitter: <td>
Variable Split
Name: %SHORT2
Variable: </td>
5: Then in SHORT21 will be your short URL
I also got this to work with a popup input box for inputting your own
URL or whatever.
Hope this helps someone