XML feed question.
ok i got a newbie question, i love this game so much im paying to have a site built for our region. i would like the site to have NS updates and maybe a GDP calculator of our own on it. i have met scripters and coders that say they can do it they just need more information about the XML feed and thats where i get like "uhhh, okay...". so is there a game mod out there that can help or anyone with knowledge about this?
In the news archives there is a link somewhere.
National UN Feed: http://www.nationstates.net/cgi-bin/nationdata.cgi?nation=salusasecondus
Regional UN Feed: http://www.nationstates.net/cgi-bin/regiondata.cgi?region=the_rejected_realms
To use, just replace my name and my region with your nation's name and region. For best results use all lower-case and replace all spaces with underscores (ie. "The Rejected Realms" becomes "the_rejected_realms").
For best results use all lower-case and replace all spaces with underscores (ie. "The Rejected Realms" becomes "the_rejected_realms").
On NSwiki (http://ns.goobergunch.net/wiki/index.php/Main_Page), we're using a wiki variable that parses spaces into underscores. So far, it appears to be entirely case-insensitive for the XML feed, access to Regional Controls, and automated links to a couple of the calculators. See Nation:SalusaSecondus (http://ns.goobergunch.net/wiki/index.php/SalusaSecondus) and Region:the Rejected Realms (http://ns.goobergunch.net/wiki/index.php/The_Rejected_Realms) for a couple of good examples. (look at the bottom of the infoboxes)