Hello everyone,
I have a question about the Pelagios Place Widget. I embedded it some
time ago on the Book of the Dead project website and now we noticed
that it stopped working. See for example
http://totenbuch.awk.nrw.de/objekt/tm134451 , where the widget icon is
supposed to appear after the value "Theben" behind the label
"Herkunft" (forth row from above).
To embed the widget, I followed the instructions at
http://pelagios.github.io/pelagios-widgets/docs/place.html and checked
that the JS is included at the end of the HTML body to avoid that it
does not find the HTML snippet.
The HTML snippet is created with this XQuery code:
if(exists($pleiadesid)) then <span id="TbPelagiosWidget"
data-pleiades_id="{data($pleiadesid)}" class="pelagios pelagios-place"
title="Pelagios Widget"></span> else()
In the Output HTML, the span is present, but the data-pleiades_id
attribute does not appear at all (in Firefox 30.0 and Chrome 36, as
well):
Theben
<span id="TbPelagiosWidget" class="pelagios pelagios-place"
xmlns="
http://www.w3.org/1999/xhtml"></span>
I checked the variable $pleiadesid and it does contain the right
value. Is this a known problem? Could it be related to the JavaScript
somehow? Or to the XHTML namespace?
Best regards,
Ulrike
--
Cologne Center for eHumanities (CCeH)
Büro: Universitätsstr. 22, Dachgeschoss links