mime type of data files

3 views
Skip to first unread message

Hilmar Lapp

unread,
May 6, 2012, 9:18:29 PM5/6/12
to Dryad Developers
I'm wondering which MIME type data files are served with from Dryad, and whether there is any way to influence or control this as a user (specifically, as a depositor).

The concrete case at hand is that we may be depositing an OWL file, and to fully interoperate with the URI-based dating/versioning scheme of a popular ontology repository (obolibrary.org), it would be expected to be served as application/rdf+xml. How hard is it to accomplish that?

-hilmar
--
===========================================================
: Hilmar Lapp -:- Durham, NC -:- informatics.nescent.org :
===========================================================



Mark Diggory

unread,
May 7, 2012, 12:27:07 AM5/7/12
to drya...@googlegroups.com
Hilmar,

Currently, DSpace is a bit ridged in this area.  if it were rdfxml, we would need to associate application/rdf+xml with a specific file extension in the Bitstream Format Registry, then use the extension in the file name of the deposited file.

Mark
--
You received this message because you are subscribed to the Google Groups "dryad-dev" group.
To post to this group, send email to drya...@googlegroups.com.
To unsubscribe from this group, send email to dryad-dev+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/dryad-dev?hl=en.



--
@mire Inc. 
Mark Diggory (Schedule a Meeting)
2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010
Esperantolaan 4, Heverlee 3001, Belgium
http://www.atmire.com


Mark Diggory

unread,
May 7, 2012, 12:27:01 AM5/7/12
to drya...@googlegroups.com
Hilmar,

Currently, if it were rdfxml, we would need to associate application/rdf+xml with a specific file extension in the Bitstream Format Registry, then use the extension in the file name of the deposited file.

Mark

On Sunday, May 6, 2012, Hilmar Lapp wrote:
--
You received this message because you are subscribed to the Google Groups "dryad-dev" group.
To post to this group, send email to drya...@googlegroups.com.
To unsubscribe from this group, send email to dryad-dev+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/dryad-dev?hl=en.

Hilmar Lapp

unread,
May 7, 2012, 8:14:07 AM5/7/12
to drya...@googlegroups.com, drya...@googlegroups.com
So you're saying it's not much effort to make this work if, for example, we said that .owl is to be served as mime type application/rdf+xml?

-hilmar

Sent with a tap.

Ryan Scherle

unread,
May 7, 2012, 10:32:46 AM5/7/12
to drya...@googlegroups.com
Yes, it's a trivial amount of work (< 5 minutes) to make a change like this. BUT, it will affect all files with the .owl extension. This is probably ok for .owl files, but I'm not certain what MIME type is most appropriate for more general .xml files. They're currently set to text/xml.

--- Ryan


Hilmar Lapp

unread,
May 7, 2012, 10:42:36 AM5/7/12
to drya...@googlegroups.com

On May 7, 2012, at 10:32 AM, Ryan Scherle wrote:

I'm not certain what MIME type is most appropriate for more general .xml files. They're currently set to text/xml.

If the extension is .xml, all you can infer is that it's (likely) XML. It may be RDF/XML, if someone chose to save RDF in RDF/XML serialization (there are other serializations) as .xml  instead of as .rdf, but you don't know that without looking into the file. Isn't that (looking into the file for the purposes of improved format detection) one of the upcoming goals?
Reply all
Reply to author
Forward
0 new messages