New Manifest Format
Note: this information is obsolete.
I'd written a parser to read those manifest files, but the format was kind of irregular, so I'm going to spend an hour making it more regular. That way, it's easier to parse, and safer to parse, ultimately. The new manifest format is CSV.
The first field is the type:
m means the mxd file
s means a shape, and implies that the related files must be figured out later
f means a file
The second field is the name.
The third field is the filename.
We'll assume that no stray quotes or commas are in the data.
m,,G:\blah s,shape name,G:\blah f,,G:\blah
Use perl/bin/ppm.bat to install Text-CSV-Simple to get a csv reader. Attached is some untested code that reads a manifest and returns a list of files, sort of. There's still an issue of getting all the different types of shape files. It's just not fully determined.
| Attachment | Size |
|---|---|
| readmanifest.pl.txt | 703 bytes |

