Latest Posts
- how to go on facebook from school
- how to embed flash into facebook
- how to view private facebook photos
- how to view facebook private profiles
- how to contact facebook
- how to meet girls on facebook
- how to facebook
- how to tell if someone is online on facebook
- how to fix facebook
- how to meet girls on facebook
Tag This!
2010
account
address
android
apps
best
block
blocked
change
chat
codes
contact
cool
creating
delete
email
Facebook
free
funny
games
girls
groups
hack
hidden
history
layouts
meet
money
online
page
pages
pictures
privacy
private
profile
profiles
search
settings
someone
support
symbols
upload
view
without
Since 2005 we have provided graphics and layouts and profile tweaks for myspace. We no longer support Myspace profiles. Myspace is dead. We have transitioned... So now, you can pimp your Facebook.
facebook status games 2010
Question by Matt: What programming language is...
Question by Matt: What programming language is this?
A PC game launcher reads this code to display the game server status. I’d like to use this code in an HTML widget, but I have no clue what kind of code this is. The code is as follows:
refreshContent({“status”:false,”serverStatus”:1,”news”:[{"title":"Summoner Spotlight -- Issue #3","url":"http:\/\/www.leagueoflegends.com\/node\/1258","date":"11.05.2010"},{"title":"Garen Sale: 50% Off Garen, Sanguine Garen, Desert Trooper Garen, Commando Garen","url":"http:\/\/www.leagueoflegends.com\/node\/1257","date":"11.05.2010"},{"title":"Skin Sale: 50% Off Guerilla Tristana, Emerald Taric, Jack of Hearts","url":"http:\/\/www.leagueoflegends.com\/node\/1256","date":"11.03.2010"},{"title":"Riot Games Presents: Battle Training ","url":"http:\/\/www.leagueoflegends.com\/node\/1255","date":"11.03.2010"},{"title":"The Harrowing Map is Returning! ","url":"http:\/\/www.leagueoflegends.com\/node\/1254","date":"11.02.2010"}],”community”:[{"title":"LeBlanc, the Deceiver","url":"http:\/\/www.leagueoflegends.com\/board\/showthread.php?t=319960"},{"title":"LoL Wins 5 Awards at GDC Online!","url":"http:\/\/www.leagueoflegends.com\/board\/showthread.php?p=3323364"},{"title":"WCG 2010 in Los Angeles","url":"http:\/\/leagueoflegends.com\/wcg2010"},{"title":"Refer a Friend","url":"http:\/\/www.leagueoflegends.com\/referrals\/invite"},{"title":"Facebook Tristana","url":"http:\/\/www.leagueoflegends.com\/facebook"}]});
Interesting. Do you know of a way to read the serverstatus part of the code using HTML?
Best answer:
Answer by Ratchetr
It looks like JSON encoded data.
JSON isn’t a programming language, just an encoding scheme, like XML.
Any language can use it. It’s used extensively by AJAX for web apps written in JavaScript, but there are many, many other uses.
ETA: You can’t “read the serverstatus part of the code using HTML” because HTML isn’t a programming language, it’s a markup language, and it doesn’t have built in support for JSON. You would have to use JavaScript to do that.
Give your answer to this question below!