View the category Guerrilla Gardening for the full story
Adapting the Course page content
Any hopes of getting hold of a clean and complete data source of every course’s details were soon dashed. The CMS – which of course thinks in pages in most instances. This is great as it makes updates and devolving of content submission far easier, but I need to work around it.
Title, URL, and Course Type
The CMS will easily give up Course Title and URL, but accessing award, availability for clearing and other attributes of the pages would require far more work, possibly HTTP spidering.
The structure we gave to the Courses area when last reworked thankfully lends itself well to grabbing these additional attributes -Â denoted by their publication. Each of the three Course Types are published to a location determined by its award type:
<site root>/courses/undergraduate/
<site root>/courses/postgraduate/
<site root>/courses/cpd/
With a new templated page in the CMS connected to the content of the Course pages, I can quickly generate a rough data source for Course Title and URL into a list. I can bypass the Compliance and tidy management tools for the template, allowing me to make whatever document format I need from the source.
Availability for Clearing
For a short time each year the Clearing attribute comes into play. The courses available for Clearing are a subset of undergraduate courses, created by adding an attribute to each page.
Another great feature of the CMS is keyword assignment, which allows pages to be aggregated into lists of links and titlesfor use elsewhere.

Keyword assignment list creation in the CMS
The Clearing keyword allows me to create such a list, giving me my final data source.
For the moment I’ll leave each output page as a simple HTML list of the format:
<ul>
<li><a href="courseurl_1">Course Name 1 <a/></li>
<li><a href="courseurl_2">Course Name 2 <a/></li>
</ul>
With a snapshot of data output to files, I can begin to put together some of the proposed components. An added bonus here is that my simple data sources have by necessity been separated by Course Type, which is no bad thing as that’s the fisrt fork in the road for most visitors to the Courses pages.
With luck, more tomorrow.


