N/APosted on - 05/02/2013
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.
What software can I use to create small URL?
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