May I recommend a WWW toplevel namespace?
Regards,
Dan
My thought is that is should include a command-line binary for making
urls as well.
James Edward Gray II
Daniel: what do you mean a WWW namespace? Like sticking the thing in a
WWW module or something? Thanks.
Yes.
- Dan
On Wed, Sep 28, 2005 at 12:36:43PM +0900, Vincent Foley wrote:
> It does. In the bin/ folder, there's a little script called shorten.
> You give it an URL and an optional service (it uses RubyURL by default)
> and it outputs the shortened URL.
Maybe you could just polish up the command-line tool?
For example, it might be 'nice' if it had some basic option handling. I
tried it for the first time with $ shorurl --help and it came back with
the shorturl for http://--help/
Also something like $ shorturl --help lns returns "nil" rather than the
wholesome goodness of a more digestible error message...
<snip>
Regards,
Doug
> It does. In the bin/ folder, there's a little script called shorten.
> You give it an URL and an optional service (it uses RubyURL by
> default)
> and it outputs the shortened URL.
Oops, didn't know that. Excellent!
James Edward Gray II
Why didn't you add a WWW namespace? With a "class Service" it could,
one day, be problematic.
Regards,
Dan