{% extends 'base.html' %} {% block main %}

Annotations of XPPL









{% for row in annot.rows %} {% if 'selector' in row.target[0] %} {%for book in books%} {%if book.file == row.uri%}

{{book.title}}


{% endif %} {% endfor %} {% if row.target[0].selector|length > 2%}

Extracts:

"{{row.target[0].selector[2].exact}}"

Annotations:

{%if 'https://www.youtube.com' in row.text %} {{row.text}}
{%elif '.jpg' in row.text%} {{row.document.title}} {%elif '.mp3' in row.text %} {{row.text}}
{%else%}
{{row.text}}

{% endif %}
{%else%}
"{{row.target[0].selector[1].exact}}"

{%if 'https://www.youtube.com'in row.text %} {{row.text}}
{%elif '.jpg' in row.text%} {{row.document.title}} {%else%}
{{row.text}}

{% endif %}
{% endif %} {%else%}

{{row.text}}




{% endif %} {% endfor %} {% endblock %}