The Alpheios Reading Tools and Perseids Treebank Template can be used together to augment the features provided by the Alpheios Reading tools for treed texts.
Trees published via the Treebank Template can be used by Alpheios to:
The treebank functionality will work with Alpheios version 3.3.x and later, whether it is accessed through Browser Extensions or the Embedded library. If you are publishing your own page anyway, however, we recommend using the Embedded library as it provides greater flexibility as well as support for mobile devices. See the Alpheios Embedded Library Tutorial for detailed instructions.
To signal to Alpheios that a tree is available for a chunk of text on the page,
you need to add some attributes to the top level parent element for the text.
This can be any element that encompasses all of the text which is treed, but
it's simplest to use the
<body> tag. The attributes you need to add are:
data-alpheios_tb_app_version="3.1.0"(specify whichever version of the template you are using)
data-alpheios_tb_url=https://your.github.io/repo-name/embed/DOC/SENTENCE(use the appopriate values for your repository)
Next, you need to tell Alpheios what treebank document corresponds to the text. This is done by adding the
data-alpheios_tb_doc attribute to the parent element of the chunk of text. Note that it is
possible to align text chunks from different documents on the same page.