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

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.

Why NBC dumped Silverlight for Flash?

The Olympics online were a joint production between NBC and Microsoft, and an opportunity for Microsoft to build a user base for Sillverlight, its new media player. But Flash has a much larger installed base ...6th Sep, 2008

Cappuccino

The guys from 280 North did it again. Earlier, it was the awesome Keynote on the Web -- 280 Slides. Now, its -- Cappuccino -- an open source framework that makes it easy to build ...6th Sep, 2008

Amazon WS Start-Up Challenge - Win $100,000 in Prizes

With the 2008 AWS Start-Up Challenge, Amazon Web Services (AWS) is searching for the next hot start-up that is leveraging AWS to build its infrastructure and business. The grand prize is $100,000 ($50,000 in cash, ...3rd Sep, 2008

The Twitter Song: You're No One If You're Not On Twitter

Here is the awesome Twitter Song from Ben Walker. [audio:http://audio.brajeshwar.com/you-are-no-one-if-you-are-not-on-twitter.mp3] If you enjoy this, you might like to watch The Rise and Fall of Twitter. You're No One If You're Not On Twitter (Lyric) You're no one if you're ...26th Aug, 2008

Download Series AA Equity Financing Documents from Y Combinator

Y Combinator and Wilson Sonsini Goodrich & Rosati announced the Series AA Equity Financing Documents. Their goal is to make angel funding rounds for startups easier for both sides. While they may not be suitable for ...23rd Aug, 2008

View the Sidenotes Archive

Play the Penguin Game

Recommended

  • Oinam The official conglomerate of the Oinam related companies, institutes and holdings.
  • Downloads All downloads, Free and Open Source.
  • Ode to Apple Dedicated to Apple - Mac, iPhone, iPod, iTunes, Quicktime, Apple TV and all the awesome softwares for the Apple Mac.
  • 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.
  • o! Just Me Of colorful cultures, entertainment, media, life hacks, music, books and movies from hollywood & bollywood.
  • 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.
  • Forum Oinam’s technical discussion forum where developers and designers can discuss all technical topics.

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. More about me.

Brajeshwar Personal Identity Portal powered by VeriSign Labs

Brajeshwar's affinity with Adobe

My Photos

More photos on Flickr

Member of 9rules Network

Since its inception on 11th June, 2001, "Brajeshwar" has 851 Articles and 5,953 comments, contained within 20 categories and 1,186 tags.