Topic closed
We are brainstorming about possibilities for using Scratch to read and write data to the web.
Some examples of data that would be nice if Scratch could read from the web as variables or lists are:
- Sport information (scores, baseball stats, etc) from sites like espn.com
- Weather information from sites like weather.com (temperature in a city, rain, etc)
- Movies information from sites like imdb.com
- Music information (lyrics, songs, musicians) from sites like last.fm
- Social information from sites like Facebook, Twitter (updates, photos of friends, etc)
- Scratch website info like loveits on a project, friends, comments, etc
What others?
Some of examples of data that would be nice if Scratch could save on the web are:
- Results from a survey
- Scores of Scratch game
- After playing a game maybe it could update the player's Twitter/Facebook status to tell others about it.
So what kind of projects would people be able to make with this?
One example could be a project that access data from Billboard.com, and identify which song has jumped the most number of spots on the sales charts from week-to-week. And then searches YouTube for a video of each fast-rising performer and inserts the video into the Scratch project alongside the performer’s name.
Another one could be a game that uses the baseball player who has gotten the highest scores with data from ESPN.com on the latest baseball scores.
Another example could be a Scratch project that keeps tracks of the members of the Scratch community who have contributed the most comments to your projects projects. The project could show the avatars of the Scratch community members who have contributed the most comments, and continually adjusts the sizes of the avatars based on the number of comments they have contributed. Whenever
someone adds a comment to one of her Scratch projects and increases the size of the
appropriate avatar in her visualization.
What other examples can you think of?
Thanks for your ideas!
Offline
This re-minds me of NetScratch
Maybe it could save data or text or a variable or a list. ( Kinda like the other ideas you have )
Some uses could be:
1. Scratch Email!
2. Scratch Internet!
( I'm making this in BYOB 2.0 with the Mesh feature. )
3. I don't think Scratch Chat could be used with that.
4. Maybe reading the forums from Scratch! ( That would be awesome! )
5. Reading Comments!
6. I'm not sure what else... But if you allow it to write data ( Text and Variables and Lists as I said above ) you could do SO MUCH with it!
That's all.
Offline
I see a web browser coming to mind...
Maybe you can use the plugins on the computer to run Flash and Java.
Email, chat...
Oh, and of course multiplayer games. Maybe you can have a little thingy that gives you messages when you have them...
I remember the project using Scratch connections that displayed loveits in a cloud. I love that way of information. I have an idea that you would have this giant, scrollable web, and you can look at comments, make them, and even use the forums. It's not that complicated. I could make a project to show what I mean.
Offline
Magnie wrote:
This re-minds me of NetScratch
Maybe it could save data or text or a variable or a list. ( Kinda like the other ideas you have )
Some uses could be:
1. Scratch Email!![]()
2. Scratch Internet!( I'm making this in BYOB 2.0 with the Mesh feature. )
3. I don't think Scratch Chat could be used with that.
4. Maybe reading the forums from Scratch! ( That would be awesome! )
5. Reading Comments!
6. I'm not sure what else... But if you allow it to write data ( Text and Variables and Lists as I said above ) you could do SO MUCH with it!
That's all.![]()
The thing is, why would you want to do that in a scratch project, when you could actually open a web browser and do most of those things. No internet? Well then you wouldn't be able to have scratch connect to get those things.
But yeah this reminds me of netscratch.
I especially wanna focus on high score tables and such
. For that though, I think all users could create a table at like http://scratch.mit.edu/users/Lucario621/data, and each user would have one for themselves to use for their games. It could have a link to a website, to get info from their, or something else. This way people are limited so servers don't pile up with data. Depends if you need to limit it or not.
Offline
That link in your post linked me to your My Stuff page.
But if you do it through Scratch, you can have your own web browser! Like Greatdane's idea.
Offline
Thanks for the feedback!
Could you think of project examples? I really would like to know especific ideas you might have for projects that read/write data to the web.
I Lucario621, you're right, for storing data on the web, we could provide a table so you can store values there. Something like factual.com
Offline
On the scratch connections website, theres a project which reads RSS feeds, that uses python, but if scratch could do it, that would be really cool.
Offline
You're right Marky, we could have RSS feeds for Scratch.
Offline
I like the storing data on the web for a game. It's good for like saving your game and stuff
Maybe a tool called a tracker that when you click it gives you different options such as sports, weather, etc., then you can customize and add it. It would be much easier to Scratchers to use a tool than make it
Offline
andresmh wrote:
Thanks for the feedback!
Could you think of project examples? I really would like to know especific ideas you might have for projects that read/write data to the web.
I Lucario621, you're right, for storing data on the web, we could provide a table so you can store values there. Something like factual.com
Cool
Magnie, I guess its just that I'm not an OS fan, so just ignore me lol.
Maybe, you could make a top-down view multidirectional soccer game, and you could use use player's actual stats from a soccer website. Is that helpful?
Offline
Lucario621 wrote:
andresmh wrote:
Thanks for the feedback!
Could you think of project examples? I really would like to know especific ideas you might have for projects that read/write data to the web.
I Lucario621, you're right, for storing data on the web, we could provide a table so you can store values there. Something like factual.comCool
![]()
Magnie, I guess its just that I'm not an OS fan, so just ignore me lol.
Maybe, you could make a top-down view multidirectional soccer game, and you could use use player's actual stats from a soccer website. Is that helpful?![]()
That would be cool, an AI of that player's actual stats, but that's advanced. But someday, when we all grow up and get a PHD from MIT, we can create that!
Offline
adriangl wrote:
Lucario621 wrote:
andresmh wrote:
Thanks for the feedback!
Could you think of project examples? I really would like to know especific ideas you might have for projects that read/write data to the web.
I Lucario621, you're right, for storing data on the web, we could provide a table so you can store values there. Something like factual.comCool
![]()
Magnie, I guess its just that I'm not an OS fan, so just ignore me lol.
Maybe, you could make a top-down view multidirectional soccer game, and you could use use player's actual stats from a soccer website. Is that helpful?![]()
That would be cool, an AI of that player's actual stats, but that's advanced. But someday, when we all grow up and get a PHD from MIT, we can create that!
Lol
What else could we do....
Nothing right now, but I'll be thinking about it.
Offline
It would be cool if there was like an AI trainer. Let me explain:
You play a test game
Your accuracy, score, etc. is fed into a database
That information will turn over to your AI opponent so that the AI is just as good as you
This would be cool for shooting games and stuff like that
Offline
That would be cool.
Offline
andresmh wrote:
Some examples of data that would be nice if Scratch could read from the web as variables or lists are:
- Sport information (scores, baseball stats, etc) from sites like espn.com
- Weather information from sites like weather.com (temperature in a city, rain, etc)
- Movies information from sites like imdb.com
- Music information (lyrics, songs, musicians) from sites like last.fm
- Social information from sites like Facebook, Twitter (updates, photos of friends, etc)
- Scratch website info like loveits on a project, friends, comments, etc
What others?
Some of examples of data that would be nice if Scratch could save on the web are:
- Results from a survey
- Scores of Scratch game
- After playing a game maybe it could update the player's Twitter/Facebook status to tell others about it.
I agree with all of those
I'd also like to see RSS feeds somehow imported as lists.
Offline
Then their project wouldn't work.
Maybe there could be a block called "If Fails Do" so and so.
Offline
-Loading images and music into Scratch:
[load [url]into [costume] ]
[play sound [url]]
Loading XML:
[set [variable] to (load XML file [url]) ]
set [another variable] to (parse value ["items.things[0]@attribute"] from [variable])
And maybe something with HTTP GET and POST but for the life of my I can't think of how that would work.

Offline
I'm just wondering... what blocks would you use for getting some information from a website? I can't really think of what the blocks would be like.
Maybe people could make a project where you can see what percentage of the projects on Scratch are yours. If Scratch could check how many projects there are on the website, and how many projects you have (or the program asks you to input the number in), you could do it!
Offline
Jonathanpb wrote:
I'm just wondering... what blocks would you use for getting some information from a website? I can't really think of what the blocks would be like.
Good question! I don't know. Maybe they could be sensor blocks? Like web sensors in that experimental version of NetScratch?
Offline
I have one question, why is the NetScratch website gone?
Offline
Cool idea! Off-hand, here are some suggestions:
1. Read topology of remixes of a particular Scratch project from the Scratch website (linked list of userID's, maybe, and maybe avatars as well), then create a 3D-ish world where you can walk through a forest of the remixes (which may be clickable, to bring up the actual project).
2. Virtual geocaching: Gobo strolls through a map pulled from Google, and places virtual Tupperware containers full of sprites, which others can find via a virtual geocaching website database.
4. Fantasy Chess Team: Pull scores from USCF site; Choose players; Store and trade your dream chess players like they're Pokemon. EPIC WIN.
5. Appetite suppressant: Read the mediafoodcam tweets; when there's a new one, pull a random image with the keyword "roadkill" and send it to andresmh as a Twitpic
6. Collaborative access, via Scratch, to a cloud-based text document, e.g., Google Docs.
7. Bard mash-up: Read lines from Project Gutenberg's online Hamlet while displaying random Wikimedia Commons images having the keyword 'Denmark'. Variation: Random Visual Haiku.
8. Good Old Fashion RPG: Store attributes, position, inventory of a spaceship, which you maneuver through a star field pulled from images at sky-map.org.
9. Pull data from your Google calendar, make a list from its entries, use the frequency of appointments and other characteristics in the list to make a musical composition, store the notes on a server with your friends so you play simultaneously, comparing the musicality of the upcoming week.
Offline
Topic closed