Quantcast
Channel: Posts/rss
Browsing latest articles
Browse All 68 View Live

Comment from Very nice site!

Very nice site!

View Article



Comment from Hello! kddcfdg interesting kddcfdg site!

Hello! kddcfdg interesting kddcfdg site!

View Article

Comment from Very nice site!

Very nice site!

View Article

Comment from Hello! eagccke interesting eagccke site!

Hello! eagccke interesting eagccke site!

View Article

Comment from FReNeTiC

Yesterday i was thinking about "how does a url shortner works?". I got the same conclusion as you got when you wrote the piece of code from the post :$codeset =...

View Article


Comment from Dave

Is there irony in the fact that Zeb points out Colly's article on short urls and posts the long url, so long that it runs into the next column?

View Article

Comment from marvell

GKAA8m hi! mi site is http://norffg.com see you!

View Article

Comment from Travell Perkins

Hello Jonathan, Your writeup was great. The main gem for me was the base conversion code. I wrapped it in a static class and started experimenting. Your solution, base 58/60, is a much better solution...

View Article


Comment from Abhisek

WOW!!! Cool... Months back I made a tutorial on this too: http://ad1987.blogspot.com/2008/12/create-your-own-tinyurl-with-php-and.html

View Article


Comment from Cloud Freak

This is a very nice tutorial. @Ivan: you will have collision soon if you do MD5

View Article

Comment from Zeb

great job.. there is a similar URL shortener plugin over here: http://www.colly.com/comments/ee_shortener_plugin_your_own_short_urls_using_revcanonical_and_permanent_re/

View Article

Comment from Tim Johannessen

For the compression of the ID to work properly, the value should be at least two digits. Compressing a value of 1 will remain 1 and so forth, until at least two digits are used. I was looking for a way...

View Article

Comment from Matt

Anyone interested in hosting their own URL Shortener should check out the project I manage, urlShort at http://urlshort.sourceforge.net. We’re aiming to have it include all the good features of URL...

View Article


Comment from Michael Kozakewich

I made a similar post a day or two ago (with far less graceful code), but the whole setup is kind of useless on my site (the domain alone has seventeen characters). I may be able to fit up to 40 links...

View Article

Comment from Maxime Perron Caissy

Nice article snook, the super compressed url part is especially interesting! ps. the comment numbering is brilliant, I first thought you had used images but that would have been a pain in the ass....

View Article


Comment from SharonHill

Nice way of shortening URL. I generally use http://aafter.us/ that shrinks large URL. It’s an open and free source. Regards, SharonHill

View Article

Comment from Matt

Nice. Thanks!

View Article


Comment from Kevin Thompson

Blindsided by the newly styled comments, I failed to include my original question... Now that you have a method for easily identifying your shortened URLs in social media, are you considering including...

View Article

Comment from Kevin Thompson

Great article. Really serves to show how simple it can be to setup your own short URL service. However, what really stood out to me is what Chris Wallace noticed... Your comments are slick! As simple...

View Article

Comment from Jamie Rumbelow

Hey Jonathan, Have you considered using rev="canonical"? Drew McLellan pointed me to it when I was recording my podcast - it's a semantic way of representing a shorter link. You simply embed a link tag...

View Article

Comment from Jakob Heuser

@Zach: To prevent duplicate links, you can also use the canonical "link" tag that google endorses: http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html As per google, it's a...

View Article


Comment from JR

I took the liberty of converting your encode and decode functions into Python:import math codeset = 'Ts87HNB2US1dxhgMWCpAKmRXO0rnG4lDZkcFLqutzEYbfv6JQo3Pea5iw9VyjI' base = len(codeset) n = 300 def...

View Article


Comment from Andrew Woods

Nicely Done! I've also thought about building a url shortener, and would've done it much the same way. Although, it'd be great to know: how often do urls get shortened?, and how often a particular...

View Article

Comment from Shimon

I've wrote a short post about using base_convert not so long time ago, check it out - http://baaltshuvaslowly.blogspot.com/2009/02/tinyurl-with-one-line-of-php-easy.html

View Article

Comment from Chris Shiflett

Have you considered adding rev="canonical" support? I wrote about it here: http://shiflett.org/blog/2009/apr/save-the-internet-with-rev-canonical Here's an API call that returns the advertised short...

View Article


Comment from Jonathan Snook

@Chris Wallace: I just recently styled the comment numbers. :) They used to be a plainly styled element right next to the commenter's name. My comments are also now highlighted within the list.

View Article

Comment from Chris Wallace

Did you just recently add comment numbers? They are so smooth I thought they were being replaced with Cufon or sIFR, but alas, they are not. In an attempt to stay on topic, enjoy this FAQ from u.nu, a...

View Article

Comment from Zachary Johnson

Having just made my own URL shortener for personal use a couple weeks ago (in action here: http://a.stronaut.com/z1), I thought it was important that I share a couple of things I learned: 1. Check out...

View Article

Comment from Jonathan Snook

Just doing a little research after finding the lilURL library, I found the tighturl project, which is also open source. It does spam filtering, as well. Finally, and this is something I wasn't aware...

View Article



Comment from Jonathan Snook

@Ulf: I hadn't seen the lilURL project. Thanks for pointing it out. Admittedly, I prefer my approach as it leaves the database to what it does best: incrementing integers for primary keys. Converting...

View Article

Comment from Maciej Grajcarek

That is really nice! I was thinking how to shorten links in a smart way. Your way is really good :). Thanks!

View Article

Comment from Ivan

OK, this is sooo sweet :-) I used to simply md5 the ID and substr the first 4 characters, guess this is better ;-)

View Article

Comment from Ulf

Hey Snook! Thanks for that article, I loved the part with the explanation about the precious bytes - nice detail! Did you know about the lilURL-Project? It's kind of the same approach. Ulf

View Article


Comment from Marc Grabanski

Hey! nice job Snook. I think I'll be adding this to my blog "short"ly. And since it's a CakePHP, it'll be "cake" to implement. Man, puns at 1:30AM are easy to come by.

View Article
Browsing latest articles
Browse All 68 View Live




Latest Images