This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-08-19 18:41:55

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Google API Team: URL Shortener

So yeah. Lately I've been messing around with Google API's and decided that we should make our own shortener.

So if you know javascript, maybe you could help!  big_smile

Offline

 

#2 2011-08-19 18:48:15

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: Google API Team: URL Shortener

bump

Offline

 

#3 2011-08-19 18:48:31

videogame9
Scratcher
Registered: 2008-05-12
Posts: 1000+

Re: Google API Team: URL Shortener

There's already a bunch of URL shorteners. Like tinyurl.

EDIT: Lol, completely unnessecary bump.

Last edited by videogame9 (2011-08-19 18:49:06)


http://img641.imageshack.us/img641/4118/newvg9logo.png
QUOTE OF THE RIGHT NOW: why are we arguing about dead babies? -videogame9

Offline

 

#4 2011-08-19 18:58:47

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: Google API Team: URL Shortener

videogame9 wrote:

There's already a bunch of URL shorteners. Like tinyurl.

EDIT: Lol, completely unnessecary bump.

I know, but with this one, we could add extra functionality.

Offline

 

#5 2011-08-19 19:04:26

videogame9
Scratcher
Registered: 2008-05-12
Posts: 1000+

Re: Google API Team: URL Shortener

ProgrammingFreak wrote:

videogame9 wrote:

There's already a bunch of URL shorteners. Like tinyurl.

EDIT: Lol, completely unnessecary bump.

I know, but with this one, we could add extra functionality.

Functionality? Like what? Please explain.


http://img641.imageshack.us/img641/4118/newvg9logo.png
QUOTE OF THE RIGHT NOW: why are we arguing about dead babies? -videogame9

Offline

 

#6 2011-08-19 19:29:57

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: Google API Team: URL Shortener

videogame9 wrote:

ProgrammingFreak wrote:

videogame9 wrote:

There's already a bunch of URL shorteners. Like tinyurl.

EDIT: Lol, completely unnessecary bump.

I know, but with this one, we could add extra functionality.

Functionality? Like what? Please explain.

Stuff like:

custom name
decrypter (taking a short url and then posting the long url)
and others.

Offline

 

#7 2011-08-19 21:20:24

what-the
Scratcher
Registered: 2009-10-04
Posts: 1000+

Re: Google API Team: URL Shortener

I've done this and have this code in php + database. You have two choices random url or increment url. Plus you will need a short domain name.


http://imageshack.us/m/64/9034/ddfss.pngMy site
Find someone post count. Click posts under username. Find number of pages. Times that by 40 for min and 60 for max and you have a rough estimate of post count.

Offline

 

#8 2011-08-20 07:01:10

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: Google API Team: URL Shortener

what-the wrote:

I've done this and have this code in php + database. You have two choices random url or increment url. Plus you will need a short domain name.

Yep, yep. Cool.  smile
Gotta see if it works

Offline

 

#9 2011-08-20 07:59:03

videogame9
Scratcher
Registered: 2008-05-12
Posts: 1000+

Re: Google API Team: URL Shortener

ProgrammingFreak wrote:

videogame9 wrote:

ProgrammingFreak wrote:

I know, but with this one, we could add extra functionality.

Functionality? Like what? Please explain.

Stuff like:

custom name
decrypter (taking a short url and then posting the long url)
and others.

The decrypter sounds a little useful.

Don't really get the "custom name", though. What are you naming?

Last edited by videogame9 (2011-08-20 07:59:25)


http://img641.imageshack.us/img641/4118/newvg9logo.png
QUOTE OF THE RIGHT NOW: why are we arguing about dead babies? -videogame9

Offline

 

#10 2011-08-20 08:07:33

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: Google API Team: URL Shortener

videogame9 wrote:

ProgrammingFreak wrote:

videogame9 wrote:


Functionality? Like what? Please explain.

Stuff like:

custom name
decrypter (taking a short url and then posting the long url)
and others.

The decrypter sounds a little useful.

Don't really get the "custom name", though. What are you naming?

The url. Instead of 'name.com/k234n234k', it would be 'name.com/hello'

Offline

 

#11 2011-08-20 08:19:26

videogame9
Scratcher
Registered: 2008-05-12
Posts: 1000+

Re: Google API Team: URL Shortener

ProgrammingFreak wrote:

videogame9 wrote:

ProgrammingFreak wrote:

Stuff like:

custom name
decrypter (taking a short url and then posting the long url)
and others.

The decrypter sounds a little useful.

Don't really get the "custom name", though. What are you naming?

The url. Instead of 'name.com/k234n234k', it would be 'name.com/hello'

it sounds nice, but what if two people wanted to name theirs the same thing?

(also, this topic inspired me to learn HTML.)

Last edited by videogame9 (2011-08-20 08:20:07)


http://img641.imageshack.us/img641/4118/newvg9logo.png
QUOTE OF THE RIGHT NOW: why are we arguing about dead babies? -videogame9

Offline

 

#12 2011-08-20 10:05:04

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: Google API Team: URL Shortener

videogame9 wrote:

ProgrammingFreak wrote:

videogame9 wrote:


The decrypter sounds a little useful.

Don't really get the "custom name", though. What are you naming?

The url. Instead of 'name.com/k234n234k', it would be 'name.com/hello'

it sounds nice, but what if two people wanted to name theirs the same thing?

(also, this topic inspired me to learn HTML.)

Wow,  big_smile  But this would include PHP and Javascript. But HTML is a good start.  wink

Offline

 

#13 2011-08-20 10:45:19

gbear605
Scratcher
Registered: 2008-03-06
Posts: 1000+

Re: Google API Team: URL Shortener

I'll help some.  I would offer my website, but the url is too long (escratch.org)


Yeah, I'm mostly inactive.  I check in once in a while though.  If you want to contact me, I have a contact form at my website, http://escratch.org

Offline

 

#14 2011-08-20 11:07:15

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Google API Team: URL Shortener

I just use h77p.tk.


Posts: 20000 - Show all posts

Offline

 

#15 2011-08-20 15:15:17

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: Google API Team: URL Shortener

gbear605 wrote:

I'll help some.  I would offer my website, but the url is too long (escratch.org)

Okay, thanks!  big_smile  I think we may use .tk for the free-ness. Cause I wouldn't want to have to pay for something no one checks out.  tongue

Offline

 

#16 2011-08-20 15:17:15

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: Google API Team: URL Shortener

veggieman001 wrote:

I just use h77p.tk.

õ_δ RHY Made that didn't he? I can tell by the graphics.  smile

Offline

 

#17 2011-08-20 15:42:21

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Google API Team: URL Shortener

ProgrammingFreak wrote:

veggieman001 wrote:

I just use h77p.tk.

õ_δ RHY Made that didn't he? I can tell by the graphics.  smile

Yeah, he did.


Posts: 20000 - Show all posts

Offline

 

Board footer