Trying to stay on schedule with the Coldesp plan.
We really want to be able to reliably generate correspDesc headers for our original XML, so the first step is to identify with @key the sender and receiver of each piece of correspondence. I've handled a bunch of the low-hanging fruit with search and replace; more of this can be done, but there are some special cases (such as companies) which will need a bit of thought.
Issue 12 editors' meeting.
Worked with GL to get the original XML XSLT into decent shape; it's doing about half of what we eventually want it to do at this point. Set up RNG and Schematron validation of the product, and added that the Jenkins build. Rescued the ancient B58 bibliography file and converted it to bibl elements with appropriate formatting; this will form the basis of a real project bibliography, which will contain everything we reference, enabling us to centralize and standardize our referencing.
Met with K & K and talked through our process regarding imperfect rhymes; wrote up the result in our documentation. Got PS to help with debugging a particular rendering issue with inverted line wraps, then documented the method of encoding those in the schema. Fixed a couple of bugs reported by KAF, and started thinking through a process that might help encoders detect when rhymes in a long poem are echoes of rhymes earlier on.
Met with JJ to plan DHSI course outline. Good progress.
There's a problem with connections from the Siberian site to the mysql database hanging around on the database forever.
Searching through the code, I see it's using PDO to connect to the database. A variable called $dbhCon is the PDO connection object. A variable called $dbhQuery is the query that is executed. The only instance I can find of $dbhQuery->execute() is line 16 of /include/search-results.php. The results of that query execution wind up in a php array called $rows. I've added a $dbhCon = NULL; line immediately following that assignment in an effort to force the connection on the mysql database to terminate, as it sometimes seems to hang around for weeks.
History department is doing a talk which is to be live streamed by AV. AV gave them this block of code to insert in their Cascade site. Presumably some of the connection arguments are specific to the stream and will vary with each instance.
When we put that code in and published the page, we got the player with a "error cross domain request denied" message. In consultation with Scott Thorpe, he said this is normal behaviour and the code will just work when the stream is enabled (about 15 minutes before the event actually starts).
There is no way to test this in advance.
<div style="width: 100%; max-width: 512px;">
<div style="border: 1px solid #000; position: relative; width: 100%; padding: 0;" id="VidPlayerPlaceholder_1243" class="videoplayer">
</div>
<script type="text/javascript" src="//www.uvic.ca/video/player/js/7.11.2/jwplayer.js"></script>
<script type="text/javascript">jwplayer.key="UJGcVouk597phvGZrziZMHAb3IRluP27vKFmTIMbWyw=";</script>
<script type="text/javascript">
var p = jwplayer('VidPlayerPlaceholder_1243').setup({
flashplayer: "//www.uvic.ca/video/player/jwplayer.flash.swf",
playlist: [
{ title: "", image: "//hlsvod.uvic.ca/vod/mediaservices/UVic-one.jpg", sources: [{ file: "//hlslive.uvic.ca/hls-live/livepkgr/_definst_/livestream/livestream.m3u8"}]}
],
primary: 'html5',
hlshtml: 'true',
width: '100%',
aspectratio: '16:9',
autostart: 'false',
repeat: 'false',
controls: 'true',
logo: {
file: '//www.uvic.ca/systems/assets/images/video-player/uviccopyright.png',
link: 'http://www.uvic.ca',
position: 'top-left',
hide: 'false'
},
rtmp: {
bufferlength: '5'
}
});
p.setVolume(50);
</script>
</div>
<!-- Closes video player -->
Got the first editorial intro material from DH, and it sort of fits in the projectDesc, so I've created a new file called data/project/project.xml to host it. Eventually there will be a full editorialDecl in there, and I'll convert that stuff into an editorial info page on the site.
Met with JJ to discuss priorities, which was very helpful. She laid out some ideas for documentation and structure; she's going to get working on some texts to help flesh out some real life encoding.
To do so, she needs some stuff from the TCP, which we've done before. Since we've needed to do this a few times, I've decided to automate the process slightly:
- First, I downloaded the JSON version of the TCP catalogue, and converted it to a much smaller XML file, deleting fields that we don't need
- Then, wrote another XSLT that resolves an STC number to a TCP number, if available, retrieves that TCP document and then passes it through the (existing) set of templates for converting TCP to LEMDO