-
Notifications
You must be signed in to change notification settings - Fork 0
Create ability to read, search, and filter Latin texts #30
Description
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
libdirectory.Create a new table
authorswith an entry for each Latin author. Columns:name,name_display.Create a new table
textswith 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.