Integrating a Drupal 7 website with the University’s EASE authentication service

ease1In the web team we recently took over the technical maintenance and development of the Edinburgh College of Art (ECA) website. Part of this development work involved integrating the University’s standard authentication service (EASE) with the Content Management System (CMS) used by the ECA website, Drupal 7.

Although the Drupal CMS has been used for many years throughout the University, it has not been widely used with EASE. The only exceptions that I am aware of are work I did myself in collaboration with Colin Higgs on the School of Engineering website to implement EASE authentication on a Drupal 6 plaftform in 2010, and which has subsequently been updated to Drupal 7 by Billy Rosendale, and http://www.projects.ed.ac.uk, built using Drupal 6. The University Website Programme (UWP) are currently developing Drupal 7 for use as the main University CMS and part of this development process is support for EASE authentication – and this EASE integration work was used by the web team as a model for the ECA website.

Continue reading

Extraordinary poster art of China

Over the last two weeks I’ve been working on a mini-site for the Confucius Institute showcasing the exhibition on propoganda poster art of China they are hosting at Adam House.

The exhibition, which features 133 posters dating from 1913, is just a small sample of the Shanghai Propaganda Poster Art Collection, which has over 5000 examples of these rare artefacts. The styles and subjects give a fascinating insight into the cultural and political shifts in China through the twentieth century.

Details from 'Model Opera: Red Army Women', 1971

Details from ‘Model Opera: Red Army Women’, 1971

Having such a wealth of visually interesting and colourful material made building the website a lot of fun. Using a timeline plugin allowed me to place poster images in context alongside text explaining the shifts in styles and messages used in the artwork. Text from the exhibition catalogue is illustrated with some of the fascinating background details from the posters.

The exhibition runs from 6 June – 12 July at Adam House, Chambers Street. Full details of of opening times and times of guided tours are available on the exhibition website:

Poster Art of Modern China website

Shanghai Propaganda Poster Art Center (PPAC)

 

“Landscapes of Hope”

Recently I have uploaded podcasts from the “Landscape of Hope” symposium held by the Institute for Advanced Studies in the Humanities

Experts in fields ranging from History of Art and English Literature through to Linguistics, Anthropology, Human Geography and other subjects discuss the issues around the broad topics of “hope”, “landscape” and “identity” in the context of deciding what the future may bring for Scotland. They don’t make any explicit political statements but rather draw on their own expertise to see if any relevant parallels can be made.

Detail from 'Vignettes of Cairnsbruck' by Sam Caldwell

Detail from ‘Vignettes of Cairnsbruck’ by Sam Caldwell

The opening address by Doctor Maxim Shadurski begins with an assumption that we all know how hope can change our individual lives, and how hope guides and informs aspirations for our societies.

Continue reading

Adobe Edge Animate

Edge Animate promises to replace Adobe Flash and (unlike Flash) allow animations to display on mobile devices. You have to subscribe to Adobe cloud in order to use the most up to date version, so I have downloaded a trial version for now.

The interface looks vaguely familiar, except all icons seem much smaller. It doesn’t have the advanced drawing capabilities that Flash use to have, so it is best to use another graphics programme to create individual assets and then import these to the image library. There is a very useful option to make the animation responsive. In terms of scripting the interactions it all still seems rather basic in comparison with Flash but I’m sure this will improve with time.

I have started with an extremely basic diagram below and next hoping to try out the drag and drop functionality….

ECA Degree Show Video

With The Edinburgh College of Art Degree Show 2014 due to open this weekend (24th May) we’ve been chasing the very best students in sculpture, architecture, interior design and textiles looking for their most exciting pieces of work. Using the teams’ DSLR 60D camera we captured ECA’s weirdest and most wonderful creations on film. (Keep a look out for the video next week!)

Calling this year’s show one of ‘The brightest and most joyful’ shows to date, Textiles’ Programme Director Lindy Richardson was keen to show off her students’ finished products. Using everything from jelly to concrete as inspiration for items of clothing fourth year Jennifer Ellery had some particularly stunning textiles in her degree show collection. Despite being exhausted following the run up to the show Jennifer was happy to chat through her ideas and show off some pieces, all of which were designed with texture and ‘feeling’ in mind. Jennifer chatted about how fabrics and sensations can evoke memories and how she wanted to explore this in her collection.

Continue reading

ECA Degree Show website

The Edinburgh College of Art Degree Show opens on 24th May, and we were tasked with developing a new website for it. In many ways this is a dream project, as there is so much fantastic content! When you have such rich content, the job of the website is simply to showcase it with an unobtrusive design. Nicky Regan at ECA produced attractive designs, based on the new ECA branding, and we brought it to life as a Drupal website.

Home Page

Home Page

Drupal was chosen mainly as it’s what the new ECA website is built on, and will ultimately be the CMS for the new University website. It made sense to give admins a similar interface as the ECA site, and it was also an opportunity to further our own technical knowledge of Drupal.

Continue reading

Supercharging HTML tables with DataTables

Prototype CPRC DataTables interfaceIn the CHSS web team we have been building web interfaces that work with large amounts of data harvested from the University’s research database (PURE). The crucial thing about these interfaces is that they are ‘display’ interfaces – there is no interactivity with the underlying database as such, no ‘writing’ of the data. The emphasis on the interfaces is on displaying the data in a tabular format, allowing text to be searched and for the display of data to be filtered and sorted by particular fields (or columns).

Using standard methods of creating a web interface that communicates with a database using something like Perl DBI or PHP PDO to build a simple display-only interface has quite a few unneccessary overheads in terms of performance and complexity – and it turns out there is a technology that can be used to construct this sort of web interface in a much more simple and lightweight way, using DataTables.

Continue reading

CHSS Photo Competition Winner Announced!

The college web team are delighted to announce the winner of our inaugural CHSS Photo Competition. Entrants were asked to take three photos based on the theme My degree experience, and after months of high-quality submissions we have selected our favourite.

CompWinner

Alyssa Gregory’s winning photo

The competition closed on 31st March 2014, with the winner being chosen shortly after. The judging panel of Guillaume Evrard (Editoral Assistant and resident art critic), Aldona Gosnell (Team Manager and art graduate) and Gavin Maxwell (Web Developer and expert hill walker) had the difficult task of picking a winner.

thehandover

Alyssa receiving her prize

After much deliberation they were clear in their choice of Alyssa Gregory, for her inventive photo of John Duncan’s Tristan and Isolde (1912). Alyssa’s photo was considered the most relevant to the competition’s theme, as well as demonstrating a keen eye for colour and composition.

“The quality of photographs submitted to the competition made for an enjoyable but difficult task for all those on the judging panel”

Aldona Gosnell, Team Manager

Honourable mentions should also go to Gary Wilson and Chi Chiu Tam who came very close to winning with their submissions.

My Degree Experience - GSTWilson 01 1mb

Gary Wilson’s submission

josaphat_hss3

Chi Chiu Tam’s submission

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Please check out the CHSS competitions website for the full short-list of photos and keep your eye out for our next competition in the Autumn where you will have another chance to win an iPad.

Building websites with ‘lightweight’ GIS functionality

Drupal and OpenLayers

In the web team we have been experimenting with and building some web-based geographic interfaces that enable websites to collect, store and display content that has a geographic element.

This content is typically things like buildings in an urban environment, content which has an important location-based dimension and thus requires geographic data-handling techniques.

Drupal OpenLayersAPI mapWe have built a website using the Drupal 7 Content Management System (CMS) and the OpenLayers API which supports the ability to build interfaces to collect and store geographic data, and to visualise that data (see image to the right). OpenLayers is a very useful open-source JavaScript Geographic Information System (GIS) tool that is not a formal part of the Drupal CMS but has been imported into Drupal with the OpenLayers module.

This module allows a Drupal website to:

  • use the full functionality of OpenLayers to display dynamic map data (using ‘tiles‘ from a WMS server) as a ‘basemap‘ in an interface (or ‘widget’) on a website
  • make use of the standard features and behaviour of current web-based mapping provided by Google Maps (satellite and topographical basemaps, ‘dragging’ the ‘slippy’ map) or OpenStreetMap (or any other ‘public’ or locally-managed WMS-compliant server) that users are familiar with
  • overlay the basemap with a data ‘layer‘ consisting of Drupal node content that has been ‘tagged’ in Drupal with latitude/longitude and placename geographical or ‘spatial’ data
  • use the OpenLayers API to easily build map interface options such as a scale bar, zoom and pan icons, marker icons, popup windows and a basemap data layer selector

Storing the data model in the Drupal database (we use MySQL) in this way (as ‘spatial’ data) allows:

  • proximity search query interfaces to be built (e.g. find all data within 10km of a supplied location)
  • graphical map interfaces to be displayed with markers that show the location of the Drupal node content (with special icons for data that is spatially ‘clustered’ together)
  • spatial data to be associated with non-spatial (‘attribute‘) data such as images, dates and textual descriptions

The Drupal OpenLayers module is used with the Drupal Views module to achieve this. As well as the Drupal OpenLayers module this ‘spatial’ functionality is also enabled with the Drupal modules Geofield, geoPHP and Proj4JS.

Alongside the graphical map interfaces for this website we also built a gazetteer interface – the gazetteer uses the Drupal core Taxonomy module to create a hierarchical list of 1380 city, town and county (local authority) placenames from the Ordnance Survey ‘official’ list (the OS 1:50,000 Gazetteer database, available from Edina’s Digimap service), and uses a Drupal view to allow the user to expand the hierarchical tree and scroll through the placenames to find Drupal content that has been tagged with the associated placenames. It is also possible to support with this system ‘alias’ placenames (such as alternative historical placenames).

Google Charts

We’ve also used the Google Charts API for data visualisation. The Google Charts suite of tools contains the Geochart visualisation tool (along with lots of other useful types of visualisation) – and because the emphasis with Google Charts is on numerical data visualisation, this is not strictly speaking a formal ‘map’ (in the way that Google Maps or OpenStreetMaps are, for example), this matches more closely with the requirements of some websites in which the focus is on the data and not necessarily the ‘map’. Google apparently calls this interface a ‘Geochart’ rather than a ‘map’, to make the distinction.

We have built a website that has these requirements and uses some numerical student data, specifically the numbers of students from a country of origin, and displays this data using the Google Charts API (see image below).

Google Charts API mapThe Google Charts map tool offers a basic world basemap (which is a SVG image) and the ability to display a data layer on this map. It’s a good compromise between functionality and ease of setup combined with simplicity of use. It’s not a web-based map of digital ‘layers’ in the way that Google Maps or OpenStreetMap is, with multiple hierarchical raster/vector map data layers that are retrieved dynamically from a WMS server and which can then be zoomed and panned, but it allows the data to be ‘visualised’ in a more ‘lightweight’ way much more simply and with little technical overhead – we experimented with using circles whose diameter and colour was proportional to the numerical data being visualised.

This works very well and it can be set up very simply – there is no requirement to sign up for a Google Maps API key, the interface does not set cookies on the client browser, the data can be stored on a locally-managed server (this is useful for managing DPA issues) and it just uses a Google JavaScript class library and some simple JavaScript configuration for all the functionality. It is also very easy to embed this map into a Polopoly CMS web page.

Summary

These websites that we built are not strictly speaking offering fully-featured GIS functionality such as that supported by applications such as ArcGIS (that offers the ability to perform complex spatial queries and visualisations using sophisticated spatial data storage and indexing techniques), but they offer some GIS functionality for relatively little technical and licencing overheads.