News for hackers. Stuff that matters.
Re:Tldr.it - Summarizer for RSS feeds and other web pages (b... by retube on Monday October 18, 2010 @04:31AM (#1802726)
Perhaps a minor issue, but a bit of a turn off for me: you have to include "http:// in your url. Otherwise you get some snarky comment like "You'll need to provide me with a valid url, matey" which is even more aggrevating given that the address was a correct one. I suggest you allow people to miss this - it's more to type and I'm guessing most people are used to just bunging an address into their browser without protocol qualification.

if (!url.startsWith("http://) { url = "http:// + url; }

(Edit: for some reason the closing quotes are being stripped)

Re:Tldr.it - Summarizer for RSS feeds and other web pages (b... by jeremymcanally on Monday October 18, 2010 @08:18AM (#1803138)
Ah yes. That joys of cargo culting a URL validation regex. I can't fix it now (per contest rules), but I'll be sure to fix that ASAP.