This repository contains the files that are needed for the implementation of the OGC Geospatial User Feedback (GUF) implementation. Javs script code which provides the GUF implementation to any kind of portal where there is a need of User Feedback.
In order to add the GUF implementation to datasets in CKAN, the files need to be added to any CKAN extension:
-
place community_feedback.html file in templates/package/snippets/ folder in the CKAN extension
-
place the community_feedback.css and communityfeedback.js files in the public folder of the extension
-
make changes to templates/base file and add the following:
<script src="/communityfeedback.js" type="text/javascript"></script>
- in templates/package/read.html add the following:
{% block dataset_feedback %} {% snippet "package/snippets/community_feedback.html", pkg=pkg %} {% endblock %}