= Custom Search & Report Templates = == Description == This project is a single-page webapp designed to provide custom queries and reporting for the ISMI database. At present the following functionality is implemented: 1. Search: * Select the object class of the entities to be returned * Search by ID (TODO: include the "suggested results" google-style search widget) * Compose srcs_4_tar_rel and tars_4_src_rel queries (logical AND) * (TODO: allow logical ORs as well) * (TODO: handling so that only legal queries are made to the JSONInterface) 2. Reporting * Select which attributes to display * Select which source relations to display * Select which target relations to display * (TODO: select how to sort the results) * (TODO: currently only the ID of the target or source is displayed, so display something more detailed, optionally) * get HTML output of report * (TODO: get Microsoft Word output) == Repository == https://it-dev.mpiwg-berlin.mpg.de/svn/ismi-templates/ == Requirements for Jamil & Sally: == * List of all titles for an author. This should include variant versions for a title. IMPLEMENTED * List of all witnesses for a title (the list should distinguish which witnesses go with a particular title version) IMPLEMENTED (sort of) * List of all commentaries and super-commentaries on a given title * List of all authors who wrote in connection with a particular title (commentaries, super-commentaries) * List of all people who had other “roles” associated with a title (e.g. copyists , owners, patrons, teachers, students, etc.) * Bring up people associated with a particular title (not just one huge list of people, but be able to distinguish author, student, teacher) * Bring up people associated with a particular witness (not just one huge list of people, but be able to distinguish owner, say, from commentator) * Bring up all the works dedicated to a particular “patron” (e.g., Ulugh Beg) * Bring up all owners of a particular codex IMPLEMENTED * Bring up all codices owned by a single person IMPLEMENTED * Create a Table of contents for a particular codex * Bring up all works studied in a madrasa (institution event) * Search for specific words in incipits, explicits and colophons * Copying dates in a certain range == Deployment == Is very simple. Run `ant` from `trunk/` and deploy the generated file `trunk/dist/ismi-templates.war` to Tomcat as usual.