Planetarion Forums

Planetarion Forums (https://pirate.planetarion.com/index.php)
-   Planetarion Help Desk (https://pirate.planetarion.com/forumdisplay.php?f=6)
-   -   For the techie types regarding scans. (https://pirate.planetarion.com/showthread.php?t=199233)

Fiery 26 Jan 2011 21:36

For the techie types regarding scans.
 
It has been brought to PA Team's attention that many of you are unaware of the light version of scans, which is accessible by appending &inc=1 to the scan url. This reduces the size of the scan page requested which will result in saving bandwidth.

NitinA 31 Jan 2011 22:12

Re: For the techie types regarding scans.
 
This would certainly save you guys bandwidth--though not too much. I'd imagine any decent developer out there would just parse out the values and treat the rest of the data as junk. It'd save the time between the data transfer from PA<->Tool and vice versa by removing the bytes saved from Google Analytics, CSS links, etc. But the incentive for developers is really not there to make the changes now... Mabye if you're creating a new PA tool, but going back and changing the code now is kinda useless. It's not like any PA tool gets anywhere near a fekload of traffic that they'd be trying to make that kind of efficiency changes.

What I'd personally like to see is a PA XML API. If this were done, we'd certainly see a new generation of planetarion integration and tools. Take the XML ship stat dumps you guys offer currently and then combine the information with various other XML feeds (static and RPC). If you guys are looking to save bandwidth, the XML version would be the way to go (you'd completely get rid of those useless [to parsers] HTML tags)...

If I were developing PA tools, as part of a PA XML API) I'd like to see some of the following:

- static feed of xml ship stats (already exists)
- static xml feeds which update each round with tech tree / constructions / possible scan values / etc.
- XML RPC of a scans feed (would take the scan_id as param)
- developer api keys / authentication on an alliance level which would allow an RPC for lists of reporting incs, statuses, update notes, etc. on the alliance defence page via XML RPC

ellonweb 1 Feb 2011 00:58

Re: For the techie types regarding scans.
 
Quote:

Originally Posted by NitinA (Post 3203984)
What I'd personally like to see is a PA XML API. If this were done, we'd certainly see a new generation of planetarion integration and tools.

XML is overrated. It might have made things slightly easier if we were starting from scratch now, but we're not, and it'd have zero effect. Unless you're volunteering?


All times are GMT +1. The time now is 17:31.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2018