Tuesday, May 04, 2010

» openSUSE repository URL shortening

Hacked a little lighttpd redirect on s.opensu.se to shorten URLs to openSUSE package repositories. Simply use http://s.opensu.se/r? followed by the name of the repository, without the slashes (/) to separate, as it is redundant with ":" Examples: Arguably, not quite as short as with bit.ly or tinyurl.com, but still shorter than the full URL ;)

Labels:

4 Comments:

Blogger DimiG said...

Thank you, very good info :)

09:14  
Blogger Martin Vidner said...

Ah, nice. Except what we get is not a repository. And tying to get it, like http://s.opensu.se/r?network:utilities/openSUSE_Factory returns 404 Not Found.

I think that would be a lot more useful. Unless, of course, you omitted it on purpose to save resources.

11:41  
Blogger Loki said...

Martin, works now ;)

20:17  
OpenID Gerald said...

Nice. Now, wouldn't it be nice to simply shorten the original URLs, too? Like using repos instead of repositories (and redirecting from the old ones to the new and shorter ones)? Just an idea.

22:16  

Post a Comment

Links to this post:

Create a Link

<< Home