[
https://issues.apache.org/jira/browse/TIKA-3373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17333295#comment-17333295
]
Nick Burch commented on TIKA-3373:
----------------------------------
You can't override a built-in type. For now, just grab the updated file, and
put that on your classpath ahead of the Tika Core jar
> add "yml" as extension
> ----------------------
>
> Key: TIKA-3373
> URL: https://issues.apache.org/jira/browse/TIKA-3373
> Project: Tika
> Issue Type: New Feature
> Reporter: Caleb Cushing
> Priority: Major
>
> seems that the tika definition for yaml only includes `yaml` as a valid file
> extension. It would be good to include the more common `yml` Also maybe good
> to include more mime-type names for yaml, but seems that's up to debate (I
> originally assumed `application/yaml` )
> https://stackoverflow.com/q/332129/206466
> ```
> ❯ xdg-mime query filetype .config/brix/java/module.yml
> # brix ->
> ccushing/copy-5 + !
> application/x-yaml
> ```
--
This message was sent by Atlassian Jira
(v8.3.4#803005)