+
+
+
\ No newline at end of file
diff --git a/build/test/manual/place_demo/aphrodisias.html b/build/demo/place/aphrodisias.html
similarity index 67%
rename from build/test/manual/place_demo/aphrodisias.html
rename to build/demo/place/aphrodisias.html
index c8752c7..30fb5c3 100644
--- a/build/test/manual/place_demo/aphrodisias.html
+++ b/build/demo/place/aphrodisias.html
@@ -1,8 +1,8 @@
-
-
+
+
Pelagios Widget Demo: Aphrodisias (638753)
diff --git a/build/test/manual/place_demo/athens.html b/build/demo/place/athens.html
similarity index 65%
rename from build/test/manual/place_demo/athens.html
rename to build/demo/place/athens.html
index 354f990..267aa3c 100644
--- a/build/test/manual/place_demo/athens.html
+++ b/build/demo/place/athens.html
@@ -1,7 +1,7 @@
-
-
+
+
Pelagios Widget Demo: Athens (579885)
diff --git a/build/test/manual/place_demo/corinth.html b/build/demo/place/corinth.html
similarity index 90%
rename from build/test/manual/place_demo/corinth.html
rename to build/demo/place/corinth.html
index aff6047..3ddd6f0 100644
--- a/build/test/manual/place_demo/corinth.html
+++ b/build/demo/place/corinth.html
@@ -3,14 +3,14 @@
Pelagios Widget Demo: Corinth (570182)
-
-
+
+
Pelagios Widget Demo: Corinth (570182)
HTML 5
Click the icon to display the widget
-
+
Text afterwards for demo purposes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam ut felis non massa mattis imperdiet. Donec sit amet turpis non elit cursus aliquet quis ac nunc. Phasellus vitae nisl dui. Sed sit amet quam ac tellus tincidunt convallis. Maecenas nunc justo, rutrum nec accumsan mattis, dignissim nec neque. Etiam pulvinar nulla eget magna porttitor interdum. Mauris aliquam, urna sed pretium faucibus, ipsum tortor commodo quam, sed pharetra turpis nulla fermentum nunc. Integer sit amet diam felis, et imperdiet nunc. Donec velit tellus, gravida vel euismod at, suscipit at nulla.
Nam elementum, ipsum sit amet hendrerit fringilla, tortor nisl ultricies nisl, sit amet pretium tellus libero imperdiet lorem. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Duis gravida enim nec elit condimentum non vehicula orci vestibulum. Curabitur dignissim nunc ut ante pellentesque accumsan. In eget mollis libero. Nam vel mi sit amet est suscipit bibendum. Quisque quis orci nibh, id molestie neque.
diff --git a/build/test/manual/place_edge_cases/no_partner_content.html b/build/demo/place/lentia.html
similarity index 100%
rename from build/test/manual/place_edge_cases/no_partner_content.html
rename to build/demo/place/lentia.html
diff --git a/build/test/manual/place_demo/olympia.html b/build/demo/place/olympia.html
similarity index 65%
rename from build/test/manual/place_demo/olympia.html
rename to build/demo/place/olympia.html
index 202592d..0805ad0 100644
--- a/build/test/manual/place_demo/olympia.html
+++ b/build/demo/place/olympia.html
@@ -1,7 +1,7 @@
-
-
+
+
Pelagios Widget Demo: Olympia (570531)
diff --git a/build/test/manual/place_demo/olympics.html b/build/demo/place/olympics.html
similarity index 91%
rename from build/test/manual/place_demo/olympics.html
rename to build/demo/place/olympics.html
index 3a818d3..bc27425 100644
--- a/build/test/manual/place_demo/olympics.html
+++ b/build/demo/place/olympics.html
@@ -3,9 +3,8 @@
-
-
-
+
+
Pelagios Widget Demo: Table
diff --git a/build/test/manual/place_demo/rome.html b/build/demo/place/rome.html
similarity index 67%
rename from build/test/manual/place_demo/rome.html
rename to build/demo/place/rome.html
index 841393d..2be314e 100644
--- a/build/test/manual/place_demo/rome.html
+++ b/build/demo/place/rome.html
@@ -1,8 +1,8 @@
-
-
+
+
+
+
+
+
\ No newline at end of file
diff --git a/build/demo/place_options/icon_false.html b/build/demo/place_options/icon_false.html
new file mode 100644
index 0000000..e520705
--- /dev/null
+++ b/build/demo/place_options/icon_false.html
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
data-icon="false"
+
+
+
+
\ No newline at end of file
diff --git a/build/demo/place_options/mouseover_true.html b/build/demo/place_options/mouseover_true.html
new file mode 100644
index 0000000..b057e7a
--- /dev/null
+++ b/build/demo/place_options/mouseover_true.html
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
data-mouseover="true"
+
+
+
+
\ No newline at end of file
diff --git a/build/test/manual/place_edge_cases/basic.html b/build/demo/place_special_cases/basic.html
similarity index 64%
rename from build/test/manual/place_edge_cases/basic.html
rename to build/demo/place_special_cases/basic.html
index 924de59..5d3dada 100644
--- a/build/test/manual/place_edge_cases/basic.html
+++ b/build/demo/place_special_cases/basic.html
@@ -2,8 +2,8 @@
-
-
+
+
TEST: Basic
diff --git a/build/test/manual/place_edge_cases/gmapv2.html b/build/demo/place_special_cases/gmapv2.html
similarity index 64%
rename from build/test/manual/place_edge_cases/gmapv2.html
rename to build/demo/place_special_cases/gmapv2.html
index 924de59..5d3dada 100644
--- a/build/test/manual/place_edge_cases/gmapv2.html
+++ b/build/demo/place_special_cases/gmapv2.html
@@ -2,8 +2,8 @@
-
-
+
+
+
+
+
\ No newline at end of file
diff --git a/build/demo/place_special_cases/html4_trans.html b/build/demo/place_special_cases/html4_trans.html
new file mode 100644
index 0000000..d860c6f
--- /dev/null
+++ b/build/demo/place_special_cases/html4_trans.html
@@ -0,0 +1,13 @@
+
+
+
+
+ TEST: HTML 5
+
+
+
+
+
HTML4 Transitional Doctype
+
+
+
\ No newline at end of file
diff --git a/build/test/manual/place_edge_cases/html5.html b/build/demo/place_special_cases/html5.html
similarity index 57%
rename from build/test/manual/place_edge_cases/html5.html
rename to build/demo/place_special_cases/html5.html
index 970b99c..fcd0d77 100644
--- a/build/test/manual/place_edge_cases/html5.html
+++ b/build/demo/place_special_cases/html5.html
@@ -3,8 +3,8 @@
TEST: HTML 5
-
-
+
+
+
+
+
\ No newline at end of file
diff --git a/build/test/manual/place_edge_cases/multiple_widgets.html b/build/demo/place_special_cases/multiple_widgets.html
similarity index 83%
rename from build/test/manual/place_edge_cases/multiple_widgets.html
rename to build/demo/place_special_cases/multiple_widgets.html
index f9566d0..0f80e60 100644
--- a/build/test/manual/place_edge_cases/multiple_widgets.html
+++ b/build/demo/place_special_cases/multiple_widgets.html
@@ -3,14 +3,13 @@
-
+
+
Pelagios Widget Demo: Corinth and Rome HTML 4
Click each the first icon to display the Corinth widget. Click the second icon to display the Rome widget.
Corinth widget 1
-
-
Rome widget
diff --git a/build/test/manual/place_edge_cases/no_doctype.html b/build/demo/place_special_cases/no_doctype.html
similarity index 53%
rename from build/test/manual/place_edge_cases/no_doctype.html
rename to build/demo/place_special_cases/no_doctype.html
index e854df6..3a45d35 100644
--- a/build/test/manual/place_edge_cases/no_doctype.html
+++ b/build/demo/place_special_cases/no_doctype.html
@@ -1,7 +1,7 @@
-
-
+
+
TEST: No doctype (quirksmode)
diff --git a/build/test/manual/place_edge_cases/table.html b/build/demo/place_special_cases/table.html
similarity index 92%
rename from build/test/manual/place_edge_cases/table.html
rename to build/demo/place_special_cases/table.html
index 68eb9ef..a7c0a4a 100644
--- a/build/test/manual/place_edge_cases/table.html
+++ b/build/demo/place_special_cases/table.html
@@ -2,8 +2,8 @@
-
-
+
+
+You only need to include the scripts once on each page even if you want to include multiple widgets.
+
+2) Find the Pleiades ID of the place
+
+Find the place on the Pleiades website and look at the URL of the page for the place to get the Pleiades ID of the place. e.g. if the URL is http://pleiades.stoa.org/places/579885/ or http://pleiades.stoa.org/places/579885/?searchterm=Athens* then the Pleiades ID is 579885.
+
+3) Choose a widget ID
+
+Your widget needs an ID which can be any alphanumeric string you like, but it must not clash with the id of any other html element on your page and if you want to embed more than one widget on a page each widget must have a different ID.
+
+4) Add the following HTML to your page
+
+Where you would like the widget to appear add the following HTML where PLEIADES_ID is your Pleiades ID and WIDGET_ID is your widget ID.
+
+Your widget needs an ID which can be any alphanumeric string you like, but it must not clash with the id of any other html element on your page and if you want to embed more than one widget on a page each widget must have a different ID.
+
+Where you would like the widget to appear add the following HTML where PLEIADES_ID is your Pleiades ID and WIDGET_ID is your widget ID.
+
+
Options
+
+
To not display any maps in the widget, add data-display_map="false" to the widget div.
+
For the Place Widget, to display it inline rather than as an icon and pop-up,
+add data-icon="false" to the widget div
+
For the Place Widget, to display the widget on mouseover of the icon, rather than on click, add data-mouseover="true" to the widget div.
+
+
Hosting the widget code locally
+
You are of course welcome to download the javascript libraries and host them locally. If you place the contents of the build directory at http:// then you then need to use the following javascript instead:
+
+
\ No newline at end of file
diff --git a/build/docs/styles.css b/build/docs/styles.css
new file mode 100644
index 0000000..05655e3
--- /dev/null
+++ b/build/docs/styles.css
@@ -0,0 +1 @@
+body {font-family: Helvetica; font-size: 1.0em,}h2 {font-size: 0.9em;}label {display:block}input {display:block}
\ No newline at end of file
diff --git a/build/index.html b/build/index.html
new file mode 100644
index 0000000..ec75217
--- /dev/null
+++ b/build/index.html
@@ -0,0 +1,34 @@
+
+
+
+Pelagios Widgets
+
+
+
+
Pelagios Widgets
+
The Pelagios widgets are widgets that you can embed on a web page to display
+data from the Pelagios partners. For more about the Pelagios project, see
+the main Pelagios website.
+
+
+There are currently two widgets:
+
+
Pelagios Place Widget: This displays Pelagios information associated with a specified place. It takes the form of an icon, which when clicked pops up the information about a place. It could be used for example on a web page where a particular place is mentioned to allow users of the page to view the Pelagios information associated with a place.
+
+
Pelagios Search Widget: This allows you to search for a particular place. It displays all the matches in the Pleiades gazetteer on a map and as a list. You can then view with the Pelagios information associated with each of the places in these search results.
+
If you have any issues with embedding the widgets, please contact Juliette
+Culver (j.culver@open.ac.uk) or raise an issue on github.
+
+
The Pelagios Widgets were developed by the Institute of Educational Technology at The Open University
+as part of the Pelagios 2 project funded by JISC.
+
+
\ No newline at end of file
diff --git a/build/test/manual/place_edge_cases/inline.html b/build/test/manual/place_edge_cases/inline.html
deleted file mode 100644
index 691dea1..0000000
--- a/build/test/manual/place_edge_cases/inline.html
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
-
-
-
-
-