To find out the XML metadata for a single image, locate the image in MMS and add ".xml" to the URL. This will produce an XML file that contains information about the image along with the different URLs to the various sizes. These URLs can be used when a particular size is needed to be displayed. For example, the URL http://mms.thlib.org/media_objects/604.xml produces the following XML:
If one wants the information about a specific collection of images, such as those with a parameter "?keyword_id=…", append the parameter "&format=xml" to the end of the URL. This will provide an "array" of XML nodes with information about each image in that group. These nodes do not however contain the URL for each individual version of each picture. Instead, the idea for that image must be used as described above to find the individual image locations. An example of this is:
One can perform a search on MMS through the URL by using GET parameters, namely by calling http://mms.thlib.org/media_searches? followed by a list of key=value pairs. The most common search parameters are:
media_search_title : This is the search keyword(s), such as "mountain"
media_search_type : this can be either "simple" or "boolean". Simple is a regular search, boolean is advanced search.