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

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

There's an unmaintained but suitably licensed bplist parser in Java at 
https://github.com/pvanassen/java-bplist . That could probably be the basis of 
a parser, if someone had some time to fix up failing unit tests, update 
dependency versions, publish to maven central etc

Attached is the output of processing your sample memgraph file through it, 
converting to XML then saving. I think the bplist tool on a Mac will probably 
give something similar. From a quick look, the created / started metadata isn't 
in a key, it's only in one of the strings

If you had time to adopt+fix+polish+publish the java-bplist parser, it'd be 
very quick to write a generic bplist parser for Apache Tika to give you the 
file contents. Something memgraph specific that also populates sensible 
metadata keys wouldn't be too much additional work!

> 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, memgraph.xml
>
>
> 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