News for hackers. Stuff that matters.
Re:Show HN: Turn a paper's DOI into its full reference list ... by oersted on Sunday June 22, 2025 @04:32PM (#44350054)
Is an open-source library being used for this? Or can you describe the methods you use? I worked on this and related problems around extracting features from paper PDFs, we could all learn from how you did it.

Generally, an About page is always appreciated for such web tools with minimal UX, particularly when it's rather automagical.

Re:Show HN: Turn a paper's DOI into its full reference list ... by mireklzicar on Sunday June 22, 2025 @06:39PM (#44350878)
Its actually open-source. Here is the repo: https://github.com/mireklzicar/doi-reference-extractor

APIs Used OpenCitations API (v2)

Endpoint: https://opencitations.net/index/api/v2/references/ Purpose: Retrieves a list of all references from a paper by its DOI Data format: JSON containing cited DOIs and metadata DOI Content Negotiation

Endpoint: https://doi.org/{DOI} Purpose: Fetches metadata and formatted citations for DOIs Formats: BibTeX, RIS, CSL JSON, RDF XML, etc. Implements CSL (Citation Style Language) for text-based citations Local Citation Style Files

Purpose: Provides access to thousands of citation styles Storage: Pre-generated JSON files with style information

Re:Show HN: Turn a paper's DOI into its full reference list ... by afandian on Sunday June 22, 2025 @05:01PM (#44350244)
In this case it's querying the relevant DOI registration agency's API for the metadata (statistically that's likely Crossref) that the publisher themselves registered. So it doesn't look like there's any extraction going on here.

Could you share _your_ work though? It's always interesting to see new approaches to metadata.

Traditionally, it was a bit of a one-way street (data comes from publisher) but there's some interesting work being done by COMET [0] and (separately) OpenAlex [1] around cleanup of the publisher-supplied data within the community.

(I used to work at Crossref; am a little involved with COMET)

[0] https://www.cometadata.org/

[1] https://openalex.org/

Re:Show HN: Turn a paper's DOI into its full reference list ... by trurl42 on Sunday June 22, 2025 @04:42PM (#44350113)
Looks like it's just calling the crossref API
Re:Show HN: Turn a paper's DOI into its full reference list ... by afandian on Sunday June 22, 2025 @04:56PM (#44350210)
You can look at the network requests to see what it's doing. It's querying the OpenCitations database followed by the DOI.org content negotiation endpoint, which 302's to Crossref (or whoever the relevant DOI registration agency is).

More info on content negotiation:

https://citation.doi.org/