detectWeb does return the Zotero item type that it expects to import
when doWeb is run, yes. What do you mean by "that does not always seem
to be the case"? It is true that sometimes the actual item type isn't
easily accessible for the detect function (for which we typically won't
make additional Get or Post requests since it runs on every page load)
and then it returns something generic (e.g. a journalAriticle instead of
a bookSection), but a) that's pretty rare and b) not sure how that would
be a problem.
An example would likely help here.
> --
> You received this message because you are subscribed to the Google
> Groups "zotero-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
zotero-dev+...@googlegroups.com
> <mailto:
zotero-dev+...@googlegroups.com>.
> To post to this group, send email to
zoter...@googlegroups.com
> <mailto:
zoter...@googlegroups.com>.
> Visit this group at
http://groups.google.com/group/zotero-dev.
> For more options, visit
https://groups.google.com/d/optout.