Added: manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/common_en_US.properties URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/common_en_US.properties?rev=1889497&view=auto ============================================================================== --- manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/common_en_US.properties (added) +++ manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/common_en_US.properties Tue May 4 16:44:53 2021 @@ -0,0 +1,40 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +TikaExtractor.RetryInterval=Retry interval (in ms): +TikaExtractor.RetryNumber=Number of retries: +TikaExtractor.ExtractArchives=Extract archives content: +TikaExtractor.ConnectionTimeout=Connection timeout: +TikaExtractor.SocketTimeout=Socket timeout: +TikaExtractor.TikaHostname=Tika hostname: +TikaExtractor.TikaPort=Tika port: +TikaExtractor.TikaServerTabName=Tika server +TikaExtractor.FieldMappingTabName=Field mapping +TikaExtractor.FieldMappings=Field mappings: +TikaExtractor.MetadataFieldName=Metadata field name +TikaExtractor.FinalFieldName=Final field name +TikaExtractor.NoFieldMappingSpecified=No field mapping specified +TikaExtractor.KeepAllMetadata=Keep all metadata: +TikaExtractor.LowerNames=Normalize metadata names: +TikaExtractor.WriteLimit=Content write limit: +TikaExtractor.MaxEmbeddedResources=Max embedded resources process limit: +TikaExtractor.Add=Add +TikaExtractor.AddFieldMapping=Add field mapping +TikaExtractor.Delete=Delete +TikaExtractor.DeleteFieldMapping=Delete field mapping +TikaExtractor.NoFieldNameSpecified=Please specify a field name +TikaExtractor.PleaseSupplyAValidNumber=Please supply a valid number +TikaExtractor.PleaseDontSpecifyAnyServerPathInformation=Please don't include server path information in host name +TikaExtractor.HostNameCannotBeNull=Host name cannot be null
Added: manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/common_es_ES.properties URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/common_es_ES.properties?rev=1889497&view=auto ============================================================================== --- manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/common_es_ES.properties (added) +++ manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/common_es_ES.properties Tue May 4 16:44:53 2021 @@ -0,0 +1,40 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +TikaExtractor.RetryInterval=Retry interval (in ms): +TikaExtractor.RetryNumber=Number of retries: +TikaExtractor.ExtractArchives=Extract archives content: +TikaExtractor.ConnectionTimeout=Connection timeout: +TikaExtractor.SocketTimeout=Socket timeout: +TikaExtractor.TikaHostname=Tika hostname: +TikaExtractor.TikaPort=Tika port: +TikaExtractor.TikaServerTabName=Tika server +TikaExtractor.FieldMappingTabName=Field mapping +TikaExtractor.FieldMappings=Field mappings: +TikaExtractor.MetadataFieldName=Metadata field name +TikaExtractor.FinalFieldName=Final field name +TikaExtractor.NoFieldMappingSpecified=No field mapping specified +TikaExtractor.KeepAllMetadata=Keep all metadata: +TikaExtractor.LowerNames=Normalize metadata names: +TikaExtractor.WriteLimit=Content write limit: +TikaExtractor.MaxEmbeddedResources=Max embedded resources process limit: +TikaExtractor.Add=Add +TikaExtractor.AddFieldMapping=Add field mapping +TikaExtractor.Delete=Delete +TikaExtractor.DeleteFieldMapping=Delete field mapping +TikaExtractor.NoFieldNameSpecified=Please specify a field name +TikaExtractor.PleaseSupplyAValidNumber=Please supply a valid number +TikaExtractor.PleaseDontSpecifyAnyServerPathInformation=Please don't include server path information in host name +TikaExtractor.HostNameCannotBeNull=Host name cannot be null Added: manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/common_fr_FR.properties URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/common_fr_FR.properties?rev=1889497&view=auto ============================================================================== --- manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/common_fr_FR.properties (added) +++ manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/common_fr_FR.properties Tue May 4 16:44:53 2021 @@ -0,0 +1,40 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +TikaExtractor.RetryInterval=Intervalle entre les tentatives (en ms): +TikaExtractor.RetryNumber=Nombre de tentatives: +TikaExtractor.ExtractArchives=Extraire le contenu des archives: +TikaExtractor.ConnectionTimeout=Connexion timeout: +TikaExtractor.SocketTimeout=Socket timeout: +TikaExtractor.TikaHostname=Nom d'hôte du serveur Tika: +TikaExtractor.TikaPort=Port du serveur Tika: +TikaExtractor.TikaServerTabName=Tika serveur +TikaExtractor.FieldMappingTabName=Field mapping +TikaExtractor.FieldMappings=Field mappings: +TikaExtractor.MetadataFieldName=Metadata field name +TikaExtractor.FinalFieldName=Final field name +TikaExtractor.NoFieldMappingSpecified=No field mapping specified +TikaExtractor.KeepAllMetadata=Conserver toutes les métadonnées: +TikaExtractor.LowerNames=Normaliser les noms des métadonnées: +TikaExtractor.WriteLimit=Limite d'écriture du contenu: +TikaExtractor.MaxEmbeddedResources=Limite du nombre maximal de ressources intégrées à traiter: +TikaExtractor.Add=Ajouter +TikaExtractor.AddFieldMapping=Add field mapping +TikaExtractor.Delete=Supprimer +TikaExtractor.DeleteFieldMapping=Delete field mapping +TikaExtractor.NoFieldNameSpecified=Veuillez spécifier un nom de champ +TikaExtractor.PleaseSupplyAValidNumber=Veuillez renseigner un nombre valide +TikaExtractor.PleaseDontSpecifyAnyServerPathInformation=Please don't include server path information in host name +TikaExtractor.HostNameCannotBeNull=Le nom d'hôte doit être renseigné Added: manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/common_ja_JP.properties URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/common_ja_JP.properties?rev=1889497&view=auto ============================================================================== --- manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/common_ja_JP.properties (added) +++ manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/common_ja_JP.properties Tue May 4 16:44:53 2021 @@ -0,0 +1,40 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +TikaExtractor.RetryInterval=Retry interval (in ms): +TikaExtractor.RetryNumber=Number of retries: +TikaExtractor.ExtractArchives=Extract archives content: +TikaExtractor.ConnectionTimeout=Connection timeout: +TikaExtractor.SocketTimeout=Socket timeout: +TikaExtractor.TikaHostname=Tika hostname: +TikaExtractor.TikaPort=Tika port: +TikaExtractor.TikaServerTabName=Tika server +TikaExtractor.FieldMappingTabName=ãã£ã¼ã«ããããã³ã° +TikaExtractor.FieldMappings=ãã£ã¼ã«ããããã³ã°: +TikaExtractor.MetadataFieldName=ã¡ã¿ãã¼ã¿ãã£ã¼ã«ãå +TikaExtractor.FinalFieldName=æå¾ã®ãã£ã¼ã«ãå +TikaExtractor.NoFieldMappingSpecified=ãã£ã¼ã«ããããã³ã°ãæå®ãã¦ãã ãã +TikaExtractor.KeepAllMetadata=å ¨ã¡ã¿ãã¼ã¿ãä¿å: +TikaExtractor.LowerNames=å°æåå: +TikaExtractor.WriteLimit=æå¤§æåé·: +TikaExtractor.MaxEmbeddedResources=Max embedded resources process limit: +TikaExtractor.Add=追å +TikaExtractor.AddFieldMapping=ãã£ã¼ã«ããããã³ã°ã追å +TikaExtractor.Delete=åé¤ +TikaExtractor.DeleteFieldMapping=ãã£ã¼ã«ããããã³ã°ãåé¤ +TikaExtractor.NoFieldNameSpecified=ãã£ã¼ã«ãåãæå®ãã¦ãã ãã +TikaExtractor.PleaseSupplyAValidNumber=Please supply a valid number +TikaExtractor.PleaseDontSpecifyAnyServerPathInformation=Please don't include server path information in host name +TikaExtractor.HostNameCannotBeNull=Host name cannot be null Added: manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/common_zh_CN.properties URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/common_zh_CN.properties?rev=1889497&view=auto ============================================================================== --- manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/common_zh_CN.properties (added) +++ manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/common_zh_CN.properties Tue May 4 16:44:53 2021 @@ -0,0 +1,40 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +TikaExtractor.RetryInterval=Retry interval (in ms): +TikaExtractor.RetryNumber=Number of retries: +TikaExtractor.ExtractArchives=Extract archives content: +TikaExtractor.ConnectionTimeout=Connection timeout: +TikaExtractor.SocketTimeout=Socket timeout: +TikaExtractor.TikaHostname=Tika hostname: +TikaExtractor.TikaPort=Tika port: +TikaExtractor.TikaServerTabName=Tika server +TikaExtractor.FieldMappingTabName=åæ®µæ å° +TikaExtractor.FieldMappings=åæ®µæ å°: +TikaExtractor.MetadataFieldName=å æ°æ®å段å +TikaExtractor.FinalFieldName=æç»å段å +TikaExtractor.NoFieldMappingSpecified=æªæå®å段æ å° +TikaExtractor.KeepAllMetadata=ä¿åææå æ°æ®: +TikaExtractor.LowerNames=å°å: +TikaExtractor.WriteLimit=æå¤§å符é¿åº¦: +TikaExtractor.MaxEmbeddedResources=Max embedded resources process limit: +TikaExtractor.Add=æ·»å +TikaExtractor.AddFieldMapping=æ·»å åæ®µæ å° +TikaExtractor.Delete=å é¤ +TikaExtractor.DeleteFieldMapping=å é¤å段æ å° +TikaExtractor.NoFieldNameSpecified=æªæå®å段å +TikaExtractor.PleaseSupplyAValidNumber=Please supply a valid number +TikaExtractor.PleaseDontSpecifyAnyServerPathInformation=Please don't include server path information in host name +TikaExtractor.HostNameCannotBeNull=Host name cannot be null Added: manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/editConfiguration.js URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/editConfiguration.js?rev=1889497&view=auto ============================================================================== --- manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/editConfiguration.js (added) +++ manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/editConfiguration.js Tue May 4 16:44:53 2021 @@ -0,0 +1,63 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<script type="text/javascript"> +<!-- + +function checkConfig() +{ + if (editconnection.tikaPort.value != "" && !isInteger(editconnection.tikaPort.value)) + { + alert("$Encoder.bodyJavascriptEscape($ResourceBundle.getString('TikaExtractor.PleaseSupplyAValidNumber'))"); + editconnection.tikaPort.focus(); + return false; + } + if (editconnection.tikaHostname.value.indexOf("/") >= 0) + { + alert("$Encoder.bodyJavascriptEscape($ResourceBundle.getString('TikaExtractor.PleaseDontSpecifyAnyServerPathInformation'))"); + editconnection.tikaHostname.focus(); + return false; + } + if (editconnection.tikaHostname.value == "") + { + alert("$Encoder.bodyJavascriptEscape($ResourceBundle.getString('TikaExtractor.HostNameCannotBeNull'))"); + editconnection.tikaHostname.focus(); + return false; + } + if (editconnection.connectionTimeout.value != "" && !isInteger(editconnection.connectionTimeout.value)) + { + alert("$Encoder.bodyJavascriptEscape($ResourceBundle.getString('TikaExtractor.PleaseSupplyAValidNumber'))"); + editconnection.connectionTimeout.focus(); + return false; + } + if (editconnection.socketTimeout.value != "" && !isInteger(editconnection.socketTimeout.value)) + { + alert("$Encoder.bodyJavascriptEscape($ResourceBundle.getString('TikaExtractor.PleaseSupplyAValidNumber'))"); + editconnection.socketTimeout.focus(); + return false; + } + if (editconnection.retryInterval.value != "" && !isInteger(editconnection.retryInterval.value)) + { + alert("$Encoder.bodyJavascriptEscape($ResourceBundle.getString('TikaExtractor.PleaseSupplyAValidNumber'))"); + editconnection.retryInterval.focus(); + return false; + } + return true; +} + +//--> +</script> Added: manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/editConfiguration_Server.html URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/editConfiguration_Server.html?rev=1889497&view=auto ============================================================================== --- manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/editConfiguration_Server.html (added) +++ manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/editConfiguration_Server.html Tue May 4 16:44:53 2021 @@ -0,0 +1,68 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +#if($TabName == $ResourceBundle.getString('TikaExtractor.TikaServerTabName')) + +<table class="displaytable"> + <tr><td class="separator" colspan="2"><hr/></td></tr> + <tr> + <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.TikaHostname'))</nobr></td> + <td class="value"><input name="tikaHostname" type="text" + value="$Encoder.attributeEscape($TIKAHOSTNAME)" size="20" /> + </td> + </tr> + <tr> + <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.TikaPort'))</nobr></td> + <td class="value"><input name="tikaPort" type="text" + value="$Encoder.attributeEscape($TIKAPORT)" size="5" /> + </td> + </tr> + <tr> + <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.ConnectionTimeout'))</nobr></td> + <td class="value"><input name="connectionTimeout" type="text" + value="$Encoder.attributeEscape($CONNECTIONTIMEOUT)" size="20" /> + </td> + </tr> + <tr> + <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.SocketTimeout'))</nobr></td> + <td class="value"><input name="socketTimeout" type="text" + value="$Encoder.attributeEscape($SOCKETTIMEOUT)" size="20" /> + </td> + </tr> + <tr> + <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.RetryInterval'))</nobr></td> + <td class="value"><input name="retryInterval" type="text" + value="$Encoder.attributeEscape($RETRYINTERVAL)" size="20" /> + </td> + </tr> + <tr> + <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.RetryNumber'))</nobr></td> + <td class="value"><input name="retryNumber" type="text" + value="$Encoder.attributeEscape($RETRYNUMBER)" size="5" /> + </td> + </tr> +</table> +#else + +<input type="hidden" name="tikaHostname" value="$Encoder.attributeEscape($TIKAHOSTNAME)"/> +<input type="hidden" name="tikaPort" value="$Encoder.attributeEscape($TIKAPORT)"/> +<input type="hidden" name="connectionTimeout" value="$Encoder.attributeEscape($CONNECTIONTIMEOUT)"/> +<input type="hidden" name="socketTimeout" value="$Encoder.attributeEscape($SOCKETTIMEOUT)"/> +<input type="hidden" name="retryInterval" value="$Encoder.attributeEscape($RETRYINTERVAL)"/> +<input type="hidden" name="retryNumber" value="$Encoder.attributeEscape($RETRYNUMBER)"/> + +#end \ No newline at end of file Added: manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/editSpecification.js URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/editSpecification.js?rev=1889497&view=auto ============================================================================== --- manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/editSpecification.js (added) +++ manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/editSpecification.js Tue May 4 16:44:53 2021 @@ -0,0 +1,46 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<script type="text/javascript"> +<!-- +function s${SEQNUM}_addFieldMapping() +{ + if (editjob.s${SEQNUM}_fieldmapping_source.value == "") + { + alert("$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.NoFieldNameSpecified'))"); + editjob.s${SEQNUM}_fieldmapping_source.focus(); + return; + } + editjob.s${SEQNUM}_fieldmapping_op.value="Add"; + postFormSetAnchor("s${SEQNUM}_fieldmapping"); +} + +function s${SEQNUM}_deleteFieldMapping(i) +{ + // Set the operation + eval("editjob.s${SEQNUM}_fieldmapping_op_"+i+".value=\"Delete\""); + // Submit + if (editjob.s${SEQNUM}_fieldmapping_count.value==i) + postFormSetAnchor("s${SEQNUM}_fieldmapping"); + else + postFormSetAnchor("s${SEQNUM}_fieldmapping_"+i) + // Undo, so we won't get two deletes next time + eval("editjob.s${SEQNUM}_fieldmapping_op_"+i+".value=\"Continue\""); +} + +//--> +</script> Added: manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/editSpecification_TikaServer.html URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/editSpecification_TikaServer.html?rev=1889497&view=auto ============================================================================== --- manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/editSpecification_TikaServer.html (added) +++ manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/editSpecification_TikaServer.html Tue May 4 16:44:53 2021 @@ -0,0 +1,147 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +#if($TABNAME == $ResourceBundle.getString('TikaExtractor.TikaServerTabName') && ${SEQNUM} == ${SELECTEDNUM}) + +<table class="displaytable"> + <tr><td class="separator" colspan="2"><hr/></td></tr> + <tr> + <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.FieldMappings'))</nobr></td> + <td class="boxcell"> + <table class="formtable"> + <tr class="formheaderrow"> + <td class="formcolumnheader"></td> + <td class="formcolumnheader"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.MetadataFieldName'))</nobr></td> + <td class="formcolumnheader"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.FinalFieldName'))</nobr></td> + </tr> + + #set($fieldcounter = 0) + #foreach($fieldmapping in $FIELDMAPPINGS) + #set($fieldcounterdisplay = $fieldcounter + 1) + #if(($fieldcounter % 2) == 0) + <tr class="evenformrow"> + #else + <tr class="oddformrow"> + #end + <td class="formcolumncell"> + <a name="s${SEQNUM}_fieldmapping_$fieldcounter"> + <input type="button" value="$Encoder.attributeEscape($ResourceBundle.getString('TikaExtractor.Delete'))" alt="$Encoder.attributeEscape($ResourceBundle.getString('TikaExtractor.DeleteFieldMapping'))$fieldcounterdisplay" onclick='javascript:s${SEQNUM}_deleteFieldMapping("$fieldcounter");'/> + <input type="hidden" name="s${SEQNUM}_fieldmapping_op_$fieldcounter" value="Continue"/> + <input type="hidden" name="s${SEQNUM}_fieldmapping_source_$fieldcounter" value="$Encoder.attributeEscape($fieldmapping.get('SOURCE'))"/> + <input type="hidden" name="s${SEQNUM}_fieldmapping_target_$fieldcounter" value="$Encoder.attributeEscape($fieldmapping.get('TARGET'))"/> + </a> + </td> + <td class="formcolumncell"> + <nobr>$Encoder.bodyEscape($fieldmapping.get('SOURCE'))</nobr> + </td> + <td class="formcolumncell"> + <nobr>$Encoder.bodyEscape($fieldmapping.get('TARGETDISPLAY'))</nobr> + </td> + </tr> + #set($fieldcounter = $fieldcounter + 1) + #end + + #if($fieldcounter == 0) + <tr class="formrow"><td class="formmessage" colspan="3">$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.NoFieldMappingSpecified'))</td></tr> + #end + + <tr class="formrow"><td class="formseparator" colspan="3"><hr/></td></tr> + <tr class="formrow"> + <td class="formcolumncell"> + <a name="fieldmapping"> + <input type="button" value="$Encoder.attributeEscape($ResourceBundle.getString('TikaExtractor.Add'))" alt="$Encoder.attributeEscape($ResourceBundle.getString('TikaExtractor.AddFieldMapping'))" onclick="javascript:s${SEQNUM}_addFieldMapping();"/> + </a> + <input type="hidden" name="s${SEQNUM}_fieldmapping_count" value="$fieldcounter"/> + <input type="hidden" name="s${SEQNUM}_fieldmapping_op" value="Continue"/> + </td> + <td class="formcolumncell"> + <nobr><input type="text" size="15" name="s${SEQNUM}_fieldmapping_source" value=""/></nobr> + </td> + <td class="formcolumncell"> + <nobr><input type="text" size="15" name="s${SEQNUM}_fieldmapping_target" value=""/></nobr> + </td> + </tr> + </table> + </td> + </tr> + + <tr><td class="separator" colspan="2"><hr/></td></tr> + + <tr> + <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.KeepAllMetadata'))</nobr></td> + <td class="value"> + #if($KEEPALLMETADATA == 'true') + <input type="checkbox" checked="true" name="s${SEQNUM}_keepallmetadata" value="true"/> + #else + <input type="checkbox" name="s${SEQNUM}_keepallmetadata" value="true"/> + #end + </td> + </tr> + + <tr> + <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.LowerNames'))</nobr></td> + <td class="value"> + #if($LOWERNAMES == 'true') + <input type="checkbox" checked="true" name="s${SEQNUM}_lowernames" value="true"/> + #else + <input type="checkbox" name="s${SEQNUM}_lowernames" value="true"/> + #end + </td> + </tr> + + <tr> + <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.WriteLimit'))</nobr></td> + <td class="value"><input name="s${SEQNUM}_writelimit" type="text" + value="$Encoder.attributeEscape($WRITELIMIT)" size="16" /> + </td> + </tr> + + <tr> + <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.ExtractArchives'))</nobr></td> + <td class="value"> + #if($EXTRACTARCHIVES == 'true') + <input type="checkbox" checked="true" name="s${SEQNUM}_extractArchives" value="true"/> + #else + <input type="checkbox" name="s${SEQNUM}_extractArchives" value="true"/> + #end + </td> + </tr> + + <tr> + <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.MaxEmbeddedResources'))</nobr></td> + <td class="value"><input name="s${SEQNUM}_maxEmbeddedResources" type="text" + value="$Encoder.attributeEscape($MAXEMBEDDEDRESOURCES)" size="16" /> + </td> + </tr> +</table> + +#else + + #set($fieldcounter = 0) + #foreach($fieldmapping in $FIELDMAPPINGS) +<input type="hidden" name="s${SEQNUM}_fieldmapping_source_$fieldcounter" value="$Encoder.attributeEscape($fieldmapping.get('SOURCE'))"/> +<input type="hidden" name="s${SEQNUM}_fieldmapping_target_$fieldcounter" value="$Encoder.attributeEscape($fieldmapping.get('TARGET'))"/> + #set($fieldcounter = $fieldcounter + 1) + #end +<input type="hidden" name="s${SEQNUM}_fieldmapping_count" value="$fieldcounter"/> +<input type="hidden" name="s${SEQNUM}_keepallmetadata" value="$Encoder.bodyEscape($KEEPALLMETADATA)"/> +<input type="hidden" name="s${SEQNUM}_lowernames" value="$Encoder.bodyEscape($LOWERNAMES)"/> +<input type="hidden" name="s${SEQNUM}_writelimit" value="$Encoder.attributeEscape($WRITELIMIT)" /> +<input type="hidden" name="s${SEQNUM}_extractArchives" value="$Encoder.bodyEscape($EXTRACTARCHIVES)" /> +<input type="hidden" name="s${SEQNUM}_maxEmbeddedResources" value="$Encoder.bodyEscape($MAXEMBEDDEDRESOURCES)" /> + +#end \ No newline at end of file Added: manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/viewConfiguration.html URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/viewConfiguration.html?rev=1889497&view=auto ============================================================================== --- manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/viewConfiguration.html (added) +++ manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/viewConfiguration.html Tue May 4 16:44:53 2021 @@ -0,0 +1,43 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<table class="displaytable"> + <tr> + <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.TikaHostname'))</nobr></td> + <td class="value"><nobr>$Encoder.bodyEscape($TIKAHOSTNAME)</nobr></td> + </tr> + <tr> + <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.TikaPort'))</nobr></td> + <td class="value"><nobr>$Encoder.bodyEscape($TIKAPORT)</nobr></td> + </tr> + <tr> + <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.ConnectionTimeout'))</nobr></td> + <td class="value"><nobr>$Encoder.bodyEscape($CONNECTIONTIMEOUT)</nobr></td> + </tr> + <tr> + <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.SocketTimeout'))</nobr></td> + <td class="value"><nobr>$Encoder.bodyEscape($SOCKETTIMEOUT)</nobr></td> + </tr> + <tr> + <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.RetryInterval'))</nobr></td> + <td class="value"><nobr>$Encoder.bodyEscape($RETRYINTERVAL)</nobr></td> + </tr> + <tr> + <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.RetryNumber'))</nobr></td> + <td class="value"><nobr>$Encoder.bodyEscape($RETRYNUMBER)</nobr></td> + </tr> +</table> Added: manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/viewSpecification.html URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/viewSpecification.html?rev=1889497&view=auto ============================================================================== --- manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/viewSpecification.html (added) +++ manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/tikaservice/rmeta/viewSpecification.html Tue May 4 16:44:53 2021 @@ -0,0 +1,74 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<table class="displaytable"> + <tr> + <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.FieldMappings'))</nobr></td> + <td class="boxcell"> + <table class="formtable"> + <tr class="formheaderrow"> + <td class="formcolumnheader"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.MetadataFieldName'))</nobr></td> + <td class="formcolumnheader"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.FinalFieldName'))</nobr></td> + </tr> +#set($fieldcounter = 0) +#foreach($fieldmapping in $FIELDMAPPINGS) + #if(($fieldcounter % 2) == 0) + <tr class="evenformrow"> + #else + <tr class="oddformrow"> + #end + <td class="formcolumncell"> + <nobr>$Encoder.bodyEscape($fieldmapping.get('SOURCE'))</nobr> + </td> + <td class="formcolumncell"> + <nobr>$Encoder.bodyEscape($fieldmapping.get('TARGETDISPLAY'))</nobr> + </td> + </tr> + #set($fieldcounter = $fieldcounter + 1) +#end +#if($fieldcounter == 0) + <tr class="formrow"><td class="formmessage" colspan="2">$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.NoFieldMappingSpecified'))</td></tr> +#end + </table> + </td> + </tr> + <tr><td class="separator" colspan="2"><hr/></td></tr> + <tr> + <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.KeepAllMetadata'))</nobr></td> + <td class="value"><nobr>$Encoder.bodyEscape($KEEPALLMETADATA)</nobr></td> + </tr> + <tr><td class="separator" colspan="2"><hr/></td></tr> + <tr> + <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.LowerNames'))</nobr></td> + <td class="value"><nobr>$Encoder.bodyEscape($LOWERNAMES)</nobr></td> + </tr> + <tr><td class="separator" colspan="2"><hr/></td></tr> + <tr> + <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.WriteLimit'))</nobr></td> + <td class="value"><nobr>$Encoder.bodyEscape($WRITELIMIT)</nobr></td> + </tr> + <tr><td class="separator" colspan="2"><hr/></td></tr> + <tr> + <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.ExtractArchives'))</nobr></td> + <td class="value"><nobr>$Encoder.bodyEscape($EXTRACTARCHIVES)</nobr></td> + </tr> + <tr> + <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('TikaExtractor.MaxEmbeddedResources'))</nobr></td> + <td class="value"><nobr>$Encoder.bodyEscape($MAXEMBEDDEDRESOURCES)</nobr></td> + </tr> + +</table> Added: manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/pom.xml URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/pom.xml?rev=1889497&view=auto ============================================================================== --- manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/pom.xml (added) +++ manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/pom.xml Tue May 4 16:44:53 2021 @@ -0,0 +1,109 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <parent> + <groupId>org.apache.manifoldcf</groupId> + <artifactId>mcf-connectors</artifactId> + <version>2.20-SNAPSHOT</version> + </parent> + <modelVersion>4.0.0</modelVersion> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> + </properties> + + <artifactId>mcf-tika-service-rmeta-connector</artifactId> + <name>ManifoldCF - Connectors - Tika Service (rmeta) Transformer</name> + + <build> + <defaultGoal>integration-test</defaultGoal> + <sourceDirectory>${basedir}/connector/src/main/java</sourceDirectory> + <testSourceDirectory>${basedir}/connector/src/test/java</testSourceDirectory> + <resources> + <resource> + <directory>${basedir}/connector/src/main/native2ascii</directory> + <includes> + <include>**/*.properties</include> + </includes> + </resource> + <resource> + <directory>${basedir}/connector/src/main/resources</directory> + <includes> + <include>**/*.html</include> + <include>**/*.js</include> + </includes> + </resource> + </resources> + + <plugins> + + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>native2ascii-maven-plugin</artifactId> + <version>1.0-beta-1</version> + <configuration> + <workDir>target/classes</workDir> + </configuration> + <executions> + <execution> + <id>native2ascii-utf8</id> + <goals> + <goal>native2ascii</goal> + </goals> + <configuration> + <encoding>UTF8</encoding> + <includes> + <include>**/*.properties</include> + </includes> + </configuration> + </execution> + </executions> + </plugin> + + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>mcf-core</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>mcf-connector-common</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>mcf-agents</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>mcf-ui-core</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.tika</groupId> + <artifactId>tika-core</artifactId> + <version>${tika.version}</version> + </dependency> + <dependency> + <groupId>org.apache.httpcomponents</groupId> + <artifactId>httpclient</artifactId> + <version>${httpcomponent.httpclient.version}</version> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-lang3</artifactId> + <version>3.6</version> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-core</artifactId> + <version>2.9.8</version> + </dependency> + </dependencies> +</project> Propchange: manifoldcf/branches/CONNECTORS-1667/connectors/tikaservice-rmeta/pom.xml ------------------------------------------------------------------------------ svn:executable = *
