Skip to content

Create ability to read, search, and filter Latin texts #30

@MBJean

Description

@MBJean

Overview

Similar to how www.thelatinlibrary.com allows a user to view complete Latin texts, I'd like to allow a user to read full Latin texts on Janiculum. The ultimate goal is to present the toolkit to them alongside the text, so it's easy for a user to flip back and forth being searching the dictionary and reading the text. Ultimately, a user will also be able to leave notes keyed to specific lines of Latin text.

Requirements

Well-formatted XML for Latin texts is available under CC BY-SA license at the Perseus GitHub repo. Add these to the lib directory.

Create a new table authors with an entry for each Latin author. Columns: name, name_display.

Create a new table texts with an entry for each text. A rough stab at columns might be: author_id, title, path.

Create a separate page for each author and a UI that allows a user to select from a dropdown the text and relevant text searching information (book number, line number, etc.).

At present, I think we can just load the full XML of a specific text on the page (say, Ovid's Metamorphoses). Ovid's Metamorphoses, as an example, totals about 900kb of XML data. Compressed and gzipped, that shouldn't be a problem at all to pass to the browser. Once the full text is in the browser, we can create a filtering and searching mechanism that allows a user to easily display only a specific portion of the text.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions