• HCMC Blogs
  • Moses
  • Maint
  • Mariage
  • Admin
  • Academic
  • Depts
  • ScanCan
  • HumsSites
  • Projects
  • Pro-D
  • ColDesp
  • CanMys
  • LondonMap
  • AdaptiveDB
  • MoM
  • Cascade
  • Landscapes
  • Linguistics
  • CGWP
  • Endings
  • LEMDO
  • DVPP
  • Wendat
  • Announcements

Contact Us on 0800 123 4567 or info@example.com

MyNDIR

  • Front Page
  • Contact
  • Log in
  • « revising markup and creating thumbnails for images
  • We need a docs subcollection to store the bulk of the XML »

MyNDIR application outline

Posted by mholmes on 16 Apr 2010 in Activity log

Created a basic application framework, based around a home page which is also the search page:

  • / forwards to index.htm
  • index.htm calls search.xq. It may or may not provide a parameter "find" (usually not).
  • search.xq provides either search results only, or (if there's no "find" parameter), all items as results, along with a welcome.xml bit to be used as a "splash".
  • search.xq is processed through site_page.xsl, which will provide all the basic stuff (style and JS linking, titles, search box, footers etc.). It then depends on search.xsl to process the search results into the two main components (image band and alphabet menu) used for browsing images.
  • site_page.xsl also depends on tei.xsl for rendering of basic items, and on strings.xsl for paths to images, captions, and so on.
  • If search.xq is called directly by the browser, this is assumed to be an AJAX request, so the results of it are processed only by search.xsl, sending back a new version of the search result browser controls to the page for insertion.
  • If item.xq is called, a single item is retrieved by id, and processed through item.xsl, for display in the main content area of the page. This would be invoked by the user clicking on one of the images in the banner across the top.

I've built this basic framework, and started on the XQuery and XSL. What's explained above is of course much easier to understand if you just read the sitemap.xmap file. That's as far as I can easily go for now, because I need from PAB:

  • Square (100x100?) images for thumbnails of all the images in the set.
  • @xml:id attributes to be added to the document files.
This entry was posted by Martin and filed under Activity log.

MyNDIR

  • Home
  • Recently
  • Archives
  • Categories
  • Latest comments

Search

Categories

  • All
  • Activity log
  • Tasks

XML Feeds

  • RSS 2.0: Posts
  • Atom: Posts
More on RSS

Recent Posts

  • Finding an obscure issue
  • First steps in generating HTML5
  • Standalone XML now building; code reorganized
  • Jenkins job set up; schema and validation build reworked
  • PAB moved to svn
  • Beginning Endings work
  • Meeting, confirmation of plan
  • Project plan, Endings-style
  • Tweaks to captions
  • Finished diagnostics, sent results

Sidebar 2

This is the "Sidebar 2" container. You can place any widget you like in here. In the evo toolbar at the top of this page, select "Customize", then "Blog Widgets".

This collection ©2026 by admin • Help • CMS