Integrating Fundref via Fundref Widget

At Ubiquity Press our new Junior Developer, Stuart Jennings is working to integrate Fundref with our submission platform, allowing authors to submit their Funding info so it can be published and deposited with Crossref.

We were informed of the Fundref Widget (info, github), which we used as the basis of our integration, with a slight modifications so that we can get hold of the Funder ID as well as their official name (required for deposit) and to bind the funder names to the award numbers.

This all went fine until Stuart started noticing blank entries in our POST dictionary:

After some post-processing

we’re left with the much nicer looking:

In order to filter out these blanks in the list we simply need to filter them out, python has a neat little function called filter that does exactly this:


After some investigation, it appears that the Fundref widget creates a set of invisible fields and clones these whenever it is asked to add a new row to the block.

Pub Tech developer for Birkbeck CTP

Pub Tech developer for Birkbeck CTP