Stunts Forum

Stunts - the Game => Stunts Forum & Portal => Topic started by: dreadnaut on September 13, 2013, 12:05:32 PM

Title: Maybe for the front page?
Post by: dreadnaut on September 13, 2013, 12:05:32 PM
I was thinking about something like this (http://stunts.hu/test-tracks.php). For ZakStunts it's easy to keep stuff up to date, while others (CTG?) would have to edit the .json file manually —it's easy text though.
Title: Re: Maybe for the front page?
Post by: Duplode on September 13, 2013, 06:04:48 PM
The .json files are an excellent idea. If they became available, I would happily write a JavaScript-only version of your page to use in Southern Cross.
Title: Re: Maybe for the front page?
Post by: dreadnaut on September 13, 2013, 06:34:09 PM
Quote from: Duplode on September 13, 2013, 06:04:48 PM
The .json files are an excellent idea. If they became available, I would happily write a JavaScript-only version of your page to use in Southern Cross.

That was my initial idea too, but then... cross-domain xhr don't work :|
Title: Re: Maybe for the front page?
Post by: Duplode on September 13, 2013, 06:50:41 PM
Quote from: dreadnaut on September 13, 2013, 06:34:09 PM
Quote from: Duplode on September 13, 2013, 06:04:48 PM
The .json files are an excellent idea. If they became available, I would happily write a JavaScript-only version of your page to use in Southern Cross.

That was my initial idea too, but then... cross-domain xhr don't work :|

Oops - that's true, and in this case annoying. In the specific case of Southern Cross I have the option of using the Hakyll infrastructure to generate the page statically. I "only" would need to remember updating the site whenever a new race is available...  ::) 
Title: Re: Maybe for the front page?
Post by: dreadnaut on September 16, 2013, 09:35:53 PM
There, a rough version: http://stunts.hu/