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

#1 2012-05-05 15:30:15

coolhogs
Scratcher
Registered: 2011-07-26
Posts: 1000+

Is there a way to..

Put how many views your project has in a post without doing it manually?


Get ready for domination of:  tongue

Offline

 

#2 2012-05-05 15:34:50

TorbyFork234
Scratcher
Registered: 2012-03-01
Posts: 1000+

Re: Is there a way to..

Explain.

Offline

 

#3 2012-05-05 15:36:35

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: Is there a way to..

I can understand what s/he means.

Yes, using sparks' self-updating API thingy. I'll go on a hunt.


Why

Offline

 

#4 2012-05-05 15:41:18

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Is there a way to..

Yes! See this thread  smile

(Beat ya, RRocker)

Offline

 

#5 2012-05-06 13:11:57

coolhogs
Scratcher
Registered: 2011-07-26
Posts: 1000+

Re: Is there a way to..

LS97 wrote:

Yes! See this thread  smile

(Beat ya, RRocker)

Hmm..
Is there a way to not make it display your newest project, but a project?

Last edited by coolhogs (2012-05-06 13:12:26)


Get ready for domination of:  tongue

Offline

 

#6 2012-05-06 13:15:38

joletole
Scratcher
Registered: 2011-02-20
Posts: 1000+

Re: Is there a way to..

Like this:

My newest project has http://blocks.scratchr.org/API.php?user=joletole&action=projects&type=newest&return=views&num=1 views.

Last edited by joletole (2012-05-06 13:16:09)

Offline

 

#7 2012-05-06 17:38:00

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Is there a way to..

Hey coolhogs! The API can display your nth newest project, if that's what you mean. Simply replace &num=1 with 2 for the second newest, 3 for the third newest and so on!

If you want a random project to appear, you could do it using tinyurl to combine the random function with the project function - random projects aren't supported yet!


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#8 2012-05-06 19:06:51

coolhogs
Scratcher
Registered: 2011-07-26
Posts: 1000+

Re: Is there a way to..

sparks wrote:

Hey coolhogs! The API can display your nth newest project, if that's what you mean. Simply replace &num=1 with 2 for the second newest, 3 for the third newest and so on!

If you want a random project to appear, you could do it using tinyurl to combine the random function with the project function - random projects aren't supported yet!

No, only one specific project. That project is Rotati. Is it possible?

Last edited by coolhogs (2012-05-06 19:08:37)


Get ready for domination of:  tongue

Offline

 

#9 2012-05-06 20:10:36

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Is there a way to..

Sorry, I didn't read the thread properly earlier  tongue

At the moment no, there isn't a way, short of working out how new the project is and changing that number in the viewer when you add a new project. This will definitely be a feature I'll add when I do an update though!


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

Board footer