Quantcast
Channel: Posts/rss
Browsing index pages (68 articles)
↧

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


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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Matt

Nice. Thanks!

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 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
Browsing index pages (68 articles)


Latest Images