Fixed the issue of images not showing up, which turned out to be due to something odd in the controller; worked more on the search to refine the feedback captions and layout thereof, at the same time reworking the build process so the captions_module.xsl file does get included in the site and XAR output.
All seems to be working well after some refactoring to work around an eXist bug.
As with Graves and Mariage, I've refactored all the XQuery main modules to namespace all variables. Also did some other cleanup, and found a couple of bugs that need fixing:
- data/xsl does not contain captions_module.xsl, a generated file which is needed by the search XQuery. Not sure why.
- When images are built into the XAR (and the flat-file site), their paths should all be collapsed to just images/* or graphics/*, which happens in /site/, but in the XAR the original paths appear to be preserved. That's just dumb, and I can't see why it's happening, but it should be a simple fix.
- Some key words need to be added to the stopword list such as "London" and "map".
The new 3.0 has a bug with namespaces which can be worked around by refactoring a bit; since the refactoring actually produces better code, I've done it for several projects including Mariage. I've also reworked the search functionality so that it handles the problem case of a large document with hundreds of hits. Other layout and style bugfixes also done, and a couple of obvious things added to the stopword list.
JN, PGL, MK met Wed., Feb. 8th re UVRA Cascade Edge site developments.
- Explained changes I've made recently to their site.
- Demonstrated use of various cascade editing features
- During meeting added new text on various pages
- Added new primary
- Created and added new block tabs
- Updated various links throughout the site
- Suggested locations for new content
- Explained photo requirements (e.g. sizes,location...)
- Received emailed docs/pdfs for uploading to site
Today:
- Composed lengthy "follow-up questions" email to PGL requesting more site information
Next steps:
- PGL/MK will meet to discuss site content (e.g. existing content vs newly created content)
- Waiting for reply re "questions" email
- New content TBA (e.g. photos, text)
- Next meeting date TBA
Added js, css and html to form.php to support lightbox feature. Also added buttons to the form to launch the lightbox and populate it with the correct block of information.
Information extracted from docx files from SD. Also took those docx files and aggregated them into one big libreoffice file and then exported out to PDF file.
Added button on search page (and links within the lightbox) to launch the Full Notes and References pdf file in a new tab (as otherwise, if user hits browser back button, typically the form is reset and they lose any settings they've made).
Files modified: includes/search/form.php
Fiddled around with adding a button in footer. Files modified: css/main.css, includes/footer.php
On late duty.
This is the first part of the last section. I think we're going to end up with about twelve single-spaced letter pages (there are nine right now) plus images, assuming those are allowed. Made some tweaks to documentation and to the regex in the process of writing; it's help;ful to be re-examining all this in the process of writing the article.
The lab is now running Ubuntu 16.04.
One new thing is that I had expected PXE booting to 'just work', but it's been a bit hit-and-miss. I have no clear understanding why, but I might be able to find out by comparing UEFI/BIOS settings on the machines to find out what the differences are between machines that CAN PXE boot and those that CAN'T.
The machines have two distinct motherboards (ASUS H81I-plus and ASUS H97I-plus), and there are slight differences between the models' UEFI/BIOS.
Machines that can PXE boot:
Saga (H81I+)
Salander (H97I+)
Smilla (H81I+)
Sherlock (H81I+)
Cadfael (H97I+)
Rumpole (H81I+)
Poirot (H81I+)
Morse (H97I+)
Marple (H97I+)
NOTE: F8 should boot the machines to a boot menu that contains UEFI network booting.