diff --git a/main.py b/main.py index 0125a99..8bf8ff1 100644 --- a/main.py +++ b/main.py @@ -57,6 +57,11 @@ def process(): args.append("-x") args.append(request.form["excludeText"]) + if "agrovocCheckbox" in request.form: + if "agrovocText" in request.form: + args.append("-a") + args.append(request.form["agrovocText"]) + if "unsafe" in request.form: args.append("-u") diff --git a/templates/index.html b/templates/index.html index ad9aff1..4bb5c8a 100644 --- a/templates/index.html +++ b/templates/index.html @@ -21,6 +21,15 @@
dcterms.issued,dcterms.subject
.dcterms.subject,cg.coverage.country
. Note: this can take an extra minute or more depending on your data. If you have a problem please try again and it will generally be faster the second time.