Hello all,
I've been using Sentinel this month and liking it so far, mostly because it's lightweight and do not impact my game experience (unlike HeroStats).
One of the features I like most is the character feed. I have a personal blog where I have a Javascript snippet with my character data, updating it manually after every game session. I figured I could use CIT's feed for this, but there are a few things that keep me from it:
- The data is shown "as is", meaning you can not just insert it in your page using a <script> tag. Including it via Ajax is not possible due to the "same domain policy" on Ajax requests. The only way to add it to your page is to use a server-side language (such as PHP) as a proxy, since the same-domain policy does not apply to them.
- The character list on the page can be sorted, but that sorting is not applied to the feed.
- Alignment tracking is not complete yet, it only tracks "Hero" and "Villain", and I have all alignments (including Praetorian ones) listed in my snippet.
For the first item, I suggest a way to convert the JSON feed into a script, not just raw data. Also, it could be a different option, because the raw JSON feed is still useful. Maybe call it "Javascript feed" or something. Currently, the raw "JSON feed" is like this:
[{"char_id":"123","name":"Keen Stronghold","status":"Offline",...}, {...}, ..., {...}]
The new "Javascript feed" could be something like this:
var CIT_DATA = [{"char_id":"123","name":"Keen Stronghold","status":"Offline",...}, {...}, ..., {...}];
The difference would be that the data is stored inside a variable, which makes the variable available in your page when you do the following:
<script type="text/javascript" src="http://cit.cohtitan.com/js/priv/123abc"/>
If you do the above with the current JSON feed, the data isn't stored anywhere and you can't use it.
The character sorting feature is very useful to me. I have several level 50's and there's no way to sort them "the way I want" using the character variables. Having it applied on the feed as well would save me the trouble of creating client-side scripts for sorting.
Last but not least, complete Alignment tracking, which I believe is already in the works. Hopefully.
That's about it. Thanks for listening and keep up the good work
