Opened 10 years ago

Closed 10 years ago

#135 closed enhancement (fixed)

Associate MIME types with abstract file types and implement Scholar.FileTypes.getIDFromMIMEType()

Reported by: dstillman Owned by: dstillman
Priority: major Milestone: 1.0 Beta 1
Component: data layer Version: 1.0
Keywords: Cc:

Description

e.g. image/jpeg and image/gif are "Images" -- this will allow searching by type, among other things

Change History (2)

comment:1 Changed 10 years ago by dstillman

  • Status changed from new to assigned

comment:2 Changed 10 years ago by dstillman

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [437]) Closes #135, Associate MIME types with abstract file types and implement Scholar.FileTypes.getIDFromMIMEType()

MIME type prefixes are handled using wildcards (e.g. audio/foobar will return the audio file type since it matches 'audio/%')

Note: See TracTickets for help on using tickets.