Jasque
17-07-2004, 20:43
Over the past few months I have been working on an economic simulator for NationStates that requires me to use the XML feed. I have been running my tests through Microsoft Excel, and importing the XML feed into the spreadsheet. This worked perfectly fine on the old server, but with the new server Excel no longer imports every field from the XML feed. On top of that, it adds an extra field for every numerical value it imports.
I know almost nothing about how XML feeds operate, but I do know that the problem is the result of something that was changed along with the servers. If anybody could help identify the problem or suggest a work around method, I would be greatly appreciative. I have months of work invested in this project, and the change in the XML feed has seriously damaged my ability to continue.
Here is what I CAN import for my own nation (Jasque) and most others. Notice that, among many others, population and the income tax rate are missing. These are rather important for my economic model, so I’d like to have them back. Also, notice the “#agg” fields. These will be created for anything with a numerical value (including currency or animal, if you input a number for those categories). This was not the case when the old server handled the XML feed.
/ANIMAL
/CATEGORY
/CURRENCY
/FLAG
/FREEDOM/CIVILRIGHTS
/FREEDOM/ECONOMY
/FREEDOM/POLITICALFREEDOM
/FULLNAME
/GOVT/ADMINISTRATION
/GOVT/ADMINISTRATION/#agg
/GOVT/COMMERCE
/GOVT/COMMERCE/#agg
/GOVT/DEFENCE
/GOVT/DEFENCE/#agg
/GOVT/EDUCATION
/GOVT/EDUCATION/#agg
/GOVT/ENVIRONMENT
/GOVT/ENVIRONMENT/#agg
/GOVT/HEALTHCARE
/GOVT/HEALTHCARE/#agg
/GOVT/LAWANDORDER
/GOVT/LAWANDORDER/#agg
/GOVT/PUBLICTRANSPORT
/GOVT/PUBLICTRANSPORT/#agg
/GOVT/SOCIALEQUALITY
/GOVT/SOCIALEQUALITY/#agg
/GOVT/SPIRITUALITY
/GOVT/SPIRITUALITY/#agg
/GOVT/WELFARE
/GOVT/WELFARE/#agg
I know the XML feed includes everything I need and that it works for web based methods (as used in The Meritocracy’s census), but I can no longer import the entire XML feed into Excel. I haven’t changed anything on my side, so my conclusion is that something must be different on the NS side.
Thank you in advance for your attention to this problem.
I know almost nothing about how XML feeds operate, but I do know that the problem is the result of something that was changed along with the servers. If anybody could help identify the problem or suggest a work around method, I would be greatly appreciative. I have months of work invested in this project, and the change in the XML feed has seriously damaged my ability to continue.
Here is what I CAN import for my own nation (Jasque) and most others. Notice that, among many others, population and the income tax rate are missing. These are rather important for my economic model, so I’d like to have them back. Also, notice the “#agg” fields. These will be created for anything with a numerical value (including currency or animal, if you input a number for those categories). This was not the case when the old server handled the XML feed.
/ANIMAL
/CATEGORY
/CURRENCY
/FLAG
/FREEDOM/CIVILRIGHTS
/FREEDOM/ECONOMY
/FREEDOM/POLITICALFREEDOM
/FULLNAME
/GOVT/ADMINISTRATION
/GOVT/ADMINISTRATION/#agg
/GOVT/COMMERCE
/GOVT/COMMERCE/#agg
/GOVT/DEFENCE
/GOVT/DEFENCE/#agg
/GOVT/EDUCATION
/GOVT/EDUCATION/#agg
/GOVT/ENVIRONMENT
/GOVT/ENVIRONMENT/#agg
/GOVT/HEALTHCARE
/GOVT/HEALTHCARE/#agg
/GOVT/LAWANDORDER
/GOVT/LAWANDORDER/#agg
/GOVT/PUBLICTRANSPORT
/GOVT/PUBLICTRANSPORT/#agg
/GOVT/SOCIALEQUALITY
/GOVT/SOCIALEQUALITY/#agg
/GOVT/SPIRITUALITY
/GOVT/SPIRITUALITY/#agg
/GOVT/WELFARE
/GOVT/WELFARE/#agg
I know the XML feed includes everything I need and that it works for web based methods (as used in The Meritocracy’s census), but I can no longer import the entire XML feed into Excel. I haven’t changed anything on my side, so my conclusion is that something must be different on the NS side.
Thank you in advance for your attention to this problem.