Information Science

Poetry Web Application

2008
Poetry web application developed as a term project for a programming course. The application is a tool for the comparative study of poem editions and is written in PHP, relying heavily on PHP’s XMLReader module, a stream-based XML parser. Comparative stanzas are retrieved on-the-fly using AJAX. For more information, read the full documentation.

Tasks Performed:

  • Set up Apache web server for local development.
  • Encoded poems in TEI, an XML DTD.
  • Wrote Python script and XSLT stylesheet to scrape long poem "The Rubiayat of Omar Khayyam" from another website and convert it to XML.
  • Created PHP scripts to run application.
  • Wrote JavaScript and AJAX functions for on-the-fly functionality.
  • Created CSS stylesheet.

Screenshots:

thumbnail