http://mythsdev.uvic.ca:80/exist/apps/myths/modules/detail.xqm?id=ENOP2
Making blog post for greg
http://mythsdev.uvic.ca:80/exist/apps/myths/modules/detail.xqm?id=ENOP2
Making blog post for greg
After some experimentation and some help from DW on the eXist list, I've managed to figure out the following steps for making your single app (MoEML or whatever) available as the root thing on th Jetty server (i.e. localhost:8080 if you're running it locally), while maintaining access to the other bits and pieces if necessary (the Dashboard, eXide, Monex or whatever else you need. These are the steps:
tools/jetty/webapps/exist-webapp-context.xml, find the element <set name="contextPath"> and make sure it looks like this:
<Set name="contextPath">/</Set>i.e. not /exist. It may be that way already, or it may be /exist.
tools/jetty/standalone-webapps/exist-webapp-context.xml (same filename, different place), make the same change if required.
tools/jetty/webapps/portal/WEB-INF/jetty-web.xml, find the same element and set it to the same thing (again, it may already be correct).webapp/WEB-INF/controller-config.xml, find this:
<root pattern=".*" path="/"/>Comment it out and replace it with two lines like this:
<!--<root pattern=".*" path="/"/>--> <root pattern="/apps/moeml/apps" path="xmldb:exist:///db/apps/"/> <root pattern="/" path="xmldb:exist:///db/apps/moeml/"/>Where "moeml" is the name of your app. The second line makes the other apps (dashboard etc.) available using the "apps" subfolder of the root (which means you can't have anything in your app's controller that handles an "apps" subfolder).
Note that this was done with a fresh build of eXist 3.0 from the develop branch yesterday, with no use of the installer. We've learned to steer clear of the installer.
I've now built all this into a set of files, configure_exist.sh/xml/xsl. The first is a bash script which expects the path to the eXist instance, and (optionally) the name of the app to make the root. The second is an ant script which is run by bash using the ant which is inside the tools folder of the eXist instance; this parses out what it needs to know, and runs XSLT transforms using the Saxon version which is in the lib/endorsed folder. This means that you can run this deployment script even where neither ant nor Saxon are installed (such as Peach). It has a fragile dependency on the version numbers in filenames of ant and Saxon, but those are easy to update.
On late duty.
Following a request at the team meeting the other day, I've added document status displays to all the category listings pages.
I've worked the CodeSharing feature into the MoEML XAR today, deciding on having the build process for the XAR just check it out from GitHub and put the bits in the right place, with the controller.xql handling the rest. So far so good; then I set up controller-config.xml so that the root path goes to the MoEML webapp, and the other apps we want are available from there. However, the "root" right now is /exist, not /, and I can't find a way to change that. After trying everything I could think of, I've written to the eXist list.
I am officially moving away from the Pausanius project. Following is a summary of where I have left off, the work completed and any outlying issues that I have had that are still not resolved.
I ended my work on 14.7. That means that everything up to the end of Chapter 14 has been proofed and events have been created for them. That is not to say there are not errors, many times when I would return to a past Chapter of the text, I would find links not created or spelling mistakes.
Chapters 15 has been proofed but that is it. All beyond that has not been touched.
In Events:
Pausanius events that I have created begin at line 38965, where I have commented out that "the following events are from Pausanius".
Pausanius tends to be a subjective historian. Often parts of his records are correct whereas others are either dead wrong, embellished, or with different characters than the majority of other sources confirm. Therefore at this point I began to quickly fact check the events that I was entering into Pausanius. The term "quickly" means that I googled it and found evidence in at least Wikipedia to reinforce P's claim. If it was still vague, then I would search for another sources aside from Wiki. Be careful to check citations when using Wiki as a source, often it will have cited Pausanius for the event you are fact checking.
After verifying or disproving the information found in Pausanius, I then attributed it a confidence rating. "0" being that there was no confidence Pausanius was correct and "1" being that he was absolutely correct. A lot of ratings fall somewhere in between.
The confidence ratings begin at line 40280.This means that there are events previous to these that need to be attributed a rating. You may come across events that have a "type=mythical/historical". This was an earlier method that we decided to abandon in favour of confidence ratings. These should be erased and replaced with a confidence rating.
I have been adding sculptors, poets and philosophers into events at the bequest of Dr. Bowman. For example, if "Pausanius says Preixeles scultped the statue of Athena", I record that as an event. However, there have been a few events that I added within this context that I felt were on the line. That may need to be double checked. Also at 12.4 there is mention of Homer and what he has written. I haven't added it because I have been on the fence about it. It needs a second look.
Places:
There are 3 current known issues with places: Macedonia, Palestine and Island of Patroklus need to be fixed. However, Greg was going to take on Macedonia because it was not easily solvable.
Within the text of Pausanius itself, the first letter of each paragraph runs into the text. This needs to be fixed (using padding?)
Here are the list of blog entries that I created citing errors in Pausanius for reference:
http://hcmc.uvic.ca/blogs/admin.php?ctrl=browse&blog=45&p=15033&c=1&tb=1&pb=1
http://hcmc.uvic.ca/blogs/admin.php?ctrl=browse&blog=45&p=15032&c=1&tb=1&pb=1
http://hcmc.uvic.ca/blogs/admin.php?ctrl=browse&blog=45&p=14940&c=1&tb=1&pb=1
http://hcmc.uvic.ca/blogs/admin.php?ctrl=browse&blog=45&p=14908&c=1&tb=1&pb=1
http://hcmc.uvic.ca/blogs/admin.php?ctrl=browse&blog=45&p=14906&c=1&tb=1&pb=1
http://hcmc.uvic.ca/blogs/admin.php?ctrl=browse&blog=45&p=14886&c=1&tb=1&pb=1
http://hcmc.uvic.ca/blogs/admin.php?ctrl=browse&blog=45&p=14808&c=1&tb=1&pb=1
I think that's it! If I think of more, I will add it to this blog post.
Finished merging the 20th parliament data into the personography. This was very tedious and time-consuming, but it's done now. Hopefully nothing else was missed in the original spreadsheet.
Met with SB online to figure out the plan for the next TEI Stylesheets online meeting next week.
Following a good team meeting with lots of discussion, I've made a formal link to the viewable-draft document so that it's easier for everyone to access drafts, and also fixed a bug in the class attribute generation that was preventing the display of the draft watermark.
The new static build version of the Map of Early Modern London project has now transitioned from alpha to beta, meaning that we believe all key features have been implemented and we're in bug-fixing mode.