I took the old website, turned it into a zip file and posted it to the root of the departmental account.
I then deleted all but the clipart folder in the old site on the department account
I then uploaded the new site to the account and did some quick testing, specifically of the php and included files.
Thanks to Greg for noting a couple of bugs which I fixed.
I also wrote a readme file and posted some technotes to the root of the new site for the use of future maintainers of the site.
Reviewed an abstract on spectrographic analysis of hexameter in classical verse.
Added new quicktags button for waste of time (currently not displaying as anything, but it does add a span with a specific class of "TimeWasted").
Set up the Admin, Academic and Depts. blogs.
Began work on the statistics page:
- Analysed the way other admin pages are constructed as controllers and called through embedding in the admin.php page.
- Created a blank page using the same mechanism -- took a while to get that right.
- Used the model of the Users controller to create an HCMC Stats controller page, and tweaked it until it displayed correctly based on the same permissions as the User admin controller.
Files changed:
blogs/_header.php
blogs/conf/_admin.php
Next steps: figure out how to make db calls through the database object, which is based on ezsql (http://justinvincent.com/docs/ezsql/ez_sql_help.htm), and then start setting up a search form. We'll use AJAX to retrieve and display reports.
I'm on the DH2007 program committee and I have seven papers assigned to me for assessment in the next couple of weeks.
Created a system for checking the value of "Minutes worked" when submitting a post. If any category or subcategory with the name "Activity log" is selected, and yet the value of "Minutes worked" is NaN or less than 1, a warning pops up and the submission is prevented.
Created a new file:
blogs/rsc/js/hcmc_functions.js
Edited this file, to add a call to include the above:
blogs/inc/VIEW/_menutop.php
In the process of testing this, I noticed a persistent js error from one of the B2Evo files:
Error: first_form has no properties
Source File: http://tapor.uvic.ca/~hcmc/blogs/rsc/js/form_extensions.js
Line: 251
This should be looked at.
Stewart posting minutes worked in meeting with Martin and Greg as detailed in Martin's post.
Greg and I used this example to discuss more elegant ways of handling this situation:
1) allow person posting to include minutes worked for others in post or provide way for person B to edit post by person A to include minutes spent by person B
2) allow comments made by authenticated users to include minutes worked, so that a post like this one would instead be a comment
Succeeded with Martin's help in rewriting the search query on the search.php page to avoid the errors generated by the id($var) call. Now successfully gets number of hits of search string in each article in collection. Yet to do: return list of timestamps corresponding to hits - requires editing another piece of code that uses the id($var) construction
Applied that knowledge to similar problem in player.php page, so that now successfully gets list of videos in collection and plays video file. Yet to do: get the transcript to appear. No error message appears, but I suspect it is another instance of the id($var) construction.
Nov 29 add link to related post on MapOfLondon in Depts blog
I prepared a template data file and went through it with Catherine and Marie-Claude. We decided which elements to use to capture necessary information and I demonstrated how to start a new file from the template, find the necessary places to enter information, and enter information in the oXygen editor.
Based on meeting, I updated the template file and sent a copy to them, but I have yet to update the rng file to restrict tags available to only those we want to use.
They have rng and template xml files on their laptops.
The project consists of a collection of video files with XML transcript files. Catherine and MarieClaude need to learn to create standardized video files, get timestamps for each utterance (iMovie and QTPlayer) and then create an XML file in Oxygen which validates against the FrancoToile.rng file. Task will be considered done when they have produced their first complete video clip and valid data file.
Declared complete 19 Dec when Catherine said they had completed and validated one data file with video.
Code for this project is based on Mike Elkink's code for Lansdowne lectures. It uses PHP to generate xqueries which are evaluated against an eXist database. I need to learn enough xquery to add search filters needed for this project, and to overcome the id($var) calls, which work in lansdowne but are generating errors here.