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

#1 2012-08-26 07:37:27

taddl
Scratcher
Registered: 2009-03-08
Posts: 100+

better URL's

since you can't name to projects the same, the name of every project should be in the URL.
for example:
my project Music Loop should turn from
http://scratch.mit.edu/projects/taddl/2743391
to
http://scratch.mit.edu/projects/taddl/Music-Loop


http://blocks.scratchr.org/API.php?action=projects&type=newest&return=image&user=taddl
http://blocks.scratchr.org/API.php?user=taddl&action=projects&type=newest&return=text&num=1

Offline

 

#2 2012-08-26 07:42:39

777w
Scratcher
Registered: 2009-02-10
Posts: 1000+

Re: better URL's

actually you can name projects the same, for different users at least
i dont think this is possible because of how scratch works as of now

Offline

 

#3 2012-08-26 08:39:03

taddl
Scratcher
Registered: 2009-03-08
Posts: 100+

Re: better URL's

yes, but the username is in the URL, so it would be possible


http://blocks.scratchr.org/API.php?action=projects&type=newest&return=image&user=taddl
http://blocks.scratchr.org/API.php?user=taddl&action=projects&type=newest&return=text&num=1

Offline

 

#4 2012-08-26 08:49:28

BirdByte
Scratcher
Registered: 2012-07-07
Posts: 1000+

Re: better URL's

In support, if it is a redirect page that goes to the page with the numbered URL.


http://i50.tinypic.com/312u714.jpg

Offline

 

#5 2012-08-26 08:49:29

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: better URL's

This might be a good idea, but harder to program.

What most sites do is something like this;

scratch.mit.edu/projects/jvvg/12345/my-programming-life


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#6 2012-08-26 09:24:58

Molybdenum
Scratcher
Registered: 2012-06-17
Posts: 1000+

Re: better URL's

Also, could scratch do something like scratch.mit.edu/projects/12345/, as the project ID is still in the url? It would save space.


"The Enrichment Center is required to remind you that you will be baked, and then there will be cake."
(|Balls and Platforms: Stay on!|) (|NaOS-H: An operating system... Or is it?|)

Offline

 

#7 2012-08-26 11:14:12

taddl
Scratcher
Registered: 2009-03-08
Posts: 100+

Re: better URL's

yes, I agree that it should redirect you!


http://blocks.scratchr.org/API.php?action=projects&type=newest&return=image&user=taddl
http://blocks.scratchr.org/API.php?user=taddl&action=projects&type=newest&return=text&num=1

Offline

 

#8 2012-08-26 12:22:34

Wes64
Scratcher
Registered: 2011-08-19
Posts: 1000+

Re: better URL's

Molybdenum wrote:

Also, could scratch do something like scratch.mit.edu/projects/12345/, as the project ID is still in the url? It would save space.

then whats the point of changing it


Experienced 2.0 Tester: Ask me questions!
Using Firefox 13.0, Flash plugin version 11.4.402.287, and Windows XP Professional.

Offline

 

Board footer