From: Ryan S. <rsc...@gm...> - 2011-05-13 10:01:13
|
On Fri, May 13, 2011 at 12:30 AM, Carl Boettiger <cbo...@gm...> wrote: > > |That just worked fine for me given the dryad short from identifier to the > data. I'm curious what the flow would look like from a Dryad identifier to > a study, i.e. if that would go through METS or OAI-PMH to get the > identifiers for each data file. i.e. If I followed the discussion earlier, > treeBASE would be able to provide the short form dryad identifer to the > study. It looks like I could enter that into METS as outlined in (2) on the > wiki, extract the identifiers to the data, enter each those into METS, and > proceed as on the wiki to get the files? Yes, you could do that. If you're interested in getting the files directly (without going through the Dryad package objects), you could use the DataONE API, which is still a bit rough, but focuses more on the data files. The documentation (also a bit rough) is here: http://code.google.com/p/dryad/wiki/D1RESTfulAPI > I see I can check the MIMETYPE once I'm on the METS page for a datafile. > I don't suppose I can query by MIMETYPE? > Not yet, but you can obtain the file extensions easily through the DataONE API: http://datadryad.org/mn/object |