Modify Islandora objects on-the-fly using Devel “Execute PHP Code”

Alan Stanley taught me this trick at an Islandora Camp a few years ago, and when trying to remember it this morning I messed up one critical piece. So I’ll post it here so I have something to refer back to when I need to do this again.

The Drupal Devel module includes a menu item for executing arbitrary PHP code on the server. (This is, of course, something you want to set permissions on very tightly because it can seriously wreck havoc on your day if someone uses it to do bad things.) Navigate to /devel/php on your Islandora website (with the Devel module enabled), and you’ll get a nice, big ≶textarea> and an “Execute” button:

OCLC Introduces an API for Anyone to Access Book Data

OCLC announced on Monday the availability of a new API for querying the WorldCat database: the WorldCat Basic API. This is a big deal — it opens up part of the metadata in WorldCat to anyone who wants it (for non-commercial purposes). Previously, access to WorldCat data through the developer network was limited to institutions that are members of OCLC. Data returned includes text strings for author names and book titles, ISBN and OCLC identifiers, a link to the HTML display of the record on WorldCat.org, and an optional HTML-formatted citation.

Fronting Tomcat with Apache HTTPD to Remove Ports and Context Paths

In this How-To guide, I show a combination of software and configuration to clean up URLs by removing the port numbers of the Java servlet engine (Tomcat) and the context path of the application. The goal is to create “cool URLs” that are are short (removing the unnecessary context path) and follow conventions (using the default port “80” rather than “8080”). OhioLINK also uses a custom access control module — built for Apache HTTPD — which makes the fronting of Apache HTTPD for Tomcat even more desirable.