Configuration * Configure the Core Module The core module contains the main library code and the command line implementation. The main library configuration parameters are managed by the {{{http://any23.googlecode.com/svn/trunk/any23-core/src/main/java/org/deri/any23/Configuration.java} Configuration}} class. The default values are declared within the {{{http://any23.googlecode.com/svn/trunk/any23-core/src/main/resources/default-configuration.properties} default-configuration.properties}} file and can be overriden by specifying <> commandline properties with the same name. For example to override the <> parameter simply add the following option to the <> command-line invocation: +---------------------------------------------------------------------------------------------- -Dany23.http.client.max.connections=10 +---------------------------------------------------------------------------------------------- any23, any23tools and any23server scripts accept the variable <> to specify custom options. It is possible to customize the <> for the <> script simply using: +---------------------------------------------------------------------------------------------- any23-core/bin/$ ANY23_OPTS="-Dany23.http.client.max.connections=10" any23 http://path/to/resource +---------------------------------------------------------------------------------------------- * Any23 Core Module Properties *--------------------------+------------------------+-------------------------------------------------------------------------------------------------+ | Property Name | Default Property Value |Description | *--------------------------+------------------------+-------------------------------------------------------------------------------------------------+ | any23.core.version | |String declaring the Any23 Core module version. | *--------------------------+------------------------+-------------------------------------------------------------------------------------------------+ |any23.http.user.agent.name |Any23-CLI |User Agent Name used for HTTP requests. | *--------------------------+------------------------+-------------------------------------------------------------------------------------------------+ |any23.http.client.timeout |10000 (10 secs) |Timeout in milliseconds for a HTTP request. | *--------------------------+------------------------+-------------------------------------------------------------------------------------------------+ |any23.http.client.max.connections|5 |Max number of concurrent HTTP connections allowed by the internal Any23 HTTP client.| *--------------------------+------------------------+-------------------------------------------------------------------------------------------------+ |any23.rdfa.extractor.xslt |rdfa.xslt |XSLT Stylesheet to be used to perform HTML to RDF extraction of RDFa. | *--------------------------+------------------------+-------------------------------------------------------------------------------------------------+ |any23.extraction.metadata |on (possible values: on/off) |Activates/deactivates the production of metadata triples. | *--------------------------+------------------------+-------------------------------------------------------------------------------------------------+ |any23.plugin.dirs |./plugins |Directory containing Any23 plugins. | *--------------------------+------------------------+-------------------------------------------------------------------------------------------------+