code: function processItem(cur) {
  
    if (cur.language) {
      cur.language = cur.language.map(function(i) { return i.substring(0, 2).toLowerCase(); });
    }
    console.log(cur.fileName);
    var content = fs.readFileSync(htmlBase + cur.fileName + '.html');
    try {
      var $ = cheerio.load(content);
      cur.doi = $('meta[name=doi]').attr("content") || '';
    } catch (e) {
      cur.process_error = e;
      console.log('DOC FAILED', e);
    }
  
    cur.content = content.toString().replace(/<.*?>/g,'');
    cur.uri = 'file://' + pdfBase + cur.fileName;
    var loc = GLOBAL.config.HOMEPAGE + 'files/' + cur.fileName;
    var cItem = annotations.createContentItem({ uri: loc, title: cur.title, visitors: [{member: myUser, '@timestamp' : new Date().toISOString()} ], content: cur.content});
    var annos = [];
    cur.keyword.toString().split(',').forEach(function(k) {
      annos.push(annotations.createAnnotation({hasTarget: loc, type: 'category', category: (catRoot ? [catRoot, k] : [k]), state: (valStatus), annotatedBy: myUser}));
    });
    return { cItem: cItem, annotations: annos};
  }
docs: try to add content from HTML