Week Beginning 26th October 2026
I mostly divided my time this week between the Dictionaries of the Scots Language and the HiMuJe Malabar project. For the DSL I updated our test site so that the second updated header mock-up I worked on last week works across the site. This version has the site menu in the top right and the DSL header centred with the search bar appearing underneath it and also centred. It was a little trickier than anticipated to apply the update, as the menu is generated by WordPress and I had to change a few things to get the new layout to work. But I think the new header works really well.
I also updated the light-blue buttons throughout the interface to make the text black rather than white, as the white could be difficult for some users to read. I also updated the homepage text to replace it with a much shorter, snappier sentence, and I made this centre-aligned and larger to make it stand out more. I also reworked the homepage widgets to give them different widths and to make their heights reflect the height of their content rather than all being the height of the biggest item. With the Bootstrap user interface framework, the width of a row is divided into 12. Currently the video is 6, the word of the week is 4 and the links box is 2 (so all adds up to 12). I might update this (e.g. to reduce the video to 5 and increase the links to 3). I updated the widget in the WordPress admin interface to replace the ‘CSS class’ box (which we never really used) with a ‘Column size’ box. The width of the boxes can be changed with this.
I also updated the Word of the week box to make the text black rather than white and to reduce the font size in the header, as it seemed rather too large, and I also gave the image rounded borders. I also updated the homepage boxes to give them a subtle gradient rather than a flat background and made a couple of minor tweaks to the footer. I made the font size slightly bigger and the links on the left now have an underline when you hover over them. I also made the ‘Scottish Government’ and ‘University of Glasgow’ text links.
I then focussed on creating mock-ups of new homepage links. At the moment the homepage features buttons links to ‘What is Scots’ and ‘How to use DSL Online’ and we wanted to incorporate images into these links to make them more visually appealing. My idea was to reuse the boxes I created on the right of this site: https://speechstar.ac.uk/ for one mock-up and reuse the boxed I created on this page https://speechstar.ac.uk/ultrasound-therapy-videos/ for another mock-up.
For both I changed the width of the boxes to 5 for the video, 4 for the word of the week and 3 for the image links, and both mock-ups work at all screen dimensions – the links are stacked on wide screens, appear side by side on narrower screens and stacked again on very narrow screens. I sent links to the mock-ups to the DSL team and will just need to see what they prefer.
For the HiMuJe Malabar project I continued to work on the map, and my first task was to figure out why the default base map had stopped displaying and was instead displaying ‘Account limit exceeded’ warnings. It would appear that either something has gone wrong with the base map provider (https://stadiamaps.com) or they have changed the free usage limits. Previously I was just linking directly to their map tiles without creating an account (which is allowed) but it looks like this is now blocked.
Thankfully by creating an account and specifying our site as a domain that uses their maps the issue has been resolved. There is a limit to the number of map loads you can have for free each month, but it’s fairly generous and hopefully we won’t exceed it. At least now I have an account I can track usage and presumably they will email me to get me to purchase credits if it looks like we’re nearing the limit. The Satellite map is provided by another company called MapBox, and I do have an account for this and it’s never exceeded their limit each month so hopefully this won’t be an issue.
With the map working again I focussed on making updates based on feedback received. I increased the maximum zoom level of the map to help avoid overlapping icons, although some icons sit directly on top of each other (e.g. Uman Mosque and Uman) and in such cases I think the editors will have to update the latitude on longitude in the data to fix this.
I also proposed that when viewing travel routes the ‘Show unrelated places’ option should be deselected by default in order to reduce clutter (unless people actively choose to see all places). The downside is that until a route is selected the map would be empty, which might be confusing. It was agreed that I should do this. It took some time to implement as it had a few knock-on effects, but the update is now in place and I think works well.
I also added an icon for the new category ‘Island’ and slightly tweaked the position of the icons inside the coloured circles as some of them were a bit offset. I also removed the ‘ID’ from the location popup and alphabetised the list of travel routes, as previously they were appearing in an arbitrary order. I also made lots of minor updates to the travel route text based on an ‘errata’ document that I’d been sent.
I then updated to code to remove empty categories from the legend (e.g. water spring). These were appearing as there are places in these categories in the data, but they don’t have geometry. But now subcats only get added to the map if they contain a location that can actually appear on the map. I also updated the icon tooltip to remove the underscore from ‘Port_town’, so that looks a bit neater now. I then updated the map so that if you resize your browser window the map now automatically updates to fill the space.
I’m currently in the middle of reworking the itinerary pane, but I haven’t finished yet. What I have done is to ensure the pane is scrollable if the content is longer than the map, so longer descriptions should now work fine. This also updates if you resize your browser window (as does the main map menu on the left). I also updated the style of the itinerary pane so the heading is now a smaller size and has a dark blue background in the same way as the location popups. I’ve also moved the navigation buttons so they appear directly after the route heading rather than at the very bottom of the pane. This means the buttons always appear consistently in the same place whereas before they moved about depending on the length of the description. I’m intending to make the buttons and the ‘stage’ text all appear on one line to save space, which I’ll continue with next week, and hopefully I’ll also have the time to rework the travel route menu layout too.
I also spent most of Friday continuing with the redevelopment of the Mapping Metaphor resource. I updated the top-level (aggregated) views of the data to avoid OE metaphors appearing in both strong and weak views. This was a bit of a tricky issue to get my head around, but essentially:
The combined view pulls in all E and OE metaphors at the given strength and adds the OE ones to the E ones if they’re not already present. But if an OE metaphor of the given strength (e.g. strong) exists in E as the other strength it doesn’t get added as it will already appear in the view of the other strength’s data.
I then started looking into adding the navigation options to the side panel for views of the data other than visualisation, as mentioned last week. But I ran into problems and have realised why I never did this in the first place: The other data views are not comparable to the visualisation view, as they combine aggregated and expanded data in a way that makes adding in the navigation options not work. It’s a bit difficult to explain, but it’s just not going to work with the way the data is currently presented.
After deciding against taking this further, I realised that I’d overlooked the ‘browse’ option in my list of things to do, and I therefore decided to work on this, and managed to complete a combined view by the end of the day. The counts of metaphorical connections are now the combined counts and the links all link through to the combined table view. However, there may be an issue with the counts due to inconsistencies in the data between E and OE datasets, as sometimes a category that is ‘cat1’ in an E metaphor is a ‘cat2’ in the OE metaphor. The way the counts are generated makes it tricky to deal with this. It’s something to consider later on, but we might have to refactor the OE data to switch cat1 and cat2 (and swap the direction) to ensure it’s consistent with the E data.
Also this week I spent a bit of time on the Books and Borrowing project. Katie and Matt need me to regenerate the data so that changes they have been making over the past few months are added to the website. But there were a couple of issues with the data they had spotted that needed fixed before this could happen. The first was reassigning several book edition records to a different book work and deleting the other book works. This took a bit of investigation but has now been done. The second was an issue with page numbering in the some of the Royal High School registers. This also took some time to investigate and will require a researcher to fix the numbering – it’s not an issue with the system but with the data. I’ll need to hold off from regenerating the website’s data until this has been sorted.