|
|
General discussion Topics related to various aspects of Champions of Regnum |
|
Thread Tools | Display Modes |
08-12-2009, 09:45 PM | #2 |
Count
Join Date: Jun 2007
Posts: 1,186
|
Excellent work Xia!
__________________
Inquisition |
08-13-2009, 10:36 AM | #3 |
Initiate
Join Date: Sep 2008
Posts: 123
|
Yep nice work! Are you planning on producing statistics from this?
Also, is there any chance the timeline API objects could be made more machine-readable? For example instead of (or as well as) the "text" field, add fields something like: Code:
// Syrtis captured Trelleborg fort { realm: "Syrtis", type: "fort", target: "Trelleborg" } // Ignis captured a Syrtis gem { realm: "Ignis", type: "gem", target: "Syrtis" }
__________________
Eric Onteron (50 Conjurer); Eric as a [noob] lock (50) | Horus Alsius (Retired) |
08-13-2009, 11:52 AM | #4 | |
Initiate
Join Date: Dec 2008
Location: Spawned at save
Posts: 198
|
Quote:
You're right that the timeline object should be more machine readable. I wasn't thinking straight when I made that format at 3 am. Fixed, now the format looks like this: Code:
{ "type":"gem_capture", "timestamp":"2009-08-06T19:39:49+00:00", "target":"alsius gem", "actor":"ignis" } { "type":"fort_capture", "timestamp":"2009-08-06T19:53:52+00:00", "target":"shaanarid castle", "actor":"syrtis" }
__________________
|
|
08-13-2009, 11:58 AM | #5 |
Initiate
Join Date: Sep 2008
Posts: 123
|
Fantastic, thanks!
__________________
Eric Onteron (50 Conjurer); Eric as a [noob] lock (50) | Horus Alsius (Retired) |
08-13-2009, 03:00 PM | #6 |
Count
Join Date: Jul 2007
Location: Toulouse
Posts: 1,335
|
Is it possible to have an XML version or even an RSS feed ?
__________________
« Thanks all, you are right I'm great with the barbarian ... for killing mobs. » -- Athena Stillwater
|
08-14-2009, 12:28 AM | #7 |
Initiate
Join Date: Dec 2008
Location: Spawned at save
Posts: 198
|
That's a great idea. I've placed RSS feed links from the world list and in auto-discovery tags on the timeline pages.
I assume you want the feed to get event updates so it contains only last 100 captures. Please use the API if you want to grab the whole data set, most programming languages should already have a JSON parser.
__________________
|
08-14-2009, 03:10 PM | #8 | |
Count
Join Date: Jul 2007
Location: Toulouse
Posts: 1,335
|
Quote:
I'll see what I can do with JSON data later ^^
__________________
« Thanks all, you are right I'm great with the barbarian ... for killing mobs. » -- Athena Stillwater
|
|
Thread Tools | |
Display Modes | |
|
|