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

Nick Burch commented on TIKA-3104:
----------------------------------

At some point we might want to add a dedicated bplist detector, that parses the 
object tree and figures out the type based on what it finds. 
[https://medium.com/@karaiskc/understanding-apples-binary-property-list-format-281e6da00dbd]
 suggests it should be fairly easy to write, if we don't locate a suitable 
dependency instead. Might also let us do some interesting parsing, eg pulling 
out strings, or extracting embedded objects from a webarchive

Based on some reading on the format, I've made the magic for bplist a bit more 
specific with a higher priority, in {{e9d62d24c19250053aee07a59c9e4de5197f2f42}}

I've also added an {{application/x-memgraph}} mimetype, with the glob as a 
subtype of bplist, in {{114009165410c91b57b91fc4eaddb089a8559451}}

> Detection of memgraph files exported from Xcode
> -----------------------------------------------
>
>                 Key: TIKA-3104
>                 URL: https://issues.apache.org/jira/browse/TIKA-3104
>             Project: Tika
>          Issue Type: Wish
>          Components: core
>    Affects Versions: 1.24
>            Reporter: Parth
>            Priority: Major
>              Labels: detection, features, new-parser
>         Attachments: DeepScroll_Example[4988].memgraph
>
>
> I wanted to detect a memgraph file linked by a url. But currently detection 
> of memgraph file is not supported. I tried adding to custom-mimetypes but 
> that did not help.  
> <mime-info>
>  <mime-type type="application/memgraph">
>  <glob pattern="*.memgraph"/>
>  </mime-type>
> </mime-info>
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to