Posts
Call it The GCDLADB if you like.
Mounting //STORAGE for IMI Ingest in Digital.Grinnell 2 min read Jul 22, 2019 | Updated: Nov 12, 2020 08:30
Claiming another small victory today! Why? Well, the Digital.Grinnell instance of IMI (Islandora Multi-Importer) module is customized so that choosing “*local” as an object ingest source invokes a hook function I created in our DG7 module. That hook enables IMI to “find” named files/content (things like PDFs, images, etc.) in the Grinnell College //STORAGE server. //STORAGE can be mounted as a CIFS (Common Internet File System) and used to drive ingest if the right package/drivers are made available to Islandora. That can be a little tricky in ISLE, but it’s manageable. ...
Building ISLE 1.3.0 (ld) for Local Development 8 min read Aug 5, 2019 | Updated: Nov 5, 2019 20:38
This post, an updated (the original was written in August 2019 for ISLE-1.2.0) follow-up to a previous post is intended to chronicle my efforts to build a new ~ISLE v1.2.0~ ISLE-1.3.0, ld, or local development, instance of Digital.Grinnell on my work-issued MacBook, ma7053. Goal Statement The goal of this project is to spin up a pristine, local Islandora stack using an updated fork of the ISLE project at https://github.com/Digital-Grinnell/dg-isle, then introduce elements like the Digital Grinnell theme and custom modules like DG7. ...
Dockerized Omeka-S: Starting Over 6 min read Jul 25, 2019 | Updated: Sep 3, 2019 15:14
Attention! The Docksal portion of this discussion DID NOT WORK PROPERLY so I’ve hidden it from public view. Don’t use this project with Docksal (fin commands) until further notice! I’ve created a new fork of dodeeric/omeka-s-docker at DigitalGrinnell/omeka-s-docker, and it introduces a new docker-compose.yml file for spinning Omeka-S up locally, but WITHOUT Docksal (due to problems with the integration originally documented here). System requirements for local development of this project currently include: Docker (Community Edition) Git Local Development and Testing If your workstation is able to run the aforementioned required components then the following steps can be used to launch and develop a local instance. ...
Migrating Digital.Grinnell (DG) to ISLE 1.2.0 (ld) for Local Development 7 min read Aug 13, 2019 | Updated: Aug 16, 2019 10:52
This post is a follow-up to previous post 034 where I successfully completed a “local” build of ISLE v1.2.0, but did no “customization” of that local instance. So, this post’s intent is to complete the goal stated in post 034, specifically to: The goal of this project is to spin up a pristine, local Islandora stack using an updated fork of the ISLE project at https://github.com/DigitalGrinnell/dg-isle, then introduce elements like the Digital Grinnell theme and custom modules like DG7. Once these pieces are in-place and working, I’ll begin adding other critical components as well as a robust set of data gleaned from https://digital. ...
Building Grocy in Docksal 6 min read Aug 8, 2019 | Updated: Aug 11, 2019 08:34
Grocy looks lika a great little PHP stack application for me. It’s aim is to help folks organize and inventory their “stuff”, with a slant toward food and groceries. I need this! Since I’m also a big fan of Docker and Docksal, naturally I wanted to spin Grocy up in one of these environments. Thankfully, the heavy lifting of getting this “Dockerized” has already been done, and that fine work is shared in GitHub at grocy/grocy-docker. So my quest last evening started with a fork of this GitHub project to SummittDweller/grocy-docker, where I’ve created a new docksal branch. ...
CanonifyURLs in Hugo 1 min read Aug 6, 2019 | Updated: Aug 6, 2019 21:25
I’ve been seeing a lot of .URL will be deprecated... warnings in my Hugo compilations lately, and just now figured out a slick replacement for it: canonifyURLs = true. The documentation for this parameter says… By default, all relative URLs encountered in the input are left unmodified, e.g. /css/foo.css would stay as /css/foo.css. The canonifyURLs field in your site config has a default value of false. By setting canonifyURLs to true, all relative URLs would instead be canonicalized using baseURL. For example, assuming you have baseURL = https://example. ...
Adding a LastMod Date 1 min read Aug 2, 2019 | Updated: Aug 6, 2019 15:02
So, Hugo supports the use of front matter “date” variables including: date, publishDate and lastmod. I won’t explain the details of each variable because the aforementioned resource has a nice, concise explanation of them all. Until recently this blog only dealt with the “date” field since I used to have Atom configured to automatically update that field for me when I save changes to a file. However, Hugo treats “date” more like the date of publication (publishDate) than the last modification (lastmod) date, so things got a little screwy if/when I edited an old post. ...
Deleting Config Items in Drupal 8 1 min read Jul 30, 2019 | Updated: Jul 31, 2019 22:53
None of this is my creation, but it’s too valuable to forget! So kudos to Goran Nikolovski and his blog post. The problem I ran into involved the Drupal update.php script, and an orphaned bit of configuration data. When I tried running update.php the first of 13 pending database updates kept throwing an exception telling me of a missing plugin, and that effectively killed the other 12 updates. 😦 Well, I really didn’t care that it was missing (and Drupal should not either) because the update was there to delete it, but since the update kept failing, we had ourselves an impossible loop. ...
Resetting Docker 1 min read Jul 27, 2019 | Updated: Jul 31, 2019 13:59
This command snippet needs a blog post of its own! I typically use the following command stream to clean up any Docker cruft before I begin anew. Note: Uncomment the third line ONLY if you want to delete images and download new ones. If you do, be patient, it could take several minutes depending on connection speed. Workstation Commands docker stop $(docker ps -q) docker rm -v $(docker ps -qa) # docker image rm $(docker image ls -q) docker system prune –force And that’s a wrap. ...
PDF Ingest in Digital.Grinnell 2 min read Jul 24, 2019
A set of 21 PDF objects were ingested into Digital.Grinnell’s Faculty Scholarship collection using IMI on 22-July-2019; unfortunately none of these PDFs contained OCR (optical character recognition) or “text recognition” data, so none of them generated a valid FULL_TEXT datastream. FULL_TEXT datastreams are required to make PDF, and similar text content, searchable and discoverable in Digital.Grinnell. In order to confirm that the lack of OCR was in fact the problem, I ran a little test on https://digital.grinnell.edu/islandora/object/grinnell:26702, one of the 21 objects. ...