What software can I use to create small URL?

Asked By 10 points N/A Posted on -

Hallo WebGurus!

I have been using WordPress for my web development processes for some time now. Once in a while I also carry out custom web building. In WordPress, there are normally options for the long and the short URLs. What software can I use to create a small URL when working outside of WordPress? Thanks.

Answered By 0 points N/A #143159

What software can I use to create small URL?

Hello Gwendolynhunterr
You can use VBS to create small URLs. It automatically fits texts in the right text boxes on http://tinyurl.com and gives form to generate a shortened URL, and it uses the internet explorer. But one other on came up with some other code that uses XMLHTTP and works in the same way just faster with code also much shorter. Here;
Function GetTinyUrl(url As String) As String
Tinyurl API creation link from:
Dim xml As Object
Set xml = CreateObject("MSXML2.XMLHTTP.6.0")
xml.Open "POST", "http://tinyurl.com/api-create.php?url=" & url, False
GetTinyUrl = xml.responsetex

Login/Register to Answer

Related Questions