What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [RELEASE] TinyURL Script

[RELEASE] TinyURL Script
Author: Message:
Volv
Skinning Contest Winner
*****

Avatar

Posts: 1233
Reputation: 31
35 / Male / Flag
Joined: Oct 2004
O.P. [RELEASE] TinyURL Script
Hello,
I've created a small & simple script which uses the TinyURL.com service to reduce the length of URLs (website addresses).

Where to get the script:
The TinyURL Script can be downloaded from the MsgPlus! Live Script Database at http://www.msgpluslive.net/scripts/view/303-TinyURL/

Download the TinyURL Script
Don't forget to rate it!

How to use the script:
The script can be used by typing (in a Conversation Window):
code:
/tinyurl www.msgplus.net
(www.msgplus.net can be replaced with any URL you wish to shorten)
Alternatively, you can access the script from the Script icon in the Contact List or in a Conversation Window:
[Image: TinyURL_screenshot.png]

Credits:
All code within the script was created by myself.
The TinyURL service itself (responsible for shortening the URL and redirecting users from the shortened URL to the original URL) is provided by Gilby Productions at http://tinyurl.com/

Download the TinyURL Script

Updates in v1.2:
- [UPDATE] The method of obtaining the "tiny URL" has been improved
- [BUG FIX] In conversation windows the /tinyurl command can be typed in any case (ie. you can write it in uppercase letters or any combination of upper/lower)

This post was edited on 06-05-2007 at 09:00 AM by Volv.
06-05-2007 07:13 AM
Profile PM Find Quote Report
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: [RELEASE] TinyURL Script
Sort of bloated for such a simple script really. (sorry :P)

Instead of using the standard form for creating the TinyURL, and then having to parse out the result, just use the API creating script.
e.g. http://tinyurl.com/api-create.php?url=http://www.google.com

This way, if the TinyURL guys change the formatting of the resulting page of the standard form, your script won't work any more. (Ok, they might change the API page too, but it's less likely)
06-05-2007 07:59 AM
Profile PM Find Quote Report
Volv
Skinning Contest Winner
*****

Avatar

Posts: 1233
Reputation: 31
35 / Male / Flag
Joined: Oct 2004
O.P. RE: [RELEASE] TinyURL Script
quote:
Originally posted by Eljay
Instead of using the standard form for creating the TinyURL, and then having to parse out the result, just use the API creating script.
Whoa :p Didn't know about that, probably should have spent some time researching first eh?

EDIT: Updated the script to v1.2. You can download TinyURL v1.2 by Clicking Here.
Read first post in this thread for list of improvements.
If you have v1.1 of the script you should automatically be notified of the update

This post was edited on 06-06-2007 at 09:08 AM by Volv.
06-05-2007 08:06 AM
Profile PM Find Quote Report
Voldemort
Veteran Member
*****

Avatar

Posts: 3504
Reputation: 49
– / – / Flag
Joined: Jul 2005
Status: Away
RE: [RELEASE] TinyURL Script
would be nice if  you could type "/tu www.iamalongurlwithabigpenis.com " and have it send the tinyurl link automatically :p
*All posts are a purely speculative hypothesis based on abstract reasoning.
Not my daughter, you bitch!
[Image: ico-mollytrix16.gif]
06-05-2007 05:09 PM
Profile E-Mail PM Find Quote Report
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
30 / Male / Flag
Joined: Apr 2006
Status: Away
RE: [RELEASE] TinyURL Script
Eljay made a long ago. Right?

See Eljay's reply to [Request] TinyURL Script :P
06-05-2007 05:21 PM
Profile E-Mail PM Web Find Quote Report
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: [RELEASE] TinyURL Script
quote:
Originally posted by Felu
Eljay made a long ago. Right?

See Eljay's reply to [Request] TinyURL Script :P

Indeed, but that automatically replaces all URLs with TinyURLs, this script is kinda different. :P
06-05-2007 05:30 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On