xml was an example. I agree JSON would be more suitable.
On the topic of splitting up workload...
It occurred to me that the original wiki parsing was duplicating the effort of
the game. Both would parse the data files to produce data structures. Rather
than maintain separate code, I would like to add a flag to FDRPG command line
arguments (http://www.freedroid.org/doxygen/tools/cmdlineref.html) to do exactly
this - read data files and output data in JSON format.
PGPG could then call the game with this flag, read-in the JSON, re-format and
output Player Guide pages. |