Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repair defective CTS hierarchies #2

Open
fbaumgardt opened this issue Mar 19, 2015 · 3 comments
Open

Repair defective CTS hierarchies #2

fbaumgardt opened this issue Mar 19, 2015 · 3 comments

Comments

@fbaumgardt
Copy link
Member

This mostly involves moving CTS sub-hierarchies into their parent elements in the TEI to recover non-degenerated XML trees. This way an Xpath query will yield the full subtree.

This happens in parallel to #1 and fbaumgardt/perseus-citology#3.

@fbaumgardt
Copy link
Member Author

This should mostly be adding empty divs with sub-references into the parent (node) elements, and updating the children's filenames.

@fbaumgardt
Copy link
Member Author

The most complex issue is actually identifying citationMappings, because they appear to be missing altogether.

@simonastoyanova - is there a list of sensible rules to build hierarchies from a flat list of textpart-elements, or a set of written-down rules from which to construct that list? I want to be able to run through an ordered list of elements and be able to decide whether I should add an element as a child to the previous element.

@fbaumgardt
Copy link
Member Author

I am considering whether this should be outsourced into a d3.js app based on the dendrogram:

  • div-elements as expandable nodes
  • other nodes are static
  • drag-and-drop to re-arrange the XML tree
  • hover to display node contents in an overlay frame
  • right-click (or alt-click) to edit attributes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant