Newcastle University
Browse
weather-poems.zip (210.36 kB)

Weather interface (source code)

Download (210.36 kB)
software
posted on 2021-12-09, 13:37 authored by Peter Anthony HebdenPeter Anthony Hebden

This is a template for a poetry interface that uses weather data to determine which poem should be shown to the reader. The interface uses available location data from the device and uses this to query Open Weather, a free weather API.

Content

This code repository contains the index.html file for the Weather interface, which contains all of the JS and CSS. The poems have been replaced by placeholder text, which is clearly marked to show where poems should be included.

Third-party software

  • JQuery - used throughout for UI design (MIT License - Copyright and license can be found at http://jquery.org/license/)

  • Open Weather - A free API used to query a database for current weather data. Used under the Creative Commons Attribution-ShareAlike 4.0 International licence (CC BY-SA 4.0). The license can be viewed at https://creativecommons.org/licenses/by-sa/4.0/

Attribution

This code repository is part of the PhD thesis 'Poetry in Digital Media' by Peter Hebden, Newcastle University 2021. This source code is shared under the MIT License. A copy of the license is included in the root folder of this project.

Funding

AHRC NPIF PhD Studentship Award

History