Thursday, April 1, 2010

Some more news about the fields

One thing I forgot about in the last post about the database fields was the institution_code. This should be set by the AAMHC and should be a unique code (probably 3 letters) for each institution they deal with. This can be added to any information passed to the AAMHC just so they know what data is coming from who.

I have also done a proforma Excel file and a proforma XML file for museums to contribute data. These should be easy to automatically import into the AAMHC database. The XML proforma includes the format for sending images and videos. We will have to work out some system for the ARGUS users to send images as well.


Example of XML proforma:

<?xml version="1.0"?>
<cmsdata xmlns:aamhc="http://www.ashiwi-museum.org/cmsdata.html">
<aamhc:institution_name>iiiiii</aamhc:institution_name>
<aamhc:object_key>aaaaaa</aamhc:object_key>
<aamhc:source_accession>bbbbbb</aamhc:source_accession>
<aamhc:object_name>cccccc</aamhc:object_name>
<aamhc:object_date>dddddd</aamhc:object_date>
<aamhc:culture_group>eeeeee</aamhc:culture_group>
<aamhc:description>ffffff</aamhc:description>
<aamhc:materials>gggggg</aamhc:materials>
<aamhc:origin_place>hhhhhh</aamhc:origin_place>
<aamhc:notes>kkkkkk</aamhc:notes>
<aamhc:category>mmmmmm</aamhc:category>
<aamhc:artist_name>nnnnnn</aamhc:artist_name>
<aamhc:measurements>oooooo</aamhc:measurements>
<aamhc:department>pppppp</aamhc:department>
<aamhc:collection>rrrrrr</aamhc:collection>
<aamhc:legal_status>ssssss</aamhc:legal_status>
</cmsdata>

<?xml version="1.0"?>
<cmsimage xmlns:aamhc="http://www.ashiwi-museum.org/cmsimage.html">
<aamhc:institution_name>iiiiii</aamhc:institution_name>
<aamhc:object_key>aaaaaa</aamhc:object_key>
<aamhc:source_accession>bbbbbb</aamhc:source_accession>
<aamhc:image>
<aamhc:image_filename>cccccc</aamhc:image_filename>
<aamhc:image_fullpath>dddddd</aamhc:image_fullpath>
</aamhc:image>
<aamhc:image>
<aamhc:image_filename>eeeeee</aamhc:image_filename>
<aamhc:image_fullpath>ffffff</aamhc:image_fullpath>
</aamhc:image>
<aamhc:video>
<aamhc:video_filename>gggggg</aamhc:video_filename>
<aamhc:video_fullpath>hhhhhh</aamhc:video_fullpath>
</aamhc:video>
</cmsimage>

No comments:

Post a Comment