diff --git a/build/app/dataset.json b/build/app/dataset.json index 90cb928..29ed193 100644 --- a/build/app/dataset.json +++ b/build/app/dataset.json @@ -122,6 +122,13 @@ "iconFileName": "pelagios.png", "strapline": "Pleiades URIs appearing in ISAW Papers articles" } +, +{ + "id": "e9e161a08db2906d135d7abefb145636", + "title": "OCRE", + "iconFileName": "pelagios.png", + "strapline": "Online Coins of the Roman Empire" +} ] diff --git a/build/app/dataset.json.js b/build/app/dataset.json.js index f9e5576..d36f8e5 100644 --- a/build/app/dataset.json.js +++ b/build/app/dataset.json.js @@ -1 +1 @@ -define('lib/text!app/dataset.json',[],function () { return '[{\r\n "id": "b47df24737cd647789c7d61ede9fed09",\r\n "iconFileName": "arachne.png",\r\n "title": "Arachne",\r\n "strapline": "A web research tool of the German Archaeological Institute for searching mass archaeological records"\r\n},\r\n{\r\n "id": "6a39d0bc3c0fd4ef7d2a837b42cf46a1",\r\n "title": "Google Ancient Places",\r\n "iconFileName": "gap_logo.png",\r\n "strapline": "A Geographic Annotation Platform for reading texts spatially"\r\n}\r\n,\r\n{\r\n "id": "2db51c1dd976f01bf993a02f959e18f8",\r\n "title": "nomisma",\r\n "iconFileName": "Greek.jpeg",\r\n "strapline": "Representing ancient coins online"\r\n}\r\n,\r\n{\r\n "id": "298fafd65586643149e8a8ba47b57052",\r\n "title": "SPQR",\r\n "iconFileName": "SPQR.png",\r\n "strapline": "From Roman inscriptions to resource descriptions"\r\n}\r\n,\r\n{\r\n "id": "",\r\n "title": "Regnum Francorum Online",\r\n "iconFileName": "Regnum.png",\r\n "strapline": "Interactive Maps and Sources of Late Antique and Early Medieval Europe"\r\n}\r\n,\r\n{\r\n "id": "21e48d8ca46f666467b81a551fbb1cb",\r\n "title": "Perseus",\r\n "iconFileName": "Perseus.png",\r\n "strapline": "Annotated occurrences of place entities in texts from the Perseus Digital Library"\r\n}\r\n,\r\n{\r\n "id": "c4c2ed780a8f4f2b698a5c2505ac34ca",\r\n "title": "CLAROS",\r\n "iconFileName": "CLAROS.png",\r\n "strapline": "Aggregated search of art and archaeology data from the classical world and the far east across four millennia"\r\n}\r\n,\r\n{\r\n "id": "739128af1e9613de03706a57cef46976",\r\n "title": "Open Context",\r\n "iconFileName": "open-context.png",\r\n "strapline": "Publications of research data in archaeology and related fields"\r\n}\r\n,\r\n{\r\n "id": "467b9097b55b6e0831fe6760df93e7f2",\r\n "title": "FASTI Online",\r\n "iconFileName": "FASTI.png",\r\n "strapline": "A database of archaeological excavations since the year 2000"\r\n}\r\n,\r\n{\r\n "id": "a306666ae581e8d611d56a1dfdaea256",\r\n "title": "Ure Museum",\r\n "iconFileName": "URE.png",\r\n "strapline": "University Museum of ancient Greek, Egyptian & a little Roman stuff"\r\n}\r\n,\r\n{\r\n "id": "5555ffd0e36e088c25f76b980139851a",\r\n "title": "ORBIS",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "The Stanford Geospatial Network Model of the Roman World"\r\n}\r\n,\r\n{\r\n"id": "4f9bb4e7c0b0c329db0d2696814ffd2d",\r\n "title": "SquinchPix",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "An archive of European imagery"\r\n}\r\n,\r\n{\r\n "id": "77b38b7fc7d81fb278d1c3634638f8ee",\r\n "title": "Sharing Ancient Wisdoms ",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Medieval gnomologia (collections of wise sayings)"\r\n}\r\n,\r\n{\r\n "id": "434fc5aea15f6d39040c1282c4a2df63",\r\n "title": "Portable Antiquities Scheme",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Pleiades URIs appearing within the Portable Antiquities Scheme database"\r\n}\r\n,\r\n{\r\n "id": "9fdb2911bcfc625c87cfce10d97b3de7",\r\n "title": "ORACC",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Open Richly Annotated Cuneiform Corpus"\r\n}\r\n,\r\n{\r\n "id": "7bb4b28758a3607f9b1eea3b48df90a",\r\n "title": "Meketre",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Reliefs and paintings of Middle Kingdom tombs of Ancient Egypt"\r\n}\r\n,\r\n{\r\n "id": "71fd46410b14843985db023501f2f76f",\r\n "title": "The Book of the Dead Project",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "The evolution of the ancient egyptian Book of the Dead"\r\n}\r\n,\r\n{\r\n "id": "e2e0b0b2199b875ff3acdce3f962c128",\r\n "title": "ISAW Papers",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Pleiades URIs appearing in ISAW Papers articles"\r\n}\r\n]\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n';}); +define('lib/text!app/dataset.json',[],function () { return '[{\r\n "id": "b47df24737cd647789c7d61ede9fed09",\r\n "iconFileName": "arachne.png",\r\n "title": "Arachne",\r\n "strapline": "A web research tool of the German Archaeological Institute for searching mass archaeological records"\r\n},\r\n{\r\n "id": "6a39d0bc3c0fd4ef7d2a837b42cf46a1",\r\n "title": "Google Ancient Places",\r\n "iconFileName": "gap_logo.png",\r\n "strapline": "A Geographic Annotation Platform for reading texts spatially"\r\n}\r\n,\r\n{\r\n "id": "2db51c1dd976f01bf993a02f959e18f8",\r\n "title": "nomisma",\r\n "iconFileName": "Greek.jpeg",\r\n "strapline": "Representing ancient coins online"\r\n}\r\n,\r\n{\r\n "id": "298fafd65586643149e8a8ba47b57052",\r\n "title": "SPQR",\r\n "iconFileName": "SPQR.png",\r\n "strapline": "From Roman inscriptions to resource descriptions"\r\n}\r\n,\r\n{\r\n "id": "",\r\n "title": "Regnum Francorum Online",\r\n "iconFileName": "Regnum.png",\r\n "strapline": "Interactive Maps and Sources of Late Antique and Early Medieval Europe"\r\n}\r\n,\r\n{\r\n "id": "21e48d8ca46f666467b81a551fbb1cb",\r\n "title": "Perseus",\r\n "iconFileName": "Perseus.png",\r\n "strapline": "Annotated occurrences of place entities in texts from the Perseus Digital Library"\r\n}\r\n,\r\n{\r\n "id": "c4c2ed780a8f4f2b698a5c2505ac34ca",\r\n "title": "CLAROS",\r\n "iconFileName": "CLAROS.png",\r\n "strapline": "Aggregated search of art and archaeology data from the classical world and the far east across four millennia"\r\n}\r\n,\r\n{\r\n "id": "739128af1e9613de03706a57cef46976",\r\n "title": "Open Context",\r\n "iconFileName": "open-context.png",\r\n "strapline": "Publications of research data in archaeology and related fields"\r\n}\r\n,\r\n{\r\n "id": "467b9097b55b6e0831fe6760df93e7f2",\r\n "title": "FASTI Online",\r\n "iconFileName": "FASTI.png",\r\n "strapline": "A database of archaeological excavations since the year 2000"\r\n}\r\n,\r\n{\r\n "id": "a306666ae581e8d611d56a1dfdaea256",\r\n "title": "Ure Museum",\r\n "iconFileName": "URE.png",\r\n "strapline": "University Museum of ancient Greek, Egyptian & a little Roman stuff"\r\n}\r\n,\r\n{\r\n "id": "5555ffd0e36e088c25f76b980139851a",\r\n "title": "ORBIS",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "The Stanford Geospatial Network Model of the Roman World"\r\n}\r\n,\r\n{\r\n"id": "4f9bb4e7c0b0c329db0d2696814ffd2d",\r\n "title": "SquinchPix",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "An archive of European imagery"\r\n}\r\n,\r\n{\r\n "id": "77b38b7fc7d81fb278d1c3634638f8ee",\r\n "title": "Sharing Ancient Wisdoms ",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Medieval gnomologia (collections of wise sayings)"\r\n}\r\n,\r\n{\r\n "id": "434fc5aea15f6d39040c1282c4a2df63",\r\n "title": "Portable Antiquities Scheme",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Pleiades URIs appearing within the Portable Antiquities Scheme database"\r\n}\r\n,\r\n{\r\n "id": "9fdb2911bcfc625c87cfce10d97b3de7",\r\n "title": "ORACC",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Open Richly Annotated Cuneiform Corpus"\r\n}\r\n,\r\n{\r\n "id": "7bb4b28758a3607f9b1eea3b48df90a",\r\n "title": "Meketre",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Reliefs and paintings of Middle Kingdom tombs of Ancient Egypt"\r\n}\r\n,\r\n{\r\n "id": "71fd46410b14843985db023501f2f76f",\r\n "title": "The Book of the Dead Project",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "The evolution of the ancient egyptian Book of the Dead"\r\n}\r\n,\r\n{\r\n "id": "e2e0b0b2199b875ff3acdce3f962c128",\r\n "title": "ISAW Papers",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Pleiades URIs appearing in ISAW Papers articles"\r\n}\r\n,\r\n{\r\n "id": "e9e161a08db2906d135d7abefb145636",\r\n "title": "OCRE",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Online Coins of the Roman Empire"\r\n}\r\n]\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n';}); diff --git a/build/demo/search/iframe_demo.html b/build/demo/search/iframe_demo.html new file mode 100644 index 0000000..9feadaa --- /dev/null +++ b/build/demo/search/iframe_demo.html @@ -0,0 +1,22 @@ + + + +
+ + +";\n foundHelper = helpers.strapline;\n stack1 = foundHelper || depth0.strapline;\n if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); }\n else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "strapline", { hash: {} }); }\n buffer += escapeExpression(stack1) + "
\\r\\nThe flickr photos shown here are those which have been given a Pleiades machine tag specifying this place.
\\r\\n";\n return buffer;});\n})();'}),define("lib/text!template/pleiades.tmpl",[],function(){return'(function() {\n var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {};\ntemplates[\'pleiades\'] = template(function (Handlebars,depth0,helpers,partials,data) {\n helpers = helpers || Handlebars.helpers;\n var buffer = "", stack1, stack2, foundHelper, tmp1, self=this, functionType="function", helperMissing=helpers.helperMissing, undef=void 0, escapeExpression=this.escapeExpression;\n\nfunction program1(depth0,data) {\n \n var buffer = "", stack1;\n buffer += "\\r\\nSome alternative names: ";\n foundHelper = helpers.altNames;\n stack1 = foundHelper || depth0.altNames;\n if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); }\n else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "altNames", { hash: {} }); }\n buffer += escapeExpression(stack1) + " (the results below are for all alternative names)
\\r\\n ";\n return buffer;}\n\nfunction program3(depth0,data) {\n \n var buffer = "", stack1;\n buffer += " \\r\\n";\n foundHelper = helpers.description;\n stack1 = foundHelper || depth0.description;\n if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); }\n else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "description", { hash: {} }); }\n buffer += escapeExpression(stack1) + "
\\r\\n ";\n foundHelper = helpers.altNames;\n stack1 = foundHelper || depth0.altNames;\n stack2 = helpers[\'if\'];\n tmp1 = self.program(1, program1, data);\n tmp1.hash = {};\n tmp1.fn = tmp1;\n tmp1.inverse = self.noop;\n stack1 = stack2.call(depth0, stack1, tmp1);\n if(stack1 || stack1 === 0) { buffer += stack1; }\n buffer += "\\r\\n ";\n foundHelper = helpers.widgetContext;\n stack1 = foundHelper || depth0.widgetContext;\n stack1 = (stack1 === null || stack1 === undefined || stack1 === false ? stack1 : stack1.displayMap);\n stack2 = helpers[\'if\'];\n tmp1 = self.program(3, program3, data);\n tmp1.hash = {};\n tmp1.fn = tmp1;\n tmp1.inverse = self.noop;\n stack1 = stack2.call(depth0, stack1, tmp1);\n if(stack1 || stack1 === 0) { buffer += stack1; }\n buffer += "\\r\\n \\r\\n";\n foundHelper = helpers.msg;\n stack1 = foundHelper || depth0.msg;\n if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); }\n else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "msg", { hash: {} }); }\n buffer += escapeExpression(stack1) + "
\\r\\n";\n return buffer;});\n})();'}),define("lib/text!template/search.tmpl",[],function(){return'(function() {\n var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {};\ntemplates[\'search\'] = template(function (Handlebars,depth0,helpers,partials,data) {\n helpers = helpers || Handlebars.helpers;\n var buffer = "", stack1, foundHelper, self=this, functionType="function", helperMissing=helpers.helperMissing, undef=void 0, escapeExpression=this.escapeExpression;\n\n\n buffer += "Geographic Results for: ";\n foundHelper = helpers.searchString;\n stack1 = foundHelper || depth0.searchString;\n if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); }\n else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "searchString", { hash: {} }); }\n buffer += escapeExpression(stack1) + "
\\r\\n \\r\\nList Results for: ";\n foundHelper = helpers.searchString;\n stack1 = foundHelper || depth0.searchString;\n if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); }\n else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "searchString", { hash: {} }); }\n buffer += escapeExpression(stack1) + "\\r\\n
This widget displays data from the Pelagios project partners about the location specified.
\\r\\nView the Pelagios website\\r\\n for more information.\\r\\n ";});\n})();'}),define("lib/text!app/dataset.json",[],function(){return'[{\r\n "id": "b47df24737cd647789c7d61ede9fed09",\r\n "iconFileName": "arachne.png",\r\n "title": "Arachne",\r\n "strapline": "A web research tool of the German Archaeological Institute for searching mass archaeological records"\r\n},\r\n{\r\n "id": "6a39d0bc3c0fd4ef7d2a837b42cf46a1",\r\n "title": "Google Ancient Places",\r\n "iconFileName": "gap_logo.png",\r\n "strapline": "A Geographic Annotation Platform for reading texts spatially"\r\n}\r\n,\r\n{\r\n "id": "2db51c1dd976f01bf993a02f959e18f8",\r\n "title": "nomisma",\r\n "iconFileName": "Greek.jpeg",\r\n "strapline": "Representing ancient coins online"\r\n}\r\n,\r\n{\r\n "id": "298fafd65586643149e8a8ba47b57052",\r\n "title": "SPQR",\r\n "iconFileName": "SPQR.png",\r\n "strapline": "From Roman inscriptions to resource descriptions"\r\n}\r\n,\r\n{\r\n "id": "",\r\n "title": "Regnum Francorum Online",\r\n "iconFileName": "Regnum.png",\r\n "strapline": "Interactive Maps and Sources of Late Antique and Early Medieval Europe"\r\n}\r\n,\r\n{\r\n "id": "21e48d8ca46f666467b81a551fbb1cb",\r\n "title": "Perseus",\r\n "iconFileName": "Perseus.png",\r\n "strapline": "Annotated occurrences of place entities in texts from the Perseus Digital Library"\r\n}\r\n,\r\n{\r\n "id": "c4c2ed780a8f4f2b698a5c2505ac34ca",\r\n "title": "CLAROS",\r\n "iconFileName": "CLAROS.png",\r\n "strapline": "Aggregated search of art and archaeology data from the classical world and the far east across four millennia"\r\n}\r\n,\r\n{\r\n "id": "739128af1e9613de03706a57cef46976",\r\n "title": "Open Context",\r\n "iconFileName": "open-context.png",\r\n "strapline": "Publications of research data in archaeology and related fields"\r\n}\r\n,\r\n{\r\n "id": "467b9097b55b6e0831fe6760df93e7f2",\r\n "title": "FASTI Online",\r\n "iconFileName": "FASTI.png",\r\n "strapline": "A database of archaeological excavations since the year 2000"\r\n}\r\n,\r\n{\r\n "id": "a306666ae581e8d611d56a1dfdaea256",\r\n "title": "Ure Museum",\r\n "iconFileName": "URE.png",\r\n "strapline": "University Museum of ancient Greek, Egyptian & a little Roman stuff"\r\n}\r\n,\r\n{\r\n "id": "5555ffd0e36e088c25f76b980139851a",\r\n "title": "ORBIS",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "The Stanford Geospatial Network Model of the Roman World"\r\n}\r\n,\r\n{\r\n"id": "4f9bb4e7c0b0c329db0d2696814ffd2d",\r\n "title": "SquinchPix",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "An archive of European imagery"\r\n}\r\n,\r\n{\r\n "id": "77b38b7fc7d81fb278d1c3634638f8ee",\r\n "title": "Sharing Ancient Wisdoms ",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Medieval gnomologia (collections of wise sayings)"\r\n}\r\n,\r\n{\r\n "id": "434fc5aea15f6d39040c1282c4a2df63",\r\n "title": "Portable Antiquities Scheme",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Pleiades URIs appearing within the Portable Antiquities Scheme database"\r\n}\r\n,\r\n{\r\n "id": "9fdb2911bcfc625c87cfce10d97b3de7",\r\n "title": "ORACC",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Open Richly Annotated Cuneiform Corpus"\r\n}\r\n,\r\n{\r\n "id": "7bb4b28758a3607f9b1eea3b48df90a",\r\n "title": "Meketre",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Reliefs and paintings of Middle Kingdom tombs of Ancient Egypt"\r\n}\r\n,\r\n{\r\n "id": "71fd46410b14843985db023501f2f76f",\r\n "title": "The Book of the Dead Project",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "The evolution of the ancient egyptian Book of the Dead"\r\n}\r\n,\r\n{\r\n "id": "e2e0b0b2199b875ff3acdce3f962c128",\r\n "title": "ISAW Papers",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Pleiades URIs appearing in ISAW Papers articles"\r\n}\r\n]\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n'}),define("lib/jquery_pagination",["jquery"],function(e){(function(e){e.PaginationCalculator=function(e,t){this.maxentries=e,this.opts=t},e.extend(e.PaginationCalculator.prototype,{numPages:function(){return Math.ceil(this.maxentries/this.opts.items_per_page)},getInterval:function(e){var t=Math.floor(this.opts.num_display_entries/2),n=this.numPages(),r=n-this.opts.num_display_entries,i=e>t?Math.max(Math.min(e-t,r),0):0,s=e>t?Math.min(e+t+this.opts.num_display_entries%2,n):Math.min(this.opts.num_display_entries,n);return{start:i,end:s}}}),e.PaginationRenderers={},e.PaginationRenderers.defaultRenderer=function(t,n){this.maxentries=t,this.opts=n,this.pc=new e.PaginationCalculator(t,n)},e.extend(e.PaginationRenderers.defaultRenderer.prototype,{createLink:function(t,n,r){var i,s=this.pc.numPages();return t=t<0?0:t"+r.text+""):i=e(""+r.text+"").attr("href",this.opts.link_to.replace(/__id__/,t)),r.classes&&i.addClass(r.classes),i.data("page_id",t),i},appendRange:function(e,t,n,r,i){var s;for(s=n;s
View info
',place.widgetID=widgetContext.widgetID,t[e]=place});var n={place:t,widgetContext:widgetContext,searchString:searchString},r=Handlebars.templates.search_results(n);$("#"+widgetContext.widgetID+"-search-results").append(r),$(".pelagios .list-results li").css("background-image","url("+widgetContext.imageDir+"place_type_icons/unknown.png)");var i={temple:"temple.png",santuary:"sanctuary.png",river:"river.png","water-open":"river.png",mountain:"mountain.png",island:"island.png",tribe:"tribe.png",settlement:"settlement.png",urban:"settlement.png",people:"people.png",aqueduct:"aqueduct.png",cape:"cape.png",mine:"mine.png",station:"port.png",road:"road.png",villa:"villa.png",wall:"wall.png",province:"people.png"};$.each(i,function(e,t){$(".pelagios .list-results li."+e).css("background-image","url("+widgetContext.imageDir+"place_type_icons/"+t+")")}),widgetContext.displayMap&&(searchMap=new search_map.SearchMap(widgetContext.widgetID+"-search-map_canvas")),$.each(t,function(e,t){widgetContext.displayMap&&searchMap.addMarker(t.geojson,t.label,t.content,function(){s(t.pleiadesID)}),$("#"+widgetContext.widgetID+"-place-"+t.pleiadesID).click(function(){s(t.pleiadesID)})});function s(e){$(".pelagios-search-result-list li").css("text-decoration","none"),$(".pelagios-search-result-list li").css("font-weight","normal"),$("#"+widgetContext.widgetID+"-place-"+e).css("text-decoration","underline"),$("#"+widgetContext.widgetID+"-place-"+e).css("font-weight","bold"),displayPlace(e)}showSearchResults()}else $("#"+widgetContext.widgetID+"-search-results").append("";\n foundHelper = helpers.strapline;\n stack1 = foundHelper || depth0.strapline;\n if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); }\n else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "strapline", { hash: {} }); }\n buffer += escapeExpression(stack1) + "
\\r\\nThe flickr photos shown here are those which have been given a Pleiades machine tag specifying this place.
\\r\\n";\n return buffer;});\n})();'}),define("lib/text!template/pleiades.tmpl",[],function(){return'(function() {\n var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {};\ntemplates[\'pleiades\'] = template(function (Handlebars,depth0,helpers,partials,data) {\n helpers = helpers || Handlebars.helpers;\n var buffer = "", stack1, stack2, foundHelper, tmp1, self=this, functionType="function", helperMissing=helpers.helperMissing, undef=void 0, escapeExpression=this.escapeExpression;\n\nfunction program1(depth0,data) {\n \n var buffer = "", stack1;\n buffer += "\\r\\nSome alternative names: ";\n foundHelper = helpers.altNames;\n stack1 = foundHelper || depth0.altNames;\n if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); }\n else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "altNames", { hash: {} }); }\n buffer += escapeExpression(stack1) + " (the results below are for all alternative names)
\\r\\n ";\n return buffer;}\n\nfunction program3(depth0,data) {\n \n var buffer = "", stack1;\n buffer += " \\r\\n";\n foundHelper = helpers.description;\n stack1 = foundHelper || depth0.description;\n if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); }\n else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "description", { hash: {} }); }\n buffer += escapeExpression(stack1) + "
\\r\\n ";\n foundHelper = helpers.altNames;\n stack1 = foundHelper || depth0.altNames;\n stack2 = helpers[\'if\'];\n tmp1 = self.program(1, program1, data);\n tmp1.hash = {};\n tmp1.fn = tmp1;\n tmp1.inverse = self.noop;\n stack1 = stack2.call(depth0, stack1, tmp1);\n if(stack1 || stack1 === 0) { buffer += stack1; }\n buffer += "\\r\\n ";\n foundHelper = helpers.widgetContext;\n stack1 = foundHelper || depth0.widgetContext;\n stack1 = (stack1 === null || stack1 === undefined || stack1 === false ? stack1 : stack1.displayMap);\n stack2 = helpers[\'if\'];\n tmp1 = self.program(3, program3, data);\n tmp1.hash = {};\n tmp1.fn = tmp1;\n tmp1.inverse = self.noop;\n stack1 = stack2.call(depth0, stack1, tmp1);\n if(stack1 || stack1 === 0) { buffer += stack1; }\n buffer += "\\r\\n \\r\\n";\n foundHelper = helpers.msg;\n stack1 = foundHelper || depth0.msg;\n if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); }\n else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "msg", { hash: {} }); }\n buffer += escapeExpression(stack1) + "
\\r\\n";\n return buffer;});\n})();'}),define("lib/text!template/search.tmpl",[],function(){return'(function() {\n var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {};\ntemplates[\'search\'] = template(function (Handlebars,depth0,helpers,partials,data) {\n helpers = helpers || Handlebars.helpers;\n var buffer = "", stack1, foundHelper, self=this, functionType="function", helperMissing=helpers.helperMissing, undef=void 0, escapeExpression=this.escapeExpression;\n\n\n buffer += "Geographic Results for: ";\n foundHelper = helpers.searchString;\n stack1 = foundHelper || depth0.searchString;\n if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); }\n else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "searchString", { hash: {} }); }\n buffer += escapeExpression(stack1) + "
\\r\\n \\r\\nList Results for: ";\n foundHelper = helpers.searchString;\n stack1 = foundHelper || depth0.searchString;\n if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); }\n else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "searchString", { hash: {} }); }\n buffer += escapeExpression(stack1) + "\\r\\n
This widget displays data from the Pelagios project partners about the location specified.
\\r\\nView the Pelagios website\\r\\n for more information.\\r\\n ";});\n})();'}),define("lib/text!app/dataset.json",[],function(){return'[{\r\n "id": "b47df24737cd647789c7d61ede9fed09",\r\n "iconFileName": "arachne.png",\r\n "title": "Arachne",\r\n "strapline": "A web research tool of the German Archaeological Institute for searching mass archaeological records"\r\n},\r\n{\r\n "id": "6a39d0bc3c0fd4ef7d2a837b42cf46a1",\r\n "title": "Google Ancient Places",\r\n "iconFileName": "gap_logo.png",\r\n "strapline": "A Geographic Annotation Platform for reading texts spatially"\r\n}\r\n,\r\n{\r\n "id": "2db51c1dd976f01bf993a02f959e18f8",\r\n "title": "nomisma",\r\n "iconFileName": "Greek.jpeg",\r\n "strapline": "Representing ancient coins online"\r\n}\r\n,\r\n{\r\n "id": "298fafd65586643149e8a8ba47b57052",\r\n "title": "SPQR",\r\n "iconFileName": "SPQR.png",\r\n "strapline": "From Roman inscriptions to resource descriptions"\r\n}\r\n,\r\n{\r\n "id": "",\r\n "title": "Regnum Francorum Online",\r\n "iconFileName": "Regnum.png",\r\n "strapline": "Interactive Maps and Sources of Late Antique and Early Medieval Europe"\r\n}\r\n,\r\n{\r\n "id": "21e48d8ca46f666467b81a551fbb1cb",\r\n "title": "Perseus",\r\n "iconFileName": "Perseus.png",\r\n "strapline": "Annotated occurrences of place entities in texts from the Perseus Digital Library"\r\n}\r\n,\r\n{\r\n "id": "c4c2ed780a8f4f2b698a5c2505ac34ca",\r\n "title": "CLAROS",\r\n "iconFileName": "CLAROS.png",\r\n "strapline": "Aggregated search of art and archaeology data from the classical world and the far east across four millennia"\r\n}\r\n,\r\n{\r\n "id": "739128af1e9613de03706a57cef46976",\r\n "title": "Open Context",\r\n "iconFileName": "open-context.png",\r\n "strapline": "Publications of research data in archaeology and related fields"\r\n}\r\n,\r\n{\r\n "id": "467b9097b55b6e0831fe6760df93e7f2",\r\n "title": "FASTI Online",\r\n "iconFileName": "FASTI.png",\r\n "strapline": "A database of archaeological excavations since the year 2000"\r\n}\r\n,\r\n{\r\n "id": "a306666ae581e8d611d56a1dfdaea256",\r\n "title": "Ure Museum",\r\n "iconFileName": "URE.png",\r\n "strapline": "University Museum of ancient Greek, Egyptian & a little Roman stuff"\r\n}\r\n,\r\n{\r\n "id": "5555ffd0e36e088c25f76b980139851a",\r\n "title": "ORBIS",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "The Stanford Geospatial Network Model of the Roman World"\r\n}\r\n,\r\n{\r\n"id": "4f9bb4e7c0b0c329db0d2696814ffd2d",\r\n "title": "SquinchPix",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "An archive of European imagery"\r\n}\r\n,\r\n{\r\n "id": "77b38b7fc7d81fb278d1c3634638f8ee",\r\n "title": "Sharing Ancient Wisdoms ",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Medieval gnomologia (collections of wise sayings)"\r\n}\r\n,\r\n{\r\n "id": "434fc5aea15f6d39040c1282c4a2df63",\r\n "title": "Portable Antiquities Scheme",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Pleiades URIs appearing within the Portable Antiquities Scheme database"\r\n}\r\n,\r\n{\r\n "id": "9fdb2911bcfc625c87cfce10d97b3de7",\r\n "title": "ORACC",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Open Richly Annotated Cuneiform Corpus"\r\n}\r\n,\r\n{\r\n "id": "7bb4b28758a3607f9b1eea3b48df90a",\r\n "title": "Meketre",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Reliefs and paintings of Middle Kingdom tombs of Ancient Egypt"\r\n}\r\n,\r\n{\r\n "id": "71fd46410b14843985db023501f2f76f",\r\n "title": "The Book of the Dead Project",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "The evolution of the ancient egyptian Book of the Dead"\r\n}\r\n,\r\n{\r\n "id": "e2e0b0b2199b875ff3acdce3f962c128",\r\n "title": "ISAW Papers",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Pleiades URIs appearing in ISAW Papers articles"\r\n}\r\n,\r\n{\r\n "id": "e9e161a08db2906d135d7abefb145636",\r\n "title": "OCRE",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Online Coins of the Roman Empire"\r\n}\r\n]\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n'}),define("lib/jquery_pagination",["jquery"],function(e){(function(e){e.PaginationCalculator=function(e,t){this.maxentries=e,this.opts=t},e.extend(e.PaginationCalculator.prototype,{numPages:function(){return Math.ceil(this.maxentries/this.opts.items_per_page)},getInterval:function(e){var t=Math.floor(this.opts.num_display_entries/2),n=this.numPages(),r=n-this.opts.num_display_entries,i=e>t?Math.max(Math.min(e-t,r),0):0,s=e>t?Math.min(e+t+this.opts.num_display_entries%2,n):Math.min(this.opts.num_display_entries,n);return{start:i,end:s}}}),e.PaginationRenderers={},e.PaginationRenderers.defaultRenderer=function(t,n){this.maxentries=t,this.opts=n,this.pc=new e.PaginationCalculator(t,n)},e.extend(e.PaginationRenderers.defaultRenderer.prototype,{createLink:function(t,n,r){var i,s=this.pc.numPages();return t=t<0?0:t"+r.text+""):i=e(""+r.text+"").attr("href",this.opts.link_to.replace(/__id__/,t)),r.classes&&i.addClass(r.classes),i.data("page_id",t),i},appendRange:function(e,t,n,r,i){var s;for(s=n;s
View info
',place.widgetID=widgetContext.widgetID,t[e]=place});var n={place:t,widgetContext:widgetContext,searchString:searchString},r=Handlebars.templates.search_results(n);$("#"+widgetContext.widgetID+"-search-results").append(r),$(".pelagios .list-results li").css("background-image","url("+widgetContext.imageDir+"place_type_icons/unknown.png)");var i={temple:"temple.png",santuary:"sanctuary.png",river:"river.png","water-open":"river.png",mountain:"mountain.png",island:"island.png",tribe:"tribe.png",settlement:"settlement.png",urban:"settlement.png",people:"people.png",aqueduct:"aqueduct.png",cape:"cape.png",mine:"mine.png",station:"port.png",road:"road.png",villa:"villa.png",wall:"wall.png",province:"people.png"};$.each(i,function(e,t){$(".pelagios .list-results li."+e).css("background-image","url("+widgetContext.imageDir+"place_type_icons/"+t+")")}),widgetContext.displayMap&&(searchMap=new search_map.SearchMap(widgetContext.widgetID+"-search-map_canvas")),$.each(t,function(e,t){widgetContext.displayMap&&searchMap.addMarker(t.geojson,t.label,t.content,function(){s(t.pleiadesID)}),$("#"+widgetContext.widgetID+"-place-"+t.pleiadesID).click(function(){s(t.pleiadesID)})});function s(e){$(".pelagios-search-result-list li").css("text-decoration","none"),$(".pelagios-search-result-list li").css("font-weight","normal"),$("#"+widgetContext.widgetID+"-place-"+e).css("text-decoration","underline"),$("#"+widgetContext.widgetID+"-place-"+e).css("font-weight","bold"),displayPlace(e)}showSearchResults()}else $("#"+widgetContext.widgetID+"-search-results").append("";\n foundHelper = helpers.strapline;\n stack1 = foundHelper || depth0.strapline;\n if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); }\n else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "strapline", { hash: {} }); }\n buffer += escapeExpression(stack1) + "
\\r\\nThe flickr photos shown here are those which have been given a Pleiades machine tag specifying this place.
\\r\\n";\n return buffer;});\n})();'}),define("lib/text!template/pleiades.tmpl",[],function(){return'(function() {\n var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {};\ntemplates[\'pleiades\'] = template(function (Handlebars,depth0,helpers,partials,data) {\n helpers = helpers || Handlebars.helpers;\n var buffer = "", stack1, stack2, foundHelper, tmp1, self=this, functionType="function", helperMissing=helpers.helperMissing, undef=void 0, escapeExpression=this.escapeExpression;\n\nfunction program1(depth0,data) {\n \n var buffer = "", stack1;\n buffer += "\\r\\nSome alternative names: ";\n foundHelper = helpers.altNames;\n stack1 = foundHelper || depth0.altNames;\n if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); }\n else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "altNames", { hash: {} }); }\n buffer += escapeExpression(stack1) + " (the results below are for all alternative names)
\\r\\n ";\n return buffer;}\n\nfunction program3(depth0,data) {\n \n var buffer = "", stack1;\n buffer += " \\r\\n";\n foundHelper = helpers.description;\n stack1 = foundHelper || depth0.description;\n if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); }\n else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "description", { hash: {} }); }\n buffer += escapeExpression(stack1) + "
\\r\\n ";\n foundHelper = helpers.altNames;\n stack1 = foundHelper || depth0.altNames;\n stack2 = helpers[\'if\'];\n tmp1 = self.program(1, program1, data);\n tmp1.hash = {};\n tmp1.fn = tmp1;\n tmp1.inverse = self.noop;\n stack1 = stack2.call(depth0, stack1, tmp1);\n if(stack1 || stack1 === 0) { buffer += stack1; }\n buffer += "\\r\\n ";\n foundHelper = helpers.widgetContext;\n stack1 = foundHelper || depth0.widgetContext;\n stack1 = (stack1 === null || stack1 === undefined || stack1 === false ? stack1 : stack1.displayMap);\n stack2 = helpers[\'if\'];\n tmp1 = self.program(3, program3, data);\n tmp1.hash = {};\n tmp1.fn = tmp1;\n tmp1.inverse = self.noop;\n stack1 = stack2.call(depth0, stack1, tmp1);\n if(stack1 || stack1 === 0) { buffer += stack1; }\n buffer += "\\r\\n \\r\\n";\n foundHelper = helpers.msg;\n stack1 = foundHelper || depth0.msg;\n if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); }\n else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "msg", { hash: {} }); }\n buffer += escapeExpression(stack1) + "
\\r\\n";\n return buffer;});\n})();'}),define("lib/text!template/search.tmpl",[],function(){return'(function() {\n var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {};\ntemplates[\'search\'] = template(function (Handlebars,depth0,helpers,partials,data) {\n helpers = helpers || Handlebars.helpers;\n var buffer = "", stack1, foundHelper, self=this, functionType="function", helperMissing=helpers.helperMissing, undef=void 0, escapeExpression=this.escapeExpression;\n\n\n buffer += "Geographic Results for: ";\n foundHelper = helpers.searchString;\n stack1 = foundHelper || depth0.searchString;\n if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); }\n else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "searchString", { hash: {} }); }\n buffer += escapeExpression(stack1) + "
\\r\\n \\r\\nList Results for: ";\n foundHelper = helpers.searchString;\n stack1 = foundHelper || depth0.searchString;\n if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); }\n else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "searchString", { hash: {} }); }\n buffer += escapeExpression(stack1) + "\\r\\n
This widget displays data from the Pelagios project partners about the location specified.
\\r\\nView the Pelagios website\\r\\n for more information.\\r\\n ";});\n})();'}),define("lib/text!app/dataset.json",[],function(){return'[{\r\n "id": "b47df24737cd647789c7d61ede9fed09",\r\n "iconFileName": "arachne.png",\r\n "title": "Arachne",\r\n "strapline": "A web research tool of the German Archaeological Institute for searching mass archaeological records"\r\n},\r\n{\r\n "id": "6a39d0bc3c0fd4ef7d2a837b42cf46a1",\r\n "title": "Google Ancient Places",\r\n "iconFileName": "gap_logo.png",\r\n "strapline": "A Geographic Annotation Platform for reading texts spatially"\r\n}\r\n,\r\n{\r\n "id": "2db51c1dd976f01bf993a02f959e18f8",\r\n "title": "nomisma",\r\n "iconFileName": "Greek.jpeg",\r\n "strapline": "Representing ancient coins online"\r\n}\r\n,\r\n{\r\n "id": "298fafd65586643149e8a8ba47b57052",\r\n "title": "SPQR",\r\n "iconFileName": "SPQR.png",\r\n "strapline": "From Roman inscriptions to resource descriptions"\r\n}\r\n,\r\n{\r\n "id": "",\r\n "title": "Regnum Francorum Online",\r\n "iconFileName": "Regnum.png",\r\n "strapline": "Interactive Maps and Sources of Late Antique and Early Medieval Europe"\r\n}\r\n,\r\n{\r\n "id": "21e48d8ca46f666467b81a551fbb1cb",\r\n "title": "Perseus",\r\n "iconFileName": "Perseus.png",\r\n "strapline": "Annotated occurrences of place entities in texts from the Perseus Digital Library"\r\n}\r\n,\r\n{\r\n "id": "c4c2ed780a8f4f2b698a5c2505ac34ca",\r\n "title": "CLAROS",\r\n "iconFileName": "CLAROS.png",\r\n "strapline": "Aggregated search of art and archaeology data from the classical world and the far east across four millennia"\r\n}\r\n,\r\n{\r\n "id": "739128af1e9613de03706a57cef46976",\r\n "title": "Open Context",\r\n "iconFileName": "open-context.png",\r\n "strapline": "Publications of research data in archaeology and related fields"\r\n}\r\n,\r\n{\r\n "id": "467b9097b55b6e0831fe6760df93e7f2",\r\n "title": "FASTI Online",\r\n "iconFileName": "FASTI.png",\r\n "strapline": "A database of archaeological excavations since the year 2000"\r\n}\r\n,\r\n{\r\n "id": "a306666ae581e8d611d56a1dfdaea256",\r\n "title": "Ure Museum",\r\n "iconFileName": "URE.png",\r\n "strapline": "University Museum of ancient Greek, Egyptian & a little Roman stuff"\r\n}\r\n,\r\n{\r\n "id": "5555ffd0e36e088c25f76b980139851a",\r\n "title": "ORBIS",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "The Stanford Geospatial Network Model of the Roman World"\r\n}\r\n,\r\n{\r\n"id": "4f9bb4e7c0b0c329db0d2696814ffd2d",\r\n "title": "SquinchPix",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "An archive of European imagery"\r\n}\r\n,\r\n{\r\n "id": "77b38b7fc7d81fb278d1c3634638f8ee",\r\n "title": "Sharing Ancient Wisdoms ",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Medieval gnomologia (collections of wise sayings)"\r\n}\r\n,\r\n{\r\n "id": "434fc5aea15f6d39040c1282c4a2df63",\r\n "title": "Portable Antiquities Scheme",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Pleiades URIs appearing within the Portable Antiquities Scheme database"\r\n}\r\n,\r\n{\r\n "id": "9fdb2911bcfc625c87cfce10d97b3de7",\r\n "title": "ORACC",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Open Richly Annotated Cuneiform Corpus"\r\n}\r\n,\r\n{\r\n "id": "7bb4b28758a3607f9b1eea3b48df90a",\r\n "title": "Meketre",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Reliefs and paintings of Middle Kingdom tombs of Ancient Egypt"\r\n}\r\n,\r\n{\r\n "id": "71fd46410b14843985db023501f2f76f",\r\n "title": "The Book of the Dead Project",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "The evolution of the ancient egyptian Book of the Dead"\r\n}\r\n,\r\n{\r\n "id": "e2e0b0b2199b875ff3acdce3f962c128",\r\n "title": "ISAW Papers",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Pleiades URIs appearing in ISAW Papers articles"\r\n}\r\n]\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n'}),define("lib/jquery_pagination",["jquery"],function(e){(function(e){e.PaginationCalculator=function(e,t){this.maxentries=e,this.opts=t},e.extend(e.PaginationCalculator.prototype,{numPages:function(){return Math.ceil(this.maxentries/this.opts.items_per_page)},getInterval:function(e){var t=Math.floor(this.opts.num_display_entries/2),n=this.numPages(),r=n-this.opts.num_display_entries,i=e>t?Math.max(Math.min(e-t,r),0):0,s=e>t?Math.min(e+t+this.opts.num_display_entries%2,n):Math.min(this.opts.num_display_entries,n);return{start:i,end:s}}}),e.PaginationRenderers={},e.PaginationRenderers.defaultRenderer=function(t,n){this.maxentries=t,this.opts=n,this.pc=new e.PaginationCalculator(t,n)},e.extend(e.PaginationRenderers.defaultRenderer.prototype,{createLink:function(t,n,r){var i,s=this.pc.numPages();return t=t<0?0:t"+r.text+""):i=e(""+r.text+"").attr("href",this.opts.link_to.replace(/__id__/,t)),r.classes&&i.addClass(r.classes),i.data("page_id",t),i},appendRange:function(e,t,n,r,i){var s;for(s=n;s
View info
',place.widgetID=widgetContext.widgetID,t[e]=place});var n={place:t,widgetContext:widgetContext,searchString:searchString},r=Handlebars.templates.search_results(n);$("#"+widgetContext.widgetID+"-search-results").append(r),$(".pelagios .list-results li").css("background-image","url("+widgetContext.imageDir+"place_type_icons/unknown.png)");var i={temple:"temple.png",santuary:"sanctuary.png",river:"river.png","water-open":"river.png",mountain:"mountain.png",island:"island.png",tribe:"tribe.png",settlement:"settlement.png",urban:"settlement.png",people:"people.png",aqueduct:"aqueduct.png",cape:"cape.png",mine:"mine.png",station:"port.png",road:"road.png",villa:"villa.png",wall:"wall.png",province:"people.png"};$.each(i,function(e,t){$(".pelagios .list-results li."+e).css("background-image","url("+widgetContext.imageDir+"place_type_icons/"+t+")")}),widgetContext.displayMap&&(searchMap=new search_map.SearchMap(widgetContext.widgetID+"-search-map_canvas")),$.each(t,function(e,t){widgetContext.displayMap&&searchMap.addMarker(t.geojson,t.label,t.content,function(){s(t.pleiadesID)}),$("#"+widgetContext.widgetID+"-place-"+t.pleiadesID).click(function(){s(t.pleiadesID)})});function s(e){$(".pelagios-search-result-list li").css("text-decoration","none"),$(".pelagios-search-result-list li").css("font-weight","normal"),$("#"+widgetContext.widgetID+"-place-"+e).css("text-decoration","underline"),$("#"+widgetContext.widgetID+"-place-"+e).css("font-weight","bold"),displayPlace(e)}showSearchResults()}else $("#"+widgetContext.widgetID+"-search-results").append("";\n foundHelper = helpers.strapline;\n stack1 = foundHelper || depth0.strapline;\n if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); }\n else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "strapline", { hash: {} }); }\n buffer += escapeExpression(stack1) + "
\\r\\nThe flickr photos shown here are those which have been given a Pleiades machine tag specifying this place.
\\r\\n";\n return buffer;});\n})();'}),define("lib/text!template/pleiades.tmpl",[],function(){return'(function() {\n var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {};\ntemplates[\'pleiades\'] = template(function (Handlebars,depth0,helpers,partials,data) {\n helpers = helpers || Handlebars.helpers;\n var buffer = "", stack1, stack2, foundHelper, tmp1, self=this, functionType="function", helperMissing=helpers.helperMissing, undef=void 0, escapeExpression=this.escapeExpression;\n\nfunction program1(depth0,data) {\n \n var buffer = "", stack1;\n buffer += "\\r\\nSome alternative names: ";\n foundHelper = helpers.altNames;\n stack1 = foundHelper || depth0.altNames;\n if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); }\n else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "altNames", { hash: {} }); }\n buffer += escapeExpression(stack1) + " (the results below are for all alternative names)
\\r\\n ";\n return buffer;}\n\nfunction program3(depth0,data) {\n \n var buffer = "", stack1;\n buffer += " \\r\\n";\n foundHelper = helpers.description;\n stack1 = foundHelper || depth0.description;\n if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); }\n else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "description", { hash: {} }); }\n buffer += escapeExpression(stack1) + "
\\r\\n ";\n foundHelper = helpers.altNames;\n stack1 = foundHelper || depth0.altNames;\n stack2 = helpers[\'if\'];\n tmp1 = self.program(1, program1, data);\n tmp1.hash = {};\n tmp1.fn = tmp1;\n tmp1.inverse = self.noop;\n stack1 = stack2.call(depth0, stack1, tmp1);\n if(stack1 || stack1 === 0) { buffer += stack1; }\n buffer += "\\r\\n ";\n foundHelper = helpers.widgetContext;\n stack1 = foundHelper || depth0.widgetContext;\n stack1 = (stack1 === null || stack1 === undefined || stack1 === false ? stack1 : stack1.displayMap);\n stack2 = helpers[\'if\'];\n tmp1 = self.program(3, program3, data);\n tmp1.hash = {};\n tmp1.fn = tmp1;\n tmp1.inverse = self.noop;\n stack1 = stack2.call(depth0, stack1, tmp1);\n if(stack1 || stack1 === 0) { buffer += stack1; }\n buffer += "\\r\\n \\r\\n";\n foundHelper = helpers.msg;\n stack1 = foundHelper || depth0.msg;\n if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); }\n else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "msg", { hash: {} }); }\n buffer += escapeExpression(stack1) + "
\\r\\n";\n return buffer;});\n})();'}),define("lib/text!template/search.tmpl",[],function(){return'(function() {\n var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {};\ntemplates[\'search\'] = template(function (Handlebars,depth0,helpers,partials,data) {\n helpers = helpers || Handlebars.helpers;\n var buffer = "", stack1, foundHelper, self=this, functionType="function", helperMissing=helpers.helperMissing, undef=void 0, escapeExpression=this.escapeExpression;\n\n\n buffer += "Geographic Results for: ";\n foundHelper = helpers.searchString;\n stack1 = foundHelper || depth0.searchString;\n if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); }\n else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "searchString", { hash: {} }); }\n buffer += escapeExpression(stack1) + "
\\r\\n \\r\\nList Results for: ";\n foundHelper = helpers.searchString;\n stack1 = foundHelper || depth0.searchString;\n if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); }\n else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "searchString", { hash: {} }); }\n buffer += escapeExpression(stack1) + "\\r\\n
This widget displays data from the Pelagios project partners about the location specified.
\\r\\nView the Pelagios website\\r\\n for more information.\\r\\n ";});\n})();'}),define("lib/text!app/dataset.json",[],function(){return'[{\r\n "id": "b47df24737cd647789c7d61ede9fed09",\r\n "iconFileName": "arachne.png",\r\n "title": "Arachne",\r\n "strapline": "A web research tool of the German Archaeological Institute for searching mass archaeological records"\r\n},\r\n{\r\n "id": "6a39d0bc3c0fd4ef7d2a837b42cf46a1",\r\n "title": "Google Ancient Places",\r\n "iconFileName": "gap_logo.png",\r\n "strapline": "A Geographic Annotation Platform for reading texts spatially"\r\n}\r\n,\r\n{\r\n "id": "2db51c1dd976f01bf993a02f959e18f8",\r\n "title": "nomisma",\r\n "iconFileName": "Greek.jpeg",\r\n "strapline": "Representing ancient coins online"\r\n}\r\n,\r\n{\r\n "id": "298fafd65586643149e8a8ba47b57052",\r\n "title": "SPQR",\r\n "iconFileName": "SPQR.png",\r\n "strapline": "From Roman inscriptions to resource descriptions"\r\n}\r\n,\r\n{\r\n "id": "",\r\n "title": "Regnum Francorum Online",\r\n "iconFileName": "Regnum.png",\r\n "strapline": "Interactive Maps and Sources of Late Antique and Early Medieval Europe"\r\n}\r\n,\r\n{\r\n "id": "21e48d8ca46f666467b81a551fbb1cb",\r\n "title": "Perseus",\r\n "iconFileName": "Perseus.png",\r\n "strapline": "Annotated occurrences of place entities in texts from the Perseus Digital Library"\r\n}\r\n,\r\n{\r\n "id": "c4c2ed780a8f4f2b698a5c2505ac34ca",\r\n "title": "CLAROS",\r\n "iconFileName": "CLAROS.png",\r\n "strapline": "Aggregated search of art and archaeology data from the classical world and the far east across four millennia"\r\n}\r\n,\r\n{\r\n "id": "739128af1e9613de03706a57cef46976",\r\n "title": "Open Context",\r\n "iconFileName": "open-context.png",\r\n "strapline": "Publications of research data in archaeology and related fields"\r\n}\r\n,\r\n{\r\n "id": "467b9097b55b6e0831fe6760df93e7f2",\r\n "title": "FASTI Online",\r\n "iconFileName": "FASTI.png",\r\n "strapline": "A database of archaeological excavations since the year 2000"\r\n}\r\n,\r\n{\r\n "id": "a306666ae581e8d611d56a1dfdaea256",\r\n "title": "Ure Museum",\r\n "iconFileName": "URE.png",\r\n "strapline": "University Museum of ancient Greek, Egyptian & a little Roman stuff"\r\n}\r\n,\r\n{\r\n "id": "5555ffd0e36e088c25f76b980139851a",\r\n "title": "ORBIS",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "The Stanford Geospatial Network Model of the Roman World"\r\n}\r\n,\r\n{\r\n"id": "4f9bb4e7c0b0c329db0d2696814ffd2d",\r\n "title": "SquinchPix",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "An archive of European imagery"\r\n}\r\n,\r\n{\r\n "id": "77b38b7fc7d81fb278d1c3634638f8ee",\r\n "title": "Sharing Ancient Wisdoms ",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Medieval gnomologia (collections of wise sayings)"\r\n}\r\n,\r\n{\r\n "id": "434fc5aea15f6d39040c1282c4a2df63",\r\n "title": "Portable Antiquities Scheme",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Pleiades URIs appearing within the Portable Antiquities Scheme database"\r\n}\r\n,\r\n{\r\n "id": "9fdb2911bcfc625c87cfce10d97b3de7",\r\n "title": "ORACC",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Open Richly Annotated Cuneiform Corpus"\r\n}\r\n,\r\n{\r\n "id": "7bb4b28758a3607f9b1eea3b48df90a",\r\n "title": "Meketre",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Reliefs and paintings of Middle Kingdom tombs of Ancient Egypt"\r\n}\r\n,\r\n{\r\n "id": "71fd46410b14843985db023501f2f76f",\r\n "title": "The Book of the Dead Project",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "The evolution of the ancient egyptian Book of the Dead"\r\n}\r\n,\r\n{\r\n "id": "e2e0b0b2199b875ff3acdce3f962c128",\r\n "title": "ISAW Papers",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Pleiades URIs appearing in ISAW Papers articles"\r\n}\r\n,\r\n{\r\n "id": "e9e161a08db2906d135d7abefb145636",\r\n "title": "OCRE",\r\n "iconFileName": "pelagios.png",\r\n "strapline": "Online Coins of the Roman Empire"\r\n}\r\n]\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n'}),define("lib/jquery_pagination",["jquery"],function(e){(function(e){e.PaginationCalculator=function(e,t){this.maxentries=e,this.opts=t},e.extend(e.PaginationCalculator.prototype,{numPages:function(){return Math.ceil(this.maxentries/this.opts.items_per_page)},getInterval:function(e){var t=Math.floor(this.opts.num_display_entries/2),n=this.numPages(),r=n-this.opts.num_display_entries,i=e>t?Math.max(Math.min(e-t,r),0):0,s=e>t?Math.min(e+t+this.opts.num_display_entries%2,n):Math.min(this.opts.num_display_entries,n);return{start:i,end:s}}}),e.PaginationRenderers={},e.PaginationRenderers.defaultRenderer=function(t,n){this.maxentries=t,this.opts=n,this.pc=new e.PaginationCalculator(t,n)},e.extend(e.PaginationRenderers.defaultRenderer.prototype,{createLink:function(t,n,r){var i,s=this.pc.numPages();return t=t<0?0:t"+r.text+""):i=e(""+r.text+"").attr("href",this.opts.link_to.replace(/__id__/,t)),r.classes&&i.addClass(r.classes),i.data("page_id",t),i},appendRange:function(e,t,n,r,i){var s;for(s=n;s
View info
',place.widgetID=widgetContext.widgetID,t[e]=place});var n={place:t,widgetContext:widgetContext,searchString:searchString},r=Handlebars.templates.search_results(n);$("#"+widgetContext.widgetID+"-search-results").append(r),$(".pelagios .list-results li").css("background-image","url("+widgetContext.imageDir+"place_type_icons/unknown.png)");var i={temple:"temple.png",santuary:"sanctuary.png",river:"river.png","water-open":"river.png",mountain:"mountain.png",island:"island.png",tribe:"tribe.png",settlement:"settlement.png",urban:"settlement.png",people:"people.png",aqueduct:"aqueduct.png",cape:"cape.png",mine:"mine.png",station:"port.png",road:"road.png",villa:"villa.png",wall:"wall.png",province:"people.png"};$.each(i,function(e,t){$(".pelagios .list-results li."+e).css("background-image","url("+widgetContext.imageDir+"place_type_icons/"+t+")")}),widgetContext.displayMap&&(searchMap=new search_map.SearchMap(widgetContext.widgetID+"-search-map_canvas")),$.each(t,function(e,t){widgetContext.displayMap&&searchMap.addMarker(t.geojson,t.label,t.content,function(){s(t.pleiadesID)}),$("#"+widgetContext.widgetID+"-place-"+t.pleiadesID).click(function(){s(t.pleiadesID)})});function s(e){$(".pelagios-search-result-list li").css("text-decoration","none"),$(".pelagios-search-result-list li").css("font-weight","normal"),$("#"+widgetContext.widgetID+"-place-"+e).css("text-decoration","underline"),$("#"+widgetContext.widgetID+"-place-"+e).css("font-weight","bold"),displayPlace(e)}showSearchResults()}else $("#"+widgetContext.widgetID+"-search-results").append("