Skip to content

Allow to request bibtex from ProcessReferences #53

Open

Description

@LukasWallrich

Thanks for this very helpful client!

I would love the ability to request bibtex from ProcessReferences - for that, grobid needs application/x-bibtex but I don't believe there is a way to pass that at present? Or am I overlooking something?

Activity

  1. kermitt2 commented on Oct 9, 2022

    @kermitt2
    Collaborator

    Hi @LukasWallrich !

    This is indeed not supported by the client out of the box, no parameter for this for the moment.

    But to get bibtex results when using the processReferences or processCitationList service, you can edit the file grobid_client/client.py, line 19:

        accept_type = "application/xml"

    to

       accept_type = "application/x-bibtex"

    After edit, you need to reinstall:

    > python3 setup.py install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions