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

Annotations of XPPL

Get as PDF      Search







{% for row in annot.rows %} {% if 'selector' in row.target[0] %}

Book

{{row.uri|replace('.pdf','')|replace('http://localhost:8080/uploads/','')|replace('.','')}}


{%for book in books%} {%if book.file == row.uri%}

=d=


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

Extract

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

Annotation

{%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%}

Extracts:

"{{row.target[0].selector[1].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 %}
{% endif %} {%else%}

{{row.text}}




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