Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • S SADE
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 22
    • Issues 22
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fontane-notizbuecherfontane-notizbuecher
  • SADE
  • Merge requests
  • !4

refactored index transformation

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Mathias Goebel requested to merge feature/register into develop Jun 15, 2018
  • Overview 50
  • Commits 29
  • Pipelines 0
  • Changes 4

A refactored and tidy version of the index transformation. This PR corresponds to recent changes in SADE-Project: adjust styles.

new features

  • parses the hierarchy in the geographic index
  • support for additional elements:
  • tei:state
  • tei:occupation
  • tei:event/@where
  • tei:link to creator
  • tei:link with took_place_at
  • tei:link with former_or_current_location
  • new view: xml code
  • harmonized link icon according to the website style
  • to link to a single entry, the only get parameter needed is e with any valid xml:id. backwards compatible to older links that required the TextGrid-URI in additon.
  • Very-Last-Minute-Commit: enable a view for a single notebook

new specification

main title must be the first child node of an entry. this is used by the pointer function to find the correct label no matter if we deal with persName, orgName, label, name or placeName.

known issues

  • tei:ptr[@type="image"] – images are not published, so they can not be referenced
  • tei:relation. undocumented element, direct child of tei:listPerson
  • single page solution has 14MB in size and takes 25 seconds to create. we need to split or use ajax.
    • meanwhile i was able to speed up to 5.5 seconds using more efficient queries and data types.
  • syntax highlight with highlight.js - may the server should transform this. as long as we use a single page, there is «some» load on the client side.
Edited Jun 16, 2018 by Mathias Goebel
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/register