Pages

Monday, January 16, 2012

9

Short URLs for Blogspot posts, and update to urltinyfy

Recently I made a Google App Engine application in Python, that provides javascript JSONP APIs for different URL shortening services. Read more about URLtinyfy, and the API, in this blog article.

I expanded the application to support more URL shortening services. Currently it supports: tinyurl.com (provides same interface as json-tinyurl), goo.gl (provides same interface as ggl-shortener), safe.mn, is.gd, v.gd, mcaf.ee, linkee.com, cli.gs, (std.li*), tinyurl.ms, and "hidden" support for bit.ly (and j.mp, which is same as bit.ly). I added also a sample URL shortener in javascript for the (non-hidden) services, for example: Sample linkee.com URL shortener.

*) std.li API does not work anymore in June 2012, removed from the list

And here's another example of usage, a hack to add...

Short URLs for blog's posts

This requires template editing. Edit also Widget templates. Find (partial line):
post-footer-line-3'
and about 8 lines later:
</span> </div>
Add this code after that </span> </div> line:


The above code includes tinyurl, googl and safemn services. It is easy to add, remove or change the services displayed. Hack is installed on this blog, for demostration there are five different services offered here, but in practise I think it is better to limit the shortening services to two or three.
[Hide comments] - [Show comments]
Click on a single comment to hide/show its text

9 comments:

Aurea Carvalho said... [reply]

Olá,

O recurso short url que você ensina aqui não está funcionando.
Sabe o que poderia ser?

Att,

Áurea

MS-potilas said... [reply]

@Aurea Carvalho
Hi, unfortunately the urltinyfy application sometimes runs out of incoming bandwidth quota (daily quota). Now there has been over 2 million requests in the last 24 hours. Appengine resets the quota once a day, then it works again (until quota limit is reached). I'll try to think if there is anything that can be done.

MS-potilas said... [reply]

@Aurea Carvalho I adjusted some parameters in the application, and now there has been no quota overruns for several days.

simon nooranvary said... [reply]

hi,

A great post, May I recommend http://wurlie.net/ to create your own short url service website.

Kind regards,
Simon.

Muskan Jain said... [reply]

SML.xyz is a quick url shortening website. Here you can shorten your url, which are easy to remember.
Make short links or url using the form abovequick url shortening

Muskan Jain said... [reply]

Copy and paste your long url into the box on the left or signup for a free account and manage all
your short urls in one place.We use the most up to date sources available on the internet to block
links being created for sites which may contain viruses, spam or malware.short url

Muskan Jain said... [reply]


oURL.in is a quick url shortening website. Here you can shorten your url, which are easy to remember.
Make short links or url using the form above.short URL's generated

Mariana Joe said... [reply]

X-IO Link Share http://x-io.info/
Click Advanced Options to Shortner Anonymous Redirect Link
Internet Business Solutions to Redirect Traffic or CPA Affiliate and Costum Name URL http://x-io.info/YOURNAME

Amery Barry said... [reply]

I am really very agree with your qualities it is very helpful for look like home. Thanks so much for info and keep it up.
short url

Post a Comment

Related Posts Plugin for WordPress, Blogger...
See the hack
for this dynamic
views icon: