Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

binaryfile.ini [HandlerSettings]

The settings of [HandlerSettings] in binaryfile.ini: MetaDataExtractor, Repositories, ExtensionRepositories

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/examples/ini-settings/binaryfile/HandlerSettings.md

On this page

binaryfile.ini [HandlerSettings]

The block [HandlerSettings] of settings/binaryfile.ini, with 3 setting(s).

Here you can add handlers for new datatypes.

Never edit settings/binaryfile.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/binaryfile.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/binaryfile.ini.append.php for one siteaccess,
  • extension/<extension>/settings/binaryfile.ini.append.php in an extension (read when the extension is active).

MetaDataExtractor

Default: a hash of 3: text/plain=ezplaintext, application/pdf=ezpdf, application/msword=ezword.

<?php /* #?ini charset="utf-8"?
# settings/override/binaryfile.ini.append.php
[HandlerSettings]
# an empty "MetaDataExtractor[]" first replaces the shipped list; without it the items are added
MetaDataExtractor[]
MetaDataExtractor[text/plain]=ezplaintext
MetaDataExtractor[application/pdf]=ezpdf
MetaDataExtractor[application/msword]=ezword
*/ ?>

Repositories

A list of directories to search for metadata extractor handlers

Default: a list of 1: kernel/classes/datatypes/ezbinaryfile.

<?php /* #?ini charset="utf-8"?
# settings/override/binaryfile.ini.append.php
[HandlerSettings]
# an empty "Repositories[]" first replaces the shipped list; without it the items are added
Repositories[]
Repositories[]=kernel/classes/datatypes/ezbinaryfile
*/ ?>

ExtensionRepositories

A list of extensions which have metadata extractor handlers
It's common to create a settings/binaryfile.ini.append.php file
in your extension and add the extension name to automatically
get handlers from the extension when it's turned on.
Handlers need to be placed in the extension subdir "plugins".

Default: an empty list.

<?php /* #?ini charset="utf-8"?
# settings/override/binaryfile.ini.append.php
[HandlerSettings]
# an empty "ExtensionRepositories[]" first replaces the shipped list; without it the items are added
ExtensionRepositories[]
*/ ?>

Generated by ./console exp:help:examples from settings/binaryfile.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x