Since you're not using the actual type later on, it doesn't matter. This
will only affect the icon that is displayed. You should try to guess what's
the most likely item type. Typically that's journalArticle, but it
obviously varies from site to site.
On Jan 13, 2014 3:06 AM, "zuphilip" <notifications@github.com> wrote:

> In DBLP Computer Science Bibliography.js:
>
> > -	else if (url.match(/\/db\/(journals|conf|series|books|reference)/) && !url.match(/index\.html/)){
> > -		return "multiple"
> > -	}
> > +        if (url.match(/rec\/bibtex/)) {
> > +			if (url.match(/journals/)) {
> > +				return "journalArticle";
> > +			} else if (url.match(/conf/)) {
> > +				return "conferencePaper";
> > +			} else if (url.match(/series|reference/)) {
> > +				return "bookSection";
> > +			} else if (url.match(/books/)) {
> > +				return "book";
> > +			} else if (url.match(/phd/)) {
> > +				return "thesis";
> > +			} else {
> > +				return "bibtex";
>
> How about returning a generic item type? E.g. document
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/zotero/translators/pull/671/files#r8819567>
> .
>