04/12/12

Permalink 11:30:44 am, by sarneil, 54 words, 509 views   English (CA)
Categories: Activity log; Mins. worked: 60

update donation information on site

University has a new online setup for accepting donations to specific depts, projects:
user has to:
go to https://extrweb.uvic.ca/page.aspx?pid=466
click on Other in the Designation field
enter the name of the dept, project, scholarship in the text box that appears.
complete form

Implemented this on the medi site.

11/10/12

Permalink 09:51:24 am, by sarneil, 65 words, 254 views   English (CA)
Categories: Activity log; Mins. worked: 360

hcmc : updating proposal procedure, mandate and admin sections of new site

Over last couple of weeks, I've been putting in a couple of hours here and a couple of hours there editing the dev HCMC site, especially sections dealing with project proposals and related "what we can do for you" type stuff. The pages on the HCMC and DH committee mandates etc. will be revised after discussion of proposed changes at the next DH ctte meeting.

03/10/12

Permalink 04:19:40 pm, by sarneil, 70 words, 271 views   English (CA)
Categories: Activity log; Mins. worked: 90

grs : meet regarding new website

Met with Martin and MM to talk about a new GRS website in the cascade environment, what's involved and the various pros and cons. The department will probably go ahead with this, and will start planning the structure of the site. They'll then meet with us again to review the spreadsheet and tweak it for submission to wherever it goes so that we can get an account on cascade provisioned.

17/07/12

Permalink 10:40:37 am, by sarneil, 304 words, 273 views   English (CA)
Categories: Activity log; Mins. worked: 60

take in calendar files as XML or as text for rendering into data for course widgit

The page http://web.uvic.ca/calendar2012/CDs/ENGL/CTs.html declares itself as html 4.01 transitional and is not well-formed XML. I opened it as a plain XML file in Oxygen:
- bunch of self-closing elements which don't have a close tag or "/>",
- bunch of upper-case element and attribute names
- couple of missing li elements to contain nested lists.
So, we'd have to do maybe a dozen regexp string manipulations to take the raw file and turn it into well-formed XML source, but those same regexps could probably be used to create output XML instead.

The page http://web.uvic.ca/calendar2012/CDs/ENGL/101.html also declares itself as html 4.01 transitional and is even further from well-formed XML. We need only a pretty small and simple snippet from the page which, so again we'd probably have to take that in as text. The regexps to turn it into a usable XML source would be more, and more complex, than the regexps to create the desired output XML

The page https://www.uvic.ca/BAN2P/bwckctlg.p_disp_listcrse?term_in=201301&subj_in=ENGL&crse_in=101&schd_in= also declares itself as html 4.01 transitional. It's a long way from XML, too, so again I figure we'll likely be treating this as text rather than an xml structure.

Pattern is pretty clear. Right now, it looks like we should take in the files as text rather then xml, and run regexps to generate the output XML we want. I don't think it's viable to take in the calendar files as XML, and I don't see sufficient value in taking the raw html as text and using regexps to render an XML (or XHTML) version of the input structure and then doing XSLT on that XML to generate the output XML

16/07/12

Permalink 04:21:37 pm, by sarneil, 1283 words, 310 views   English (CA)
Categories: Activity log; Mins. worked: 90

engl : how widget is getting course and offering information

It looks like the English dept widget is doing something like what our code for the Philosophy site does, only more ambitious. Namely, they {
- go to http://web.uvic.ca/calendar/CDs/DEPT/CTs.html where DEPT is the four letter department code, e.g. ENGL
- create a list of all the courses offered from that page
- for each item in that list (where XXX is the course number, e.g. 101) {
- - go to http://web.uvic.ca/calendar/CDs/DEPT/XXX.html
- - get the course description, credit units and hours
- - ask banner for offerings in each of summer, where YYYYMM is the year and month of the start of the term, e.g. 201205, 201209, 201301)
https://usource.uvic.ca/pls/BAN1P/bwckctlg.p_disp_listcrse?term_in=YYYYMM&subj_in=DEPT&crse_in=XXX&schd_in=%
- - for each offering {
- - - get CRN, section, instructor, time and place of offering
}
}
}

I don't know if they're doing a bunch of regexp string processing or some actual XML parsing. The stuff they're working from is pretty ugly, but it is machine generated, so presumably consistent for parsing.

Here's a snippet from the file http://web.uvic.ca/calendar/CDs/ENGL/CTs.html showing the entry for ENGL 101 which would be used to add an item for 101 to the list of courses offered by the department:

<h3 class='cdListLevel'>100-level courses
<a name="1L" href="CDs/ENGL/CTs.html#pageTop">
<img src='pix/toTop.gif' title='go to top' width='26' height='20' border='0' />
</a>
</h3>
<ul class='CDTL'>
<li>
<a href="CDs/ENGL/101.html">
101&nbsp; Fundamentals of Academic Literacy
</a>
</li>
...
</ul>

And here's a snippet from the file http://web.uvic.ca/calendar2012/CDs/ENGL/101.html that would be used to get the course description, title, units and hours for ENGL 101 (the units and hours would have to be done by string rather than node processing):

<!-- SCD -->
<div id="CDpage">
<h1>ENGL 101</h1>
<h2>Fundamentals of Academic Literacy</h2>
<h3>Units: 1.5, Hours: 3-0</h3>
<p>Introduction to the reading and writing skills needed to meet the expectations of university-level academic study. Emphasis is on building proficiency in academic reading and writing through extensive practice. Suitable for students who need to strengthen their reading and writing skills before attempting a course that meets the Academic Writing Requirement.</p>
<p><b>Notes: - </b>Restricted to students who have not satisfied the Academic Writing Requirement.</p><p>- This course does not satisfy the Academic Writing Requirement.</p>
...
</div>

There are two snippets used to get the details of the course offering. First, the snippet from the file https://www.uvic.ca/BAN2P/bwckctlg.p_disp_listcrse?term_in=201209&subj_in=ENGL&crse_in=101&schd_in= that would be used to provide all the details of the course offering except the number of seats available:

<TABLE CLASS="datadisplaytable" SUMMARY="This table lists the scheduled meeting times and assigned instructors for this class.."><CAPTION class="captiontext">Scheduled Meeting Times</CAPTION>
<TR>
<TH CLASS="ddheader" scope="col" >Type</TH>
<TH CLASS="ddheader" scope="col" >Time</TH>
<TH CLASS="ddheader" scope="col" >Days</TH>
<TH CLASS="ddheader" scope="col" >Where</TH>
<TH CLASS="ddheader" scope="col" >Date Range</TH>
<TH CLASS="ddheader" scope="col" >Schedule Type</TH>
<TH CLASS="ddheader" scope="col" >Instructors</TH>
</TR>
<TR>
<TD CLASS="dddefault">Every Week</TD>
<TD CLASS="dddefault">10:30 am - 11:20 am</TD>
<TD CLASS="dddefault">TWF</TD>
<TD CLASS="dddefault">Clearihue Building D134</TD>
<TD CLASS="dddefault">Sep 05, 2012 - Dec 03, 2012</TD>
<TD CLASS="dddefault">Lecture</TD>
<TD CLASS="dddefault">Brock C. MacLeod (<ABBR title= "Primary">P</ABBR>)<A HREF="mailto:brock1@uvic.ca" target="Brock C. MacLeod" ><IMG SRC="/assets/self-service/admissions/icons/notcheck.gif" ALIGN="middle" ALT="E-mail" TITLE="E-mail" NAME="web_email" HSPACE=0 VSPACE=0 BORDER=0 HEIGHT=28 WIDTH=28></A></TD>
</TR>
</TABLE>

And here's a snippet from https://www.uvic.ca/BAN2P/bwckschd.p_disp_detail_sched?term_in=YYYYMM&crn_in=NNNNN (where NNNNN is obtained from the course offering query above) from which you'd obtain the number of seats available (and/or the length of the waitlist):

<TABLE CLASS="datadisplaytable" SUMMARY="This layout table is used to present the seating numbers." width = "100%"><CAPTION class="captiontext">Registration Availability</CAPTION>
<TR>
<TD CLASS="dddead">&nbsp;</TD>
<TH CLASS="ddheader" scope="col" ><SPAN class=fieldlabeltext>Capacity</SPAN></TH>
<TH CLASS="ddheader" scope="col" ><SPAN class=fieldlabeltext>Actual</SPAN></TH>
<TH CLASS="ddheader" scope="col" ><SPAN class=fieldlabeltext>Remaining</SPAN></TH>
<TR>
<TH CLASS="ddlabel" scope="row" ><SPAN class=fieldlabeltext>Seats</SPAN></TH>
<TD CLASS="dddefault">24</TD>
<TD CLASS="dddefault">23</TD>
<TD CLASS="dddefault">1</TD>
</TR>
<TR>
<TH CLASS="ddlabel" scope="row" ><SPAN class=fieldlabeltext>Waitlist Seats</SPAN></TH>
<TD CLASS="dddefault">100</TD>
<TD CLASS="dddefault">4</TD>
<TD CLASS="dddefault">96</TD>
</TR>
</TABLE>

And here is a snippet of the XML from the English widget, with lots of whitespace and comments added by me:

<terms>
<term
/*
id value is a conventionalized date, name value is concocted based on value in id
*/
id="201301"
name="Second Term: Jan - Apr 2013"
>
<level
/*
value of both fields is concocted by code - nothing to do with calendar or banner
*/
level="100"
title="First Year Undergraduate"
>
<course
/*
value for each of these fields is scraped from web.uvic.ca/calendar/CDs/DEPT/XXX.html . The value for XXX is scraped from http://web.uvic.ca/calendar/CDs/DEPT/CTs.html */
hours="3-0"
number="101"
title="Fundamentals of Academic Literacy"
units="1.5"
>
<section
/*
value for each of these fields is scraped from https://www.uvic.ca/BAN2P/bwckctlg.p_disp_listcrse?term_in=YYYYMM&subj_in=DEPT&crse_in=XXX&schd_in=% except for open, which is obtained by scraping https://www.uvic.ca/BAN2P/bwckschd.p_disp_detail_sched?term_in=YYYYMM&crn_in=NNNNN where NNNNN is the crn value obtained in the query just above.
*/
crn="20878"
dates="Jan 03, 2013 - Apr 05, 2013"
days="MR"
facultypage="suzan_j_last.html"
instructor="Suzan J. Last"
number="A01"
open="0" /* not sure where they're getting this value from */
time="1:00 pm - 2:20 pm"
where="Clearihue D130"
/>
...
</course>
...
</level>
...
</term>
...
</terms>

10/04/12

Permalink 01:53:10 pm, by sarneil, 71 words, 471 views   English (CA)
Categories: Activity log; Mins. worked: 120

GRS : expedite site proposal

Met with JS and Judy to talk about issues with site proposal. Revised site based on JS's input and Judy submitted that to BB for approval, which came back. Meanwhile JS would expedite the provisioning of the account so that we would have enough time to create some of the sections and pages for BB and SB to work on at the upcoming Cascade training session. Proposal submitted to information architects.
Permalink 01:24:37 pm, by sarneil, 24 words, 213 views   English (CA)
Categories: Activity log; Mins. worked: 60

PAAS : submit dept site plan to communications

Met with Martin and three people from PAAS to finalize proposed site plan. Made modifications and circulated to all and to JS at communications.

05/04/12

Permalink 04:56:21 pm, by sarneil, 74 words, 214 views   English (CA)
Categories: Activity log; Mins. worked: 90

GRS : get ball rolling on site proposal

Turns out that the GRS site proposal hasn't got past JS, which she and Judy try to schedule a meeting. I proposed a day and time which worked out. We got input from JS, and submitted an updated proposal after getting OK from BB. JS is expediting the provisioning of the site in advance of cascade training session next week, and we expect to hear back from information architects at about the same time.

23/02/12

Permalink 04:44:48 pm, by sarneil, 49 words, 277 views   English (CA)
Categories: Activity log; Mins. worked: 15

HCMC : Cascade account provisioned

Heard back from JS that our site plan was approved and we have had an account provisioned. Assigned Judy and Greg to work together (Judy's worked on one more-complex site already, and Greg wants to learn the ropes of how the environment works) to structure and populate the site.

30/06/11

Permalink 03:53:32 pm, by mholmes, 44 words, 311 views   English (CA)
Categories: Activity log; Mins. worked: 30

HUMS site: fixed navbar issues

With advice from BLT on what was intended, I've fixed the secondaryNavbar.php code in the student subfolder. I think the style of the section headers could be revisited, and customized, so they don't look selected, but the page is valid and everything works.

<< Previous Page :: Next Page >>

Update of Humanities Sites

This blog is for work done creating and major updating of departmental and similar sites. Routine text edits etc. are logged in the Depts blog.

Reports

XML Feeds