Tiny Link - a Wordpress plugin to create a TinyURL for your articles

Tiny Link is a Wordpress plugin that creates an alternate TinyURL link to your article or post permalink. This will be useful while sending hyperlinks in emails, typing on mobile devices, et al.

I was in search of a way to automagically get an alternate short link for the lengthy URL of my articles. I tried a plugin but somehow went kaput and never worked for me. I decided to write one for myself and came up with a very simple solution. - Tiny Link.

Well, Tiny Link is a Wordpress plugin that creates an alternate TinyURL link to your article or post permalink.

I hope this will be useful while sending hyperlinks in emails to avoid the word-wrap for lengthy article URLs. This should also be useful (as far as I can guess) to mobile device users so they will can type a shorter url to read an article.

TINY LINK

USAGE

The most straight forward usage would be to add this simple script

<?php TinyLink() ?>

to one of your template - “single.php”.

However, a slightly advanced usage will be, to first check if the plugin is installed, if yes, then execute this module. We can even give a direct link to it, so users can copy the link by right-clicking (Mac: Ctrl + Click) the hyperlink.

<?php if (function_exists('TinyLink')) { ?>
Tiny alternate link for this article: 
<a href="<?php TinyLink() ?>" title="TinyURL link to - <?php the_title(); ?>"><?php TinyLink() ?></a>
<?php } ?>

Feel free to give me your feedbacks, errors encountered, bugs founds, et al. If you wish to take it further, you’re most welcome to join the project.


Don't like it? There are lots of published articles, pick a random one.

oCricket

Brajeshwar posted this article on Sat, Aug 18th, 2007 at 3:14 am
Categorized under Technology and has the following tags

Suggest 1 or more tags for this article

Use a comma (,) to separate 2 or more tags.

[?]

Prev Article: 60th year of India’s Independence

Next Article: Flash Player supports H.264 - the standard deployed in Blu-Ray and HD-DVD


Possibly Related Articles

Archives: Visit the Archives for more articles.

Comments Post Yours

There are 16 responses so far. You can follow any responses to this entry through the RSS feed. You can leave a response, or trackback from your own site.

  1. One of the cutest plugin out there ;)

  2. This is a fantastic blog. I wish I had known it much earlier.
    I blogged about you. Pl read it here.

  3. Is this an ‘SEO-friendly’ plugin?
    i.e. is this a 301 redirect?

  4. @Mutiny Design:
    No, and there is no reason to make it such. Tiny Link should be used as an alternative link to be used while sending links to somebody or to type on a mobile device or when you just need a shorter link. The main link should be used for the usual purposes - linkbacks, hyperlinking within your article.

  5. Frankly speaking, i don’t think that it is so useful. Just one more plugin to satisfy customers needs and wants.

  6. Very true. I needed something to get my job done and so, I came up with this plugin. I released it to the public, just in case somebody needs something similar.

  7. Are there any plans to update this to support WordPress 2.5?

  8. @K1DF0X
    I don’t remember anything complicated or un-usual that it should not work with Wordpress 2.5. Have you tried it? My feeling is that it should work.

  9. Hmm, the problem I have is once I have inserted the code into my template, the default text “TinyURL alternative…” appears but the actual TinyURL link isn’t there.

  10. @K1DF0X
    It works for me on both Wordpress 2.5 and 2.5.1. If you can show us your site, it will be easier to see the actual issue. Would you like to try the forum and post the necessary issue in the “Tiny Link” Wordpress Plugin Section.

  1. Pings & Trackbacks Sites, articles & blog posts linking back to this article.

Post yours

Sidenotes

Quick notes, scribbles, somehow related to this website and to what I do. Or perhaps I'm just plain lazy to make them into a full article.

The rise and fall of Twitter

Superb, Awesome! Couldn't avoid having it here for people to enjoy. Via: TechCrunch. 9th Aug, 2008

Spawning does Django

Our team had a discussion yesterday why Spawning might be a good solution for our Python-Django specific Web server. The discussion is still hot on the table and have not come to a conclusion; nonetheless, ...2nd Aug, 2008

Take the A List Apart 2008 Survey

It's A List Apart's second annual survey for people who make websites. I took it! And so should you. The Survey for People Who Make Websites. This year's survey corrects many of last year's mistakes, with ...29th Jul, 2008

Django 1.0 alpha released

Django Project have released Django 1.0 Alpha today (22nd Jul, 2008 IST). If this is the timeline Django would stick to; then, Django 1.0 final release should hit the web on 2nd Sep, 2008. Alpha ...22nd Jul, 2008

The Continuum, a massive Flash Game

[flv:http://media.brajeshwar.com/v/games/the-continuum-trailer.flv 640 360] Watch The Continuum Trailer on YouTube Saw this at TechCrunch -- The Continuum: Flash Gaming Goes Hardcore. The Continuum is a new Flash game, featuring an extremely polished interface and deep ranking system. The ...12th Jul, 2008

View the Sidenotes Archive

Play the Penguin Game

Recommended

  • o! Just Me Of colorful cultures, entertainment, media, life hacks, music, books and movies from hollywood & bollywood.
  • AS 2.0 Reference Reference for ActionScript 2.0 Programming Language used in Flash. Primarily stashed here for my own personal reference.
  • My Special Job My Special Job is a place where you can look for your weird necessities, strangely superb employees, when your need are more of those hackers, geeks, and ultimate rockstars in the Internet Technology.
  • ActionScript 3.0 Reference Flash/Flex ActionScript 3.0 Reference.
  • Ode to Apple Dedicated to Apple - Mac, iPhone, iPod, iTunes, Quicktime, Apple TV and all the awesome softwares for the Apple Mac.
  • Not Safe for Work Ever clicked a link and felt embarrassed with the content in front of your co-workers? Ever caught unaware because the funny link your friend sent was a little beyond funny? Let’s minimize that with NSWF.
  • Downloads All downloads, Free and Open Source.

Download free Brajeshwar Wordpress Theme

Brajeshwar

Brajeshwar I firmly believe in keeping things simple, easy for users and I envison pushing the technical envelop time and again for the betterment of viable commercial and practical applications.

Want to know more about me?

Brajeshwar's affinity with Adobe

My Photos

More photos on Flickr

Member of 9rules Network

"Brajeshwar" has 843 Articles and 5,903 comments, contained within 20 categories and 1,167 tags.

This site is in operation since 11th June, 2001.