11/10/18

Permalink 05:11:36 pm, by mholmes, 29 words, 6 views   English (CA)
Categories: Activity log; Mins. worked: 45

Keats: fixes and tech support

M is back working, and needed a little help with images; KB stopped by to get assistance with some svn and linking issues. All solved, site rebuilt and uploaded.

Permalink 02:51:12 pm, by sarneil, 70 words, 6 views   English (CA)
Categories: Activity log; Mins. worked: 2

ViHistory : modified annotate page

The annotate page takes in a value in the GET array of the form <table type>.<table modifier>:<record id>. The load_get method was changed to escape the ":", but in this instance I need the literal character as it's used as a delimiter within the method, so I added a str_replace to reverse that escape and allow the annotation page to work.
Permalink 02:01:34 pm, by sarneil, 57 words, 4 views   English (CA)
Categories: Activity log; Mins. worked: 480

ViHistory : updated site for new php

The code for vihistory used "<?" to open all the php blocks. Newer versions of php and our server infrastructure require "<?php", so I've replaced all the instances that needed to be changed. Also made changes in protocol from "http" to "https". NB for both of those, there are a small number of instances (e.g.

25/09/18

Permalink 04:09:26 pm, by mholmes, 61 words, 14 views   English (CA)
Categories: Activity log; Mins. worked: 120

BreezeMap: implementing support for multiple GeoJSON sources

No code committed yet because it will break stuff -- I should be working in a branch but I'm not. But I'm trying an append function that would add a new GeoJSON feature collection to the existing one. If this isn't practical, an alternative approach will be to combine two GeoJSONs in JS before reading them, but that's probably no simpler.

20/09/18

Permalink 02:26:35 pm, by mholmes, 24 words, 9 views   English (CA)
Categories: Activity log; Mins. worked: 90

Keats: interview and onboarding of new WS

MM has joined the team and will start tomorrow. I also fixed some CSS issues (adding handling for nested quotes), and updated the documentation.

19/09/18

Permalink 04:52:06 pm, by mholmes, 36 words, 10 views   English (CA)
Categories: Activity log; Mins. worked: 180

TCCD: bugs fixed, tickets cleared

Fixed a couple of bugs from tickets, did some CSS work to clean up the Team page, fixed a bunch of badly-linked and badly-named images there, and checked and cleared a bunch of older GitHub ticket.

18/09/18

Permalink 10:50:28 am, by mholmes, 140 words, 5 views   English (CA)
Categories: Activity log; Mins. worked: 60

DSPP: new diagnostics check for page images

I've now added the new check to the diagnostics for incomplete sequences of images. In addition to poems which have no images at all, there are also a few poems which are listed in the diagnostics output like this:

Poem #9095 Book VI (Blackwood's Edinburgh Magazine) (expected page count: 5; actual images: 4.)

This check can't really take account of the relatively small number of cases where page numbers are not pure numbers; for instance, if the page-range is specified as:

354a-354b

or

xx-iv

it's not practical to try to figure out how many pages should be in there.

I've normalized all instances of abbreviated pages so that e.g. 227-28 becomes 227-228. But again, I can't easily do that with non-numeric pages, so there may be examples like xx-iv where only a human could really deduce that it should be xx-xxiv.

17/09/18

Permalink 02:39:37 pm, by mholmes, 142 words, 8 views   English (CA)
Categories: Activity log; Mins. worked: 90

DVPP: fix for incomplete page range designations

AC wants all page-ranges to be shown in their entirety, so I ran some XQuery to generate fixes for the abbreviated ones:

let $commands :=
for $p in //table_data[@name='poems']/row
return
let $pages := $p/field[@name='po_pages']/text(),
$id := $p/field[@name='po_id']/text()
return
if (matches($pages, '^\d\d\d-\d\d$')) then
concat('UPDATE `poems` set `po_pages` = "', substring($pages, 1, 4), substring($pages, 1, 1), substring($pages, 5), '" WHERE `po_id` = "', $id, '";')
else 
if (matches($pages, '^\d\d-\d$')) then
concat('UPDATE `poems` set `po_pages` = "', substring($pages, 1, 3), substring($pages, 1, 1), substring($pages, 4), '" WHERE `po_id` = "', $id, '";')
else ()
return string-join($commands, '
')

then ran the commands (after testing in dev) to fix the existing problems. Added a new test to the diagnostics for this.

13/09/18

Permalink 02:49:54 pm, by Greg, 45 words, 12 views   English (CA)
Categories: Activity log; Mins. worked: 20

Perms adj to ling dirs

I was asked to open up access to the multimedia IPA chart. In order to do that I had to change some of the landing pages to redirects in to the app directory. I also changed the name of the sowl content directory to sowl.

28/08/18

Permalink 04:34:40 pm, by mholmes, 71 words, 12 views   English (CA)
Categories: Activity log; Mins. worked: 90

Keats: more documentation and reorg of files

Did some minor reorganization and file renaming, as part of the long-term goal of having a standard set of naming conventions; images are where most of the problems are. Also removed a bunch of old obsolete HTML and plist files that were in the repo for no good reason. Finally, added detailed documentation on how to add images to the repo and use them on pages. Docs are coming along nicely.

:: Next Page >>

Depts

This blog is for work done for academic departments which does not fall under other categories.

Reports

XML Feeds