Posts tagged with "xslt"
Text Encoding Fundamentals and their Application
Context: Digital Humanities Summer Institute 2015, UVic, 1-5 June 2015
continue reading ...arabic newspapers/ markup/ newspapers/ teaching/ tei/ xml/ xslt/
From analogue documents to electronic texts: Introduction to TEI XML editing in multilingual environments
Context: Digital Humanities Institute - Beirut 2015, AUB, 2-6 March 2015
Material: The complete material for this course is available on GitHub for download and reuse. Functional slides are available here.
continue reading ...arabic newspapers/ manuscripts/ markup/ newspapers/ teaching/ tei/ xml/ xslt/
New XSLT stylesheets for calendar conversion on Github
A couple of months ago a posted a short note on my XSLT stylesheets to convert the various calendars at use in the late Ottoman empire at will. Now, I have improved the functions and added the Ottoman fiscal calendar (mālī, sene-yi māliye) to the brew and uploaded everything under a CC BY-SA 3.0 license to GitHub. Feel free to fork and tinker with the code. Enjoy!
continue reading ...XSLT functions for converting calendars
Recently I came across the necessity of converting Islamic hijrī dates to Gregorian dates in order to automatically harvest data from the Baṣbakanlik Osmanli Arṣivi’s catalogue into my research database. Unfortunately the database I use (the reference manager Sente) is proprietary software that can only deal with Gregorian dates. Thus, I needed to translate a certain string through XSLT in order to produce the correct XML for import into the database. I soon discovered that even though, formally the specifications for the format-date() function in XPath 2.0 include the hijrī calendar (labelled “Islamic”) and even Arabic month names, this specification was never actually implemented. As I could not find any available code on the net, I adopted the javascript conversion between Gregorian, Julian, and Hijri calendars provided by John Walker’s Calendar Converter for XSLT 2.0 and decided to share the functions on GitHub for reuse.
continue reading ...Project Jaraid: our new chronology of nineteenth-century Arabic periodicals is online
After some time out, I return to this blog to announce yesterday’s publication of my first ever paid-for website and digital humanities project. Called “Project Jarāʾid – A chronology of nineteenth century periodicals in Arabic” the website is hosted by the Zentrum Moderner Orient Berlin. Based on a simple analogue table provided by Adam Mestyan and Philip Sadgrove (both nowadays in Oxford), I developed a static HTML page that provides the chronology in tabular form, including information on date of first publication, names of publishers, places of publication, and known holding information. In addition, we provide indexes of persons, organisations, places, and holding institutions, as well as a density map of all periodicals we could trace. As a further experimental feature, we included an index of all languages besides Arabic, such as Ladino, Ottoman, French, English, Spanish, various Arabic colloquiuals etc. The website, we hope, will help all those researchers interested in periodicals als a source for their historical accounts to a) establish possible sources, and b) to locate them for their actual research.
continue reading ...19th century/ arabic newspapers/ digital humanities/ history of press/ newspapers/ ottoman newspapers/ periodicals/ tei/ xml/ xslt/