ICIJ / node-tika

Apache Tika bridge for Node.js. Text and metadata extraction, language detection and more.
MIT License
140 stars 36 forks source link

Small issue in documentation #8

Closed tomaskulich closed 9 years ago

tomaskulich commented 9 years ago

According to documentation:

tika.text('http://www.ohchr.org/EN/UDHR/Documents/UDHR_Translations/eng.pdf', 
    function(err, text, meta) {
        // ...
    });

should work. However, later in the documentation is stated that you need to call tika.extract to get also the metadata; tika.text feeds callback only with extracted text. (confirmed by an experiment :) )

mattcg commented 9 years ago

Thank you! :space_invader: