Live data from Hacker News

http://to/ World's Shortest URL Shortener

to.

21–30 of 150 posts

Re: http://to/ World's Shortest URL Shortener

#22
post #17
post #9

Earlier quoted context omitted.

Depends on your DNS. Works for some without.

The dns works. But the browser doesn't. Without the trailing dot the browser looks up the .com address. With the dot it works, but then the browser fixes up the url, and removes the dot - so all subsequent requests don't work. (This is for me, using firefox on linux.)

Fine in Opera.

Re: http://to/ World's Shortest URL Shortener

#23
I wrote a program to find the shortest URL. Enjoy!

    #!/usr/bin/perl
    #
    
    use WWW::Mechanize;
    
    die "usage: $0 " unless @ARGV;
    
    $name = 'a';
    $m = WWW::Mechanize->new;
    while (1) {
        print "Trying http://to./$name\n";
        $m->post('http://to./', {
            url => $ARGV[0],
            name => $name,
            'Witz that URL!' => 'Witz that URL!'
        });
        unless ($m->content =~ /sorry/) {
            print "You got http://to./$name\n";
            exit(0);
        }
        $name++;
    }

Re: http://to/ World's Shortest URL Shortener

#25
post #20
post #8

Chrome doesn't really like the URLs, and Twitter doesn't see them either. Awesome, though.

Funny, it's working under my current configuration with Firefox but not with Opera and Chrome translates it in a Google search. Not the world's best URL shortener...

Yeah, Chrome does the same for me. I can click through the links just fine, but pasting into the URL bar (which you're probably going to have to do until the world updates its URL regexes) only gives me the option of a search, unless the URL's in the history.

Re: http://to/ World's Shortest URL Shortener

#29
post #17

Earlier quoted context omitted.

The dns works. But the browser doesn't. Without the trailing dot the browser looks up the .com address. With the dot it works, but then the browser fixes up the url, and removes the dot - so all subsequent requests don't work. (This is for me, using firefox on linux.)

seems safari users are struggling without the . as well .. probably a webkit issue then edited for spelling mistake

Works fine here with Google Chrome.
Post reply on HN