[Homer-users] HomER .nirs UTI

Mathieu Coursolle mathieu at rogue-research.com
Fri Nov 16 09:37:53 EST 2012
Search archives:

Hello,

We are currently updating our software to be able to import/export data in the HomER 2 .nirs file format.

On Mac OS X and iOS, file types are defined by a concept known as UTIs (uniform type identifiers).  Basically, they are a collection of metadata, as key-value pairs, that describe the file format.

We think it would be valuable for the community to agree upon such a definition for the HomER .nirs format (unless there is already one?).

This describes the motivation of UTIs over say just file extensions:
<http://developer.apple.com/library/mac/#documentation/FileManagement/Conceptual/understanding_utis/understand_utis_intro/understand_utis_intro.html>

and this describes the metadata that can be provided:
<http://developer.apple.com/library/mac/documentation/FileManagement/Conceptual/understanding_utis/understand_utis_declare/understand_utis_declare.html#//apple_ref/doc/uid/TP40001319-CH204-SW1>

Our draft so far is:

		<dict>
			<key>UTTypeConformsTo</key>
			<array>
				<string>public.data</string>
				<string>com.mathworks.workspace</string>
			</array>
			<key>UTTypeDescription</key>
			<string>HomER NIRS</string>
			<key>UTTypeIdentifier</key>
			<string>edu.harvard.mgh.nmr.homer-nirs</string>
			<key>UTTypeReferenceURL</key>
			<string>http://www.nmr.mgh.harvard.edu/DOT/resources/homer/home.htm</string>
			<key>UTTypeTagSpecification</key>
			<dict>
				<key>public.filename-extension</key>
				<array>
					<string>nirs</string>
				</array>
			</dict>
		</dict>

Notes:
- the most important is the choice of UTTypeIdentifier
- will that web URL be stable over time?
- is there a MIME type for this file format?  It could be added in UTTypeTagSpecification if so.

Thanks,

Mathieu

_________________________
Mathieu Coursolle, Eng., M.Eng.
R&D Manager
Rogue Research Inc.
www.rogue-research.com
+1 514 284 3888


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/homer-users/attachments/20121116/99fe65a7/attachment.html 


More information about the Homer-users mailing list