             try
               v += ', ' if v.length
               v += if typeof author is 'string' then author else if typeof author is 'object' and author.family then (author.family + if author.given then ', ' + author.given else '') else JSON.stringify author
-      else if k in ['doi','pmid','pmc','pmcid','url','journal','title','year','issn','volume','issue','page','crossref_type','publisher','published','notes']
+      else if k in ['doi','pmid','pmc','pmcid','url','journal','title','year','issn','volume','issue','page','crossref_type','type','publisher','published','notes']
         v = this.f.metadata[k]
       url += (config[k] ? k) + '=' + encodeURIComponent(v) + '&' if v
     notes = if this.data.usermetadata then 'The user provided some metadata. ' else ''

  for m in ['title','year','journal','doi']
    if this.f?.metadata?[m]? or this.data[m]?
      _L.set '#_oab_'+m, (this.f.metadata ? this.data)[m] #.split('(')[0].trim()
  #if this.f?.doi_not_in_crossref
  #  _L.html '#_oab_bad_doi', this.f.doi_not_in_crossref
  #  _L.show '#_oab_doi_not_in_crossref'
  _L.hide '._oab_panel'
  _L.show '#_oab_metadata'


      setTimeout (() => this.findings()), 100
    else
      this.loading false
      if ct = this.f.metadata?.crossref_type ? this.f.metadata?.type
        if ct not in ['journal-article','proceedings-article','posted-content']
          if ct in ['book-section','book-part','book-chapter']
            err = '<p>Please make your request through our ' + (if this.config.book then '<a id="_oab_book_form" href="' + this.config.book + '">book form</a>' else 'book form')
