Page 1 of 1

XML Suggestions (for coders)

Posted: Sat Jun 17, 2006 6:36 am
by kevinc
Hi there,

Having the map files in XML, and the new RSS feeds opens up a lot of potential for people to code addons for CC. There's 2 things that would make it even better.

#1 If the Map XML file had the path to the map image in it. e.g.

Code: Select all

<smalimage>Classic.S.jpg</smallimage>
<smallheight>325</smallheight>
<smallheight>325</smallheight>
Although there's a naming convention used at the moment, this would be a little cleaner.

#2 Maps XML file. If there was a list of maps that are live, and just pointed to the relevant XML map file that would also be very useful. Something along these lines.

Code: Select all

<maps>
  <map>
    <title>Africa</title>
    <xml>Africa.xml</xml>
  </map>
</maps>
Thanks

Posted: Sat Jun 17, 2006 8:10 am
by Jota
One issue with #1 is that the map XML files are created by the mapmaker, while the map's filename is chosen by lack. It might be better to just do #2 and have the filenames included in the "Maps XML file".

Posted: Sun Jun 18, 2006 6:19 am
by kevinc
True. If that's easier it would be cool too!

Posted: Sun Jun 18, 2006 7:52 am
by lackattack
Two words: to-do list

Posted: Sun Jun 18, 2006 7:56 am
by kevinc
Of course. It's very much a wish feature! :)

I wouldn't think you'd be able to get a chance to do it until sometime around 2012

Posted: Sun Nov 05, 2006 9:42 pm
by lackattack
Done!

Our maps "master file" is located at http://www.conquerclub.com/maps/maps.xml