***** This README created by Paul Caton, Scholarly Technology Group, March 2004. ***** Overview -------- The files in this directory are part of a much larger web resource, the Decameron Web. The Decameron Web is run by Brown's Italian Studies department and most of the project's files reside on the Italian Studies server. The Decameron Web homepage is: http://www.brown.edu/Departments/Italian_Studies/dweb/dweb.shtml The project is based around Boccaccio's Decameron and the web site contains Italian and English versions of the text. The site also contains two minor Boccaccio texts, the Corbaccio and the Elegia di Madonna Fiammetta (Italian versions only). The files here do two things for Decameron Web users: (1) display the texts for reading; (2) process search requests and display the results. !!! Nb. READ IMPORTANT SECTION 'MAKING CHANGES' BELOW !!! File names and functions ________________________ The most important function files are named according to the following convention: LANGUAGE + WORK + FUNCTION [+ FILETYPE] and associated pairs of files share the same prefix. Thus: itDecShowText.php applies to the Italian version of the Decameron and handles text display; it is paired with: itDecShowText.xsl The .php file controls the construction of the page that gets returned to the client's browser (nb. see section PHP below). Generally each .php file does the following: - calls the appropriate header file (see below) - creates an XSLT process that uses the paired .xsl file to transform the relevant text file into whatever needs to be displayed - calls the footer file (see below) The two file pairs with the prefixes "showItTrans" and "showEngTrans" do what they say. A user reading a section of the English version of the Decameron can click on a link and the showItTrans.php/showItTrans.xsl file pair will switch the display to the Italian version of that section; similarly the showEngTrans.php/showEngTrans.xsl file pair switches from Italian version to the relevant section in the English version. Text files ---------- There are four main text files: engDecameron.xml itDecameron.xml itCorbaccio.xml itFiammetta.xml These are the files that the PHP/XSL file pairs work with. They contain entity references in decimal number form (eg. à for "a" + grave accent) In addition there are four other text files: engDecWithEnts.xml itDecWithEnts.xml itCorWithEnts.xml itFiaWithEnts.xml They contain entity references in word form (eg. à). These files are not used directly but are used to generate the main text files listed above. Header and footer files ----------------------- Header files are HTML fragments that help make up the full page that gets sent to the client's browser. They call the decameron .css file, and they contain all the HTML that creates the banner and links at the top of the display. They end by opening a