Fez repository plugin for Moodle

I have been writing a plugin for the Moodle Repository API that can now browse and search records in a Fez digital repository. Here’s the simple configuration, using the RMIT Research Bank as an example public access Fez repository:

Fez repository settings
To set up the Fez repository plugin in Moodle, simply give it the URL of your Fez repository, and how many records per page you want.

And here you can see that the plugin can browse communities, collections and records just like any other repository plugin:

Fez repository collections
The collections available in this Fez repository.
Fez repository search results
Fez repository search results and the record listing of a collection are displayed with the same interface.
Fez repository record
Selecting a record works as expected - including the title, author, date created and date modified metadata.

So far, it only supports using external files, and the resulting links are links to the Fez record view, not the attached files. This also means that you still have to add the title and description manually, even though that metadata is present in the metadata of the files presented by the repository plugin! I hope to somehow fix this with work on MDL-32130 on the Moodle bug tracker.