[
https://issues.apache.org/jira/browse/TIKA-2176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15667741#comment-15667741
]
Tim Allison commented on TIKA-2176:
-----------------------------------
Again, my apologies, I may be missing something. We like to have one {{type}}
per mime-type. According to [rfc6350|https://tools.ietf.org/html/rfc6350], we
should be using {{text/vcard}} not {{text/x-vcard}}.
If you have a file that starts with {{BEGIN:VCARD}} and you ask Tika to
identify the file type, what behavior are you expecting? Both: {{text/vcard}}
and {{text/x-vcard}}?
Or am I missing a subtle difference between your recommended mime definition
and what we currently have? Thank you!
> Vcard files detection - text/vcard
> ----------------------------------
>
> Key: TIKA-2176
> URL: https://issues.apache.org/jira/browse/TIKA-2176
> Project: Tika
> Issue Type: Improvement
> Components: detector
> Reporter: Gaurav Gehlot
> Priority: Minor
>
> Please improve vcard (http://it.wikipedia.org/wiki/VCard) files detection
> with the following "mime-type" entry:
> {noformat}
> <mime-type type="text/vcard">
> <glob pattern="*.vcf"/>
> <sub-class-of type="text/plain"/>
> <magic priority="50">
> <match value="BEGIN:VCARD" type="string" offset="0"/>
> </magic>
> </mime-type>
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)