diff --git a/TextPreview_voc.html b/TextPreview_voc.html new file mode 100644 index 0000000..1c58cce --- /dev/null +++ b/TextPreview_voc.html @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + +

SSHOC Text Preview +

+

Test

+

+ + + +
+

Credit: GeoJSON Viewer by cesare concordia

+ + + + + + + + + + + + diff --git a/previewers/GeoJSONPreview.html b/previewers/GeoJSONPreview.html new file mode 100644 index 0000000..9a9c47d --- /dev/null +++ b/previewers/GeoJSONPreview.html @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + +

SSHOC GeoJSON Viewer +

+ + + +
+
+
+ +
+

Credit: GeoJSON Viewer by cesare concordia

+ + + + + + + + diff --git a/previewers/i18n/en_orig.json b/previewers/i18n/en_orig.json index f0d64c7..e3a88a3 100644 --- a/previewers/i18n/en_orig.json +++ b/previewers/i18n/en_orig.json @@ -13,6 +13,7 @@ "pdfPreviewText": "PDF Preview", "spreadsheetViewerText": "Spreadsheet Viewer", "textPreviewText": "Text Preview", + "geoJSONPreviewText": "GeoJSON Preview", "videoPreviewText": "Video Preview", "prev": "Previous", "next": "Next", diff --git a/previewers/i18n/es.json b/previewers/i18n/es.json index 3bde576..f17be1d 100644 --- a/previewers/i18n/es.json +++ b/previewers/i18n/es.json @@ -13,6 +13,7 @@ "pdfPreviewText": "SSHOC Previsualización de pdf", "spreadsheetViewerText": "SSHOC Visor de hojas de cálculo", "textPreviewText": "Previsualización de texto", + "geoJSONPreviewText": "GeoJSON Preview", "videoPreviewText": "Previsualización de vídeo", "prev": "Anterior", "next": "Siguiente", diff --git a/previewers/i18n/fr.json b/previewers/i18n/fr.json index cf402b7..beab9f9 100644 --- a/previewers/i18n/fr.json +++ b/previewers/i18n/fr.json @@ -13,6 +13,7 @@ "pdfPreviewText": "SSHOC Aperçu PDF", "spreadsheetViewerText": "SSHOC Visualisateur de feuille de calcul", "textPreviewText": "Aperçu texte", + "geoJSONPreviewText": "GeoJSON Preview", "videoPreviewText": "Aperçu vidéo", "prev": "Précédent", "next": "Suivant", diff --git a/previewers/js/geojson.js b/previewers/js/geojson.js new file mode 100644 index 0000000..5155c24 --- /dev/null +++ b/previewers/js/geojson.js @@ -0,0 +1,16 @@ + +$(document).ready(function() { + startPreview(false); + }); + +function translateBaseHtmlPage() { + var audioPreviewText = $.i18n( "audioPreviewText" ); + $( '.audioPreviewText' ).text( audioPreviewText ); +} + +function writeContent(fileUrl, file, title, authors) { + addStandardPreviewHeader(file, title, authors); + //$('.preview').append($("