19/08/10

Permalink 03:35:44 pm, by mholmes, 277 words, 270 views   English (CA)
Categories: Activity log; Mins. worked: 210

All phase 1 features now working

I've now implemented all the features from our plan this morning:

  • The old pipeline for biblio.xml has now been generalized into a single pipeline for handling all non-document pages; this is based on a URL like this: page.htm?page=about, which causes a lookup in the database like this: collection(concat('/db/myndir/', $sitePage, '/'))//TEI[@xml:id=$sitePage], where $sitePage comes from the page URL parameter.
  • The keyword menu has now been fixed so that it works on all these pages.
  • The bibliography for individual documents is being correctly retrieved and rendered; to save space on the page, it's not displayed until you click on a button next to its caption.
  • There's an additional main menu in the page title box, which links to all the site pages.

Then went onto bug-fixing, and one obvious bug was in the popups, in which all the text appeared to be a link to something irrelevant. After an hour of trying to figure this out, I realized it was caused by there being an empty self-closed link in the keywords box; this turned out to be caused by the fact that PAB had invented a new class of thing called "nouns" in the names.xml file (which she let me know about back in May), and then commenced linking to them using the <term> element. My code knew nothing about either of these things, because I had neglected to implement the handling code, so the relevant "noun" was not being retrieved, hence there was no text to form the link in the keywords box. Fixed now, but mighty puzzling for a while.

Permalink 11:02:21 am, by mholmes, 113 words, 263 views   English (CA)
Categories: Activity log; Mins. worked: 80

Reworked the site linking to eliminate AJAX

AJAX is cool and all, but in this particular case, staying on the same index.htm page and retrieving documents into the body of it was causing navigation problems; state would be lost if you navigated away to another site. I've now reworked the site so that when you call up a document, you get a hard distinct link to that document (using URL parameters), so that you can navigate away and then come back using the browser's Back button. This required ensuring that the find and kwId parameters used for searching were also preserved across pages, so that the retrieved subset of images is retained as you move from image to image.

Permalink 09:11:59 am, by mholmes, 259 words, 147 views   English (CA)
Categories: Activity log; Mins. worked: 45

Plan for next steps

Meeting with PAB to finalize the remaining work for phase 1:

Bibliography:

  • Many image documents contain references to items in the main bibliography. These are in the <back> matter of the file. The back contains <div type="bibliography">, containing one or more <listBibls>, each with a head and some <bibl>s. These need to be expanded into working lists. A Bibliography heading should appear after "Rights", and there should be a little button after it with the caption "View", which expands the biblio in place.
  • On the main biblio page, the alphabetic menu is not working. Fix it.

Search/navigation:

Currently, when you click on an item in the image array, the item is retrieved by AJAX and dumped into the current page. This is not ideal, because if you navigate to another page, the Back button takes you back to index.htm without your selection. It is possible instead to navigate to the XHTML view of the document, including the search parameters, by using a URL like this: index.htm?id=SAM66-074v&kwId=auger01. This should be the default behaviour, removing the need for the "XHTML" link on the document view, and making browser navigation more intuitive.

Menu

This should go inside the title box, and have the following links:

  • Home (replacing the link on the full title).
  • About
  • Contact
  • Bibliography
  • Links

About, Contact and Links all correspond to pages in subcollections in the db, so these will need one or more rendering pipelines and probably some XSLT.

Permalink 07:12:56 am, by pabaer, 187 words, 143 views   English (CA)
Categories: Activity log; Mins. worked: 480

revisions and addition of link to E-manuscripts

I have been away on a research trip for the past month and returned on Sunday evening. In the past two days, I have:

  • revised the items in bibl.xml and did away with <biblStruct> so that they are all <bibl> now. This will simplify rendering the code.
  • revised my bibliography to follow the MLA 7th edition Style Guide which now requires adding the medium of publication as the last item of the citation so I have tagged it as a note
  • revised the description in Nks1867-110r.xml to reflect the research discoveries that I made this summer and added Hyrrokkin to names.xml
  • added Link to E-manuscript in <availability> for the sites for Nks1867 and SAM66. I would like to have these links open in a new window so that closing or using the back arrow would take the viewer back to the original MyNDIR page.

Note - I created a new schema on May 26th that includes @global.linking in order to enable <availabilitycorresp> on each bibliography item. Will update MH's when we meet today.

18/08/10

Permalink 10:38:31 am, by mholmes, 155 words, 140 views   English (CA)
Categories: Activity log; Mins. worked: 60

Updates to documents from PAB, consequent progress

PAB updated the biblio and a couple of other documents, and sent some queries which I've answered. The biblio display seems to be working OK -- some formatting tweaks are needed, but those are in the XML. It's now standardized on <bibl> rather than <biblStruct>, which is a relief. PAB has more plans for a JavaScript image viewer, which I took a look at, but this was not in the original plan, and unless it's dead simple I don't think there'll be time for it. I don't see any value added from it either, at the moment, given the standalone nature of each of the images in this project.

Noticed a validation error due to the use of @corresp on <bibl>, and traced it to the fact that the schema I have doesn't include the Linking module. Checking whether PAB's does; if not, we can generate another one tomorrow.

16/08/10

Permalink 10:59:29 am, by mholmes, 94 words, 136 views   English (CA)
Categories: Activity log; Mins. worked: 90

First pass at biblio rendering code, but need some details before I can proceed

Wrote the XQuery to retrieve the biblio file (one line, basically), and added some new handlers and modifications to tei.xsl, as well as two new pipelines to sitemap.xmap, so that the bibliography XML and XHTML can be retrieved and rendered. This is working down to the individual items, but the items themselves are not being rendered yet because PAB hasn't decided whether to use <bibl> or <biblStruct> (currently both appear in the file); and once that decision is made, we need to know what style guide to target.

11/08/10

Permalink 09:50:39 am, by mholmes, 164 words, 109 views   English (CA)
Categories: Activity log; Mins. worked: 60

Fix for an XSLT bug, and biblio retrieval code added

I came across a bug due to competing template matches in the XSLT for titles, when clicking on the XHTML link for individual documents. This was presumably caused by my quick ad-hoc fix for the previous <title> problem. I've now simplified the handling of <title>s, dividing them into those which have @ref attributes (which need to be turned into links), and those which don't. The former are handled as part of a larger template that deals with the whole class of elements which need to be linked from their @ref attributes, and the latter handles all other <title> elements.

I've also added retrieval code for the bibliography in each document -- for each <bibl> in the bibliography in back, the the XQuery now pulls back the corresponding <biblStruct> element from biblio.xml. These are not yet being rendered, though; I'm waiting for PAB to tell me where and how they should be displayed.

01/07/10

Permalink 03:59:21 pm, by pabaer, 62 words, 133 views   English (CA)
Categories: Activity log; Mins. worked: 270

another Louis Moe and two Olaus Rudbeck

I worked yesterday and today on:

  • DnKrn-1898-UVic-bk07-297-01
  • AtLnTc-1939-309-02
  • AtLnTc-1939-310-01

I uploaded the xml files, the full images and the thumbs for all of the above. The image count now stands at 94.

I am considering taking the titles of resources out of the names.xml file and making the biblio.xml file into an annotated bibliography.

30/06/10

Permalink 11:12:56 am, by mholmes, 85 words, 118 views   English (CA)
Categories: Activity log; Mins. worked: 40

Tweaks to display: more required

Did a couple of ad-hoc fixes so that the default message explaining that an image is unavailable has now been replaced by the appropriate text content from the <availability> tag in the header. Also implemented formatting for titles (m, j and a), but this is only working in a limited way because default handling for style conflicts with other templates elsewhere which are picking out specific titles for special handling (linking etc.). This will have to be dealt with in more detail later.

29/06/10

Permalink 10:00:01 pm, by pabaer, 191 words, 102 views   English (CA)
Categories: Activity log; Mins. worked: 360

June 24 - 29

I finished and uploaded Gestum Blindi from Nks 1867.

I marked up and uploaded Jakob Sigurdsson's "Deluding of Gylfi" illustration from IB 299 and linked all four of his illustrations of this scene to each other.

I also marked up and uploaded Louis Moe's illustration of Thor from Danmarks Kronige.

The image count stands at 91 items. The last 9 will include 5 more illustrations of "The Deluding of Gylfi" from different sources; 3 more illustrations from IB 299; and 1 more from Danmarks Kronige.

Louis Moe's work will not be in the public domain until 2015. I need to revise the message on MyNDIR for unavailable images. It currently states: This image is only available from the Arni Magnusson Institute in Iceland" which at the moment is only relevant to the illustrations from SAM 66.

I removed the keyword item for Thor from SAM66-078v. He is not identifable in this illustration but is in the related image in Nks1867-098v

Images from Danmarks Kronige have to include a book number in their ids because the pages begin at the start of each book, i.e. chapter. For example the id for Thor is: DnKrn-1898-UVic-bk03-070-01

<< Previous Page :: Next Page >>

MyNDIR

Reports

Categories

May 2013
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

XML Feeds