Omnimaga

General Discussion => Technology and Development => Web Programming and Design => Topic started by: Juju on July 11, 2011, 05:53:17 pm

Title: juju.qc.to URL shortener
Post by: Juju on July 11, 2011, 05:53:17 pm
I'm working on my own URL shortener as well. It doesn't work like every URL shortener, in fact it rather works much like OmniURL, but with multiple website support.

How it works? URLs are formatted like this: http://juju.qc.to/<website ID>/<param1>/<param2>/<paramN>

Some websites supports parameters, such as Omnimaga.

All integer parameters are encoded in base 62 and are optional.

Websites supported:
- b: juju2143.qc.to (my blog) (param1: postID)
- c: Cemetech (param1: postID)
- f: my Facebook account
- g: my Google+ account
- o: Omnimaga (param1: topicID, param2: postID)
- p: jkag's pastebin (param1: paste ID)
- r: ???
- source: the source
- t: my Twitter account
- More to be added later!

Examples:
http://juju.qc.to/o - Omnimaga's main page
http://juju.qc.to/o/2sk - This topic
http://juju.qc.to/o/2sk/J1Q - This post
http://juju.qc.to/r - ???
Title: Re: juju.qc.to URL shortener
Post by: yunhua98 on July 11, 2011, 05:56:28 pm
I can't believe I typed in http://juju.qc.to/r!
:P
Title: Re: juju.qc.to URL shortener
Post by: Deep Toaster on July 11, 2011, 05:58:14 pm
We have so many URL shorteners now... Nice to know this supports so many sites.

- r: ???

AAH
Title: Re: juju.qc.to URL shortener
Post by: fb39ca4 on July 11, 2011, 06:04:56 pm
We have so many URL shorteners now... Nice to know this supports so many sites.

- r: ???

AAH
That's a URL I'm going to avoid ;)
Title: Re: juju.qc.to URL shortener
Post by: Juju on July 11, 2011, 06:07:23 pm
We have so many URL shorteners now... Nice to know this supports so many sites.
Yeah, wanted mine to be different, so I went with a blend of normal shorteners you find everyday and something like OmniURL.

- r: ???

AAH
>:D
Title: Re: juju.qc.to URL shortener
Post by: Darl181 on July 11, 2011, 06:08:32 pm
This seems really useful, multiple-site support puts this above the others :)

Why base 62 btw?  Seems kind of random :P
Title: Re: juju.qc.to URL shortener
Post by: fb39ca4 on July 11, 2011, 06:10:27 pm
I think that's the number of characters you can actually use in a web address.
Title: Re: juju.qc.to URL shortener
Post by: Juju on July 11, 2011, 06:12:02 pm
62 = the 10 digits, the 26 lowercase letters and the 26 uppercase letters (in that order). Actually, you can use more characters in a web address.
Title: Re: juju.qc.to URL shortener
Post by: Deep Toaster on July 11, 2011, 06:31:45 pm
Suggestion: An shortening tool like on http://julosoft.org/omniurl.php
Title: Re: juju.qc.to URL shortener
Post by: fb39ca4 on July 11, 2011, 06:39:13 pm
62 = the 10 digits, the 26 lowercase letters and the 26 uppercase letters (in that order). Actually, you can use more characters in a web address.
I guess some characters are reserved for special purposes, like . # ? / and others.
Title: Re: juju.qc.to URL shortener
Post by: Juju on July 11, 2011, 07:02:31 pm
Suggestion: An shortening tool like on http://julosoft.net/omniurl.php
Next thing I'll do, after perfecting the actual shortening thing. Also it's dot net.
Title: Re: juju.qc.to URL shortener
Post by: XVicarious on July 11, 2011, 07:10:18 pm
Of course Juju :P You one up me. Your multi-site support is amazing as well.
juju.qc.to
    xvic.tk

my url is shorter :P, too bad I don't have an awesome url shortener like you tho lol.
Title: Re: juju.qc.to URL shortener
Post by: Deep Toaster on July 21, 2011, 06:02:40 pm
Quote from: #omnimaga
[15:53:33] <+BrandonW> Runer112, have you given any thought to making that bot use tinyurl so it doesn't highlight me whenever it sends a WikiTI link?
[15:53:44] <+Runer112> umm
[15:53:48] <+BrandonW> Other bots use tinyurl.
[15:54:27] <+OmnomIRC> (O)<Deep Thought> runer112 don't use tinyurl lol
[15:54:41] <+BrandonW> Deep Thought, what's wrong with tinyurl?
[15:54:44] <+OmnomIRC> (O)<Deep Thought> You're gonna end up creating a whole mass of duplicate links.
[15:54:51] <+OmnomIRC> (O)<Deep Thought> I don't think tinyurl checks for old links.

So here's the feature request: WikiTI links!
Title: Re: juju.qc.to URL shortener
Post by: yunhua98 on July 21, 2011, 06:04:34 pm
btw, did you take over jkag's url shortener?  :P
Title: Re: juju.qc.to URL shortener
Post by: Deep Toaster on July 21, 2011, 06:05:00 pm
His still works ???

EDIT: Oh wait... O.O
Title: Re: juju.qc.to URL shortener
Post by: Juju on July 21, 2011, 06:05:05 pm
No problem, I'll look at this as soon as it will get up again. Because it's down atm.

And I think jkag did something with my shortener.
Title: Re: juju.qc.to URL shortener
Post by: Munchor on July 24, 2011, 10:31:28 am
Oh sweet, Juju made an URL Shortener, cool!