lombardpress / lombardpress-webjs

0 stars 3 forks source link

make textSwitch handle line resource #39

Open jeffreycwitt opened 4 years ago

jeffreycwitt commented 4 years ago

even if line resource rdf entity has not been created, textSwitch could try in the final else statement to see if the resource matches the object of predicate whose range is Line.

If so, a query should be able to move here from the line to containing Zone to the Manifestation the zone is on to a block to an item, then open item, and scroll to line number with the number following the targeted page.

It would be a little "hacky" but should work as a temporary measure.