Author Topic: juju.qc.to URL shortener  (Read 9018 times)

0 Members and 1 Guest are viewing this topic.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
juju.qc.to URL shortener
« 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 - ???
« Last Edit: July 11, 2011, 06:09:18 pm by Juju »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: juju.qc.to URL shortener
« Reply #1 on: July 11, 2011, 05:56:28 pm »
I can't believe I typed in http://juju.qc.to/r!
:P
« Last Edit: July 11, 2011, 05:56:41 pm by yunhua98 »

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: juju.qc.to URL shortener
« Reply #2 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




Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: juju.qc.to URL shortener
« Reply #3 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 ;)

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: juju.qc.to URL shortener
« Reply #4 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

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: juju.qc.to URL shortener
« Reply #5 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
Vy'o'us pleorsdti thl'e gjaemue

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: juju.qc.to URL shortener
« Reply #6 on: July 11, 2011, 06:10:27 pm »
I think that's the number of characters you can actually use in a web address.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: juju.qc.to URL shortener
« Reply #7 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.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: juju.qc.to URL shortener
« Reply #8 on: July 11, 2011, 06:31:45 pm »
Suggestion: An shortening tool like on http://julosoft.org/omniurl.php




Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: juju.qc.to URL shortener
« Reply #9 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.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: juju.qc.to URL shortener
« Reply #10 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.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline XVicarious

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +45/-28
  • I F**king Love Twisty Puzzles
    • View Profile
    • XVicarious
Re: juju.qc.to URL shortener
« Reply #11 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.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: juju.qc.to URL shortener
« Reply #12 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!




Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: juju.qc.to URL shortener
« Reply #13 on: July 21, 2011, 06:04:34 pm »
btw, did you take over jkag's url shortener?  :P

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: juju.qc.to URL shortener
« Reply #14 on: July 21, 2011, 06:05:00 pm »
His still works ???

EDIT: Oh wait... O.O
« Last Edit: July 21, 2011, 06:05:32 pm by Deep Thought »