No of visitors who read this post: 39859
Category: Misc Software
Type: Question
Your rating: None Average: 5 (1 vote)

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.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

# Comment Id: 141862

Hello Gwendolynhunterr
You can use VBS to create small URLs. It automatically fits texts in the right text boxes on 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", "" & url, False
GetTinyUrl = xml.responsetex