Norconex / importer

Norconex Importer is a Java library and command-line application meant to "parse" and "extract" content out of a file as plain text, whatever its format (HTML, PDF, Word, etc). In addition, it allows you to perform any manipulation on the extracted text before using it in your own service or application.
http://www.norconex.com/collectors/importer/
Apache License 2.0
32 stars 23 forks source link

array field return when carriage return \n #69

Closed angelo337 closed 6 years ago

angelo337 commented 6 years ago

hi there Pascal I am having an issue with the imported and field returns from an external content, all the HTML returned is format in every line with "\n" and my custom field is returning not a single string but an array of values. Could you please help me ? thanks

angelo337 commented 6 years ago

in order to convert an array to a single string we can use:

`

`

with that configuration we can join the array using a single space " ", however if you need another character you can replace it with your character after ':'

essiembre commented 6 years ago

Glad you found a way and took the time to report it.