ioos / erddap-gold-standard

Contains the 'gold standard' ERDDAP configuration, with datasets compliant with IOOS Metadata Profile 1.2
https://standards.sensors.ioos.us/erddap/index.html
8 stars 17 forks source link

ERDDAP setup.xml no longer has some of the previous HTML related tags for styling/configuration of language switcher #23

Closed jacobthompson101 closed 1 year ago

jacobthompson101 commented 2 years ago

I noticed on a recent commit the setup.xml was removed and re-added, but some of the usual HTML related tags were missing. I am not sure if this was intentional and if there are now other places to configure these options, a quick search of the code base did not bring up these previously set variable names.

Bob had recently pushed in version 2.14 the ability to use multilingual tags/shortcodes that are accessible to Google Translate on the fly. One issue is that I can no longer specify the language switcher in the following tag:

&loginInfo; | &language;

See a second example snippet of what I mean below, in terms of ERDDAP customization/styling for different organizations:

<startHeadHtml5><![CDATA[
<!DOCTYPE html>
...
<link href="/erddap/images/erddap2.css" rel="stylesheet" type="text/css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Global site tag (gtag.js) - Google Analytics -->
...
]]></startHeadHtml5>
MathewBiddle commented 2 years ago

I just updated from v2.11 to v2.18 and ran into this as well. A couple things I needed to do:

Since there has been significant changes to datasets.xml and setup.xml since this gold standard repository was created. I think we need to update setup.xml and datasets.xml to reflect those changes and hopefully resolve these issues.