Week Beginning 25th November 2024

I completed work on and submitted the Speak For Yersel abstract for the DH2025 conference this week.  The acceptance rate for this conference is pretty low so we’ll just need to see how we get on.

I spent most of the rest of the week working on place-names projects.  We have a new ‘place-names of Nairnshire’ project starting up soon and I set up the systems for this project.  The most recent version of the place-names CMS is one I’d developed for the Comparative Kingship project.  For this version I’d migrated everything to Bootstrap so the interface has a nicer, more intuitive layout.  However, since creating the CMS Bootstrap has made some significant changes to the layout of forms and in order to use the most recent version of Bootstrap I needed to go through the code and change a lot of things.  For example, ‘select’ elements previously had the class ‘form-control’ but if this is used with the most recent version of Bootstrap then select boxes don’t have a visible down-arrow to make it clear there is a drop-down list.  In order to make this appear the class needs to be changed to ‘form-select’.

I’d also set up the CMS to be bilingual, with fields for both English and Gaelic forms, as this was required for Iona and Mull.  However, this is not necessary for Nairnshire and I therefore updated the interface to remove the Gaelic boxes, which makes things a lot more streamlined.  Once I’d completed work on the CMS I then replaced the Comparative Kingship CMS with the updated code, as it too didn’t need all of the Gaelic fields.

I then imported the data for the Nairnshire parishes from the GB1900 crowdsourced data.  It took some time to get this set up as I had to redownload the full GB1900 dataset and import it into a new database.  With this in place I could then extract the data for the new parishes, resulting in several thousand place-names getting added to the CMS, plus links to the OS second edition source and the creation of historical forms.  What I haven’t been able to do yet is set the altitude for these place-names as I’m currently setting everything up on an instance hosted on my laptop as the new domain for the project has not yet been set up.  My Google Maps API (used for requesting altitude data for a given latitude and longitude point) will only work from sites hosted on ‘glasgow.ac.uk’ so connections from my laptop are refused.  Once the domain is set up I’ll ensure this data is generated. I also began working on setting up the ‘map first’ interface for the project’s front-end but again I’m limited in what I can do here until we get the actual domain set up – hopefully next week.

Also for place-names this week I investigated an issue with the Fife place-names resource that Carole Hough had spotted:  a browse by classification code was resulting in a blank screen.  Thankfully no other part of the site was affected and once identified it was relatively easy to fix the issue – something that had been introduced during the migration of the site to the new server and had previously been overlooked.  I also looked into an issue with the Ayrshire CMS that Simon Taylor had identified.

Also this week the AND people sent me 13 new XML files that needed to be added to the Textbase.  This is quite a lengthy process as I need to check the texts are in the correct format, rename and upload them and then run them through multiple stages in order to assign genre, link to the lists of source texts, extract individual pages to enable the jumping to a specific page and then generate all search data for the texts for the concordance view (e.g. KWIC).  I only got round to working on this on Friday afternoon and I still have more than half of the texts left to tackle, which I’ll do next week.

There was another AND related issue I investigated this week.  The site has been running rather slowly recently and I asked our IT people to investigate this.  The most noticeable issue was that when loading in a dictionary entry the links to source texts appear as IDs only.  The full text details for these are then loaded in via an AJAX call, but this call was taking more than 20 seconds to complete, when previously it was happening instantaneously.  I did some investigation and realised that the API call was including a lot of fields that were not actually needed on the entry page, such as lists of items for each sigla, bibliographies and notes.  I therefore created a new version for the entry page that only outputs the two fields that are used (slug and siglum) and this now loads much more quickly.  We’ll just have to keep an eye on the overall speed of the site as it would appear that the server is struggling somewhat.

In addition to the above I had an email conversation about the hosting of the OHOS project website, made a couple of tweaks to some data and investigated web statistics for Eleanor Lawson, spoke to Garric Allen about another new proposal he’s putting together (for the AHRC this time) that I’ll probably be involved in, and had a chat with William Ashford of the DSL about the ancillary pages we host on the live and development sites.