Fedora Embed is a WordPress plugin I am developing for embedding items stored in a remote Fedora repository into a WordPress post or page. It is designed specifically for the Humanities Commons CORE Repository, an open-access repository of academic documents.
Fedora Embed is currently in the “proof of concept” stage of development: it is functional, but not fully tested and not fully featured. You can download and install it from GitHub, but expect things not to work perfectly. The GitHub page also contains instructions for installation and use, notes about known problems, and planned features.
Below is a list of the publications I have uploaded to CORE, divided into Articles and Syllabi sections:
The data for these lists are pulled live from the CORE repository; if I edit the entries on CORE, or add a new entry matching the search criteria, those changes will be reflected immediately in these embedded lists, without needing to edit or republish the page. This means that if you upload all of your publications to CORE, your publication list on your website will always be up-to-date, with consistent formatting and download links.
Fedora Embed is a plugin for the WordPress block editor (future versions may also work with the WordPress classic editor through shortcodes). Once the plugin is installed and the repository base url is set through the Settings | Fedora Embed page in the dashboard, Fedora Embed blocks can be added to any WordPress post or page. When a block is added, you are presented with the following form:
When you run the search, if there are any results, the block will switch to list view in the editor. The search is also saved, and that saved search is run whenever the page is loaded on the front end. That search generates a query to the remote repository’s REST API whenever the page is refreshed, so changes to the remote repository are reflected immediately in the page. For example, if you discover a typo in the title of one of your publication titles, you can edit that on Humanities Commons CORE, and it will also be fixed on your site the next time the page is refreshed.
For more detailed instructions on installation, use, and limitations, see the project’s GitHub page.