Spirit_of_Night Posted September 17, 2013 Author Share Posted September 17, 2013 this : http://warframe.deathwishgame.co.uk/alerts.json is the page that the desktop gadget loads. Its even more tidy than xml (though it probably has a few extras lying about) The problem with anything like xml is you can't call them using javascript, because of cross site scripting restrictions. The only way (that i'm aware of) that you can load remote data with javascript, is a JSONP request. If I were using PHP as the backend, it would be so much easier, which is why a lot of the other sites can do it faster, and easier, but this is a desktop app, so it has to serve data slightly differenlty. The only issue is the sheer number of people connecting. I'm honestly happy its this popular. My brother has spotted me the money to run the server, and if I can use it to further my skills, and get myself a job to pay for the site, thats excellent, but for now, I'm not only using the VPS i've gotten to get the gadget running smoothly, I'm also testing out new web coding techniques that I couldn't use on the old host. The chat interface on the left of the website you download the gadget from is one such example. It uses long-polling for instant-update chat, without any more work than simple javascript from the client. Link to comment Share on other sites More sharing options...
DrugsForChildren Posted September 17, 2013 Share Posted September 17, 2013 (edited) ah ofcourse, sorry i completely forgot about the cross-domain protection. probably because i hate it so much, if you dont want to use your server yahoo has a service called yql which can convert the xml to other formats, here is an example: http://query.yahooapis.com/v1/public/yql?q=SELECT%20*%20FROM%20xml%20WHERE%20url%3D%22http%3A%2F%2Fcontent.playwarframe.com%2Falerts.xml%22&format=jsonp I will make a jsfiddle tonight for an example (also just because I am interested now) EDIT: http://jsfiddle.net/ESd53/3/ Edited again, fixed cased sensitivity of filter YQL uses ip based authentication which is nice as there is no api key requirement, and its running from an enterprise server obviously. The limitations average is something like one call per ip per 2.75 seconds so there is no worries of a widget ever exceeding it. Just an idea for stability and reducing overheads Edited September 18, 2013 by DrugsForChildren Link to comment Share on other sites More sharing options...
kimie2581 Posted September 19, 2013 Share Posted September 19, 2013 nothing happens when i click instal please help? Link to comment Share on other sites More sharing options...
Spirit_of_Night Posted September 19, 2013 Author Share Posted September 19, 2013 If you right-click your desktop, is there a "gadgets" option on the menu? Link to comment Share on other sites More sharing options...
battlehotdog Posted September 19, 2013 Share Posted September 19, 2013 how do i activate it? i started the exe and clicked "install", but nothing happended Link to comment Share on other sites More sharing options...
LiosPendragon Posted September 19, 2013 Share Posted September 19, 2013 I just get an "unspecified error" window when i tell windows 7 to open the .gadget file : ( Link to comment Share on other sites More sharing options...
Spirit_of_Night Posted September 25, 2013 Author Share Posted September 25, 2013 New version out: added multi-filtering, and filtering for only ? alerts. Sorry for slow release of auto-patching. Its not as easy to implement as I'd hoped. Link to comment Share on other sites More sharing options...
SoloCreep Posted September 26, 2013 Share Posted September 26, 2013 Perfect app! Thanks you for this, its just what I was looking for. Link to comment Share on other sites More sharing options...
MaxImpact Posted September 27, 2013 Share Posted September 27, 2013 This is strange, I have this on right now, and it's saying there's a Nano Spores alert on Neso, Neptune with 21m remaining, but there actually is no alert there. Link to comment Share on other sites More sharing options...
Zeroabsolute Posted September 27, 2013 Share Posted September 27, 2013 I've installed it, and when I go to gadgets (right click, gadgets) does not appears, any idea? Link to comment Share on other sites More sharing options...
Spirit_of_Night Posted September 28, 2013 Author Share Posted September 28, 2013 I've installed it, and when I go to gadgets (right click, gadgets) does not appears, any idea? Curious. Have you tried re-downloading the file (it is quite large). The .gadget file is effectively a zip file so it is possible it will be able to attempt to install with a corrupt download. This is strange, I have this on right now, and it's saying there's a Nano Spores alert on Neso, Neptune with 21m remaining, but there actually is no alert there. My gadget pulls directly from their twitter feed, so if it lists, but is not on the actual game, then it is more than likely a problem with their twitter feed. Remember that you cannot see alerts in a system that you have not fully explored (completed every planet at least once). Link to comment Share on other sites More sharing options...
ScorchedIce Posted September 28, 2013 Share Posted September 28, 2013 I can't install this? i've been trying for a few hours now and i can't get it installed, and i already have some other gadgets installed, and they had no problems, what do? Link to comment Share on other sites More sharing options...
Spirit_of_Night Posted September 28, 2013 Author Share Posted September 28, 2013 I have a possible solution to the problems some people are having installing it. Its a bit of a shot in the dark, but I'll have a version for you guys up in a moment. Thank you for your patience, and sorry it isnt working for some of you. Link to comment Share on other sites More sharing options...
Spirit_of_Night Posted September 28, 2013 Author Share Posted September 28, 2013 Potential fix is up on the website, please let me know if that helped for those of you who are having issues installing. Link to comment Share on other sites More sharing options...
FutureTroll Posted September 29, 2013 Share Posted September 29, 2013 Downloaded both the gadget itself and the fix , still can't install / extract it Link to comment Share on other sites More sharing options...
Spirit_of_Night Posted September 29, 2013 Author Share Posted September 29, 2013 Downloaded both the gadget itself and the fix , still can't install / extract it Your first time posting on here. What OS are you running? What is the exact issue you are having? Does it download successfully? After that does it show you the standard gadget (install/cancel) window? Link to comment Share on other sites More sharing options...
Spirit_of_Night Posted September 29, 2013 Author Share Posted September 29, 2013 Would people like to see a support-ticket type system on the website? Would it help get some personal feedback or bug fixing? Link to comment Share on other sites More sharing options...
ScorchedIce Posted September 29, 2013 Share Posted September 29, 2013 I'm still having the same issue as FutureTroll, i even downloaded all of the Windows updates i hadn't, and i'm still having this issue Link to comment Share on other sites More sharing options...
Spirit_of_Night Posted September 29, 2013 Author Share Posted September 29, 2013 The attempted fixed version didn't help, then? From what you posted previously, I presume you get this window http://warframe.deathwishgame.co.uk/install.png And when you click install nothing happens? Link to comment Share on other sites More sharing options...
lamana2 Posted September 30, 2013 Share Posted September 30, 2013 window 7 ? or 8 Link to comment Share on other sites More sharing options...
ScorchedIce Posted September 30, 2013 Share Posted September 30, 2013 The attempted fixed version didn't help, then? From what you posted previously, I presume you get this window http://warframe.deathwishgame.co.uk/install.png And when you click install nothing happens? Exactly. Link to comment Share on other sites More sharing options...
ZeroJohn Posted September 30, 2013 Share Posted September 30, 2013 Thank god for this, now I hardly miss any good alerts! Link to comment Share on other sites More sharing options...
Spirit_of_Night Posted October 1, 2013 Author Share Posted October 1, 2013 Exactly. Over the next few days, I'll separate out the various bits of code into several different downloadable gadgets. If you wouldn't mind giving me a hand in figuring out what part of it is causing the issues. Once I've gotten them split up, If you could download and install each, and see what works. If you could, this would be a great help. Link to comment Share on other sites More sharing options...
StanicEnemy Posted October 1, 2013 Share Posted October 1, 2013 Where is the download link and is it legal? Link to comment Share on other sites More sharing options...
Spirit_of_Night Posted October 1, 2013 Author Share Posted October 1, 2013 The download is on the webiste at http://warframe.deathwishgame.co.uk And yes, it's legal, It uses resources from the Fansite Kit. And all the code is my own written code, with the exception of the OAuth library (for Twitter integration) which is freely available software. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now