|
@@ -1,32 +1,25 @@
|
|
|
<!DOCTYPE html>
|
|
|
<html>
|
|
|
<body>
|
|
|
-<h1>Trasformatore bello abbestia</h1>
|
|
|
-<h2>AUTORE</h2>
|
|
|
-
|
|
|
- <div>
|
|
|
- {{data}}
|
|
|
- </div>
|
|
|
+<h1>PARSER: da CSV a RDF</h1>
|
|
|
<form method="POST" enctype = "multipart/form-data">
|
|
|
- Inserisci i dati di un autore:
|
|
|
- <fieldset>
|
|
|
- <legend>Autore:</legend>
|
|
|
- <label for="nome">Nome</label><br>
|
|
|
- <input type="text" id="nome" name="AUTN" placeholder="nome"><br><br>
|
|
|
-
|
|
|
- <label for="luogo">Locattione</label><br>
|
|
|
- <input type="text" id="luogo" name="AUTL" placeholder="luogo"><br><br>
|
|
|
-
|
|
|
- <label for="periodo">Periodo d'attività</label><br>
|
|
|
- <input type="note" id="periodo" name="AUTD" placeholder="periodo attività"><br><br>
|
|
|
- </fieldset>
|
|
|
-
|
|
|
- <br/>
|
|
|
- ... <b>OPPURE</b> uplòda un CSV:
|
|
|
- <fieldset>
|
|
|
+ <div>
|
|
|
+ Carica un file CSV:
|
|
|
+ <fieldset>
|
|
|
<input type="file" id="FILE" name="FILE"><br/><br/>
|
|
|
- </fieldset>
|
|
|
- <input type="submit" value="ALO'">
|
|
|
+ </fieldset>
|
|
|
+ <input type="submit" value="ALO'">
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ ... oppure inserisci manualmente i dati di un record:
|
|
|
+ <fieldset>
|
|
|
+ <legend>Record:</legend>
|
|
|
+ {% for entry in data: %}
|
|
|
+ <label for="nome">{{entry}}</label><br>
|
|
|
+ <input type="text" id="{{entry}}" name="{{entry}}" placeholder="data"><br><br>
|
|
|
+ {% endfor %}
|
|
|
+ </fieldset>
|
|
|
+ </div>
|
|
|
</form>
|
|
|
|
|
|
<p>Quande pigi "alò", questa robina di qualità trasforma l'in-put direttamente in RDF (TTL) passando dal parser!</p>
|