[ 
https://issues.apache.org/jira/browse/TIKA-1520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14280766#comment-14280766
 ] 

Luis Filipe Nassif commented on TIKA-1520:
------------------------------------------

Does the format have a signature? Does the data is really stored as a kind of 
plain text? If yes, we must update the mimetype definition to state that it is 
a sub-class of text/plain and the detection should work.

> Provide parsing and detection for Mathematica files
> ---------------------------------------------------
>
>                 Key: TIKA-1520
>                 URL: https://issues.apache.org/jira/browse/TIKA-1520
>             Project: Tika
>          Issue Type: Wish
>          Components: parser
>            Reporter: Matthew Jones
>         Attachments: lab0.nb
>
>
> Currently Mathematica notebooks that have data in them do not appear to be 
> detected correctly.
> java -jar tika-app-1.7.jar -d lab0.nb           
> text/plain
> An empty file with the .nb extension though is detected correctly. ;)
> touch testmath.nb
> java -jar tika-app-1.7.jar -d testmath.nb            
> application/mathematica
> I'm not too sure how to fix this so just adding it as a wish. Thanks!
> Examples on this page 
> http://www2.stetson.edu/~mhale/calc2/math.htm
> including the file
> http://www2.stetson.edu/~mhale/calc2/lab0.nb



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to