Re: [thredds] XHTML in documentation element

  • To: Egil Støren <egils@xxxxxx>
  • Subject: Re: [thredds] XHTML in documentation element
  • From: Christian Ward-Garrison <cwardgar@xxxxxxxx>
  • Date: Tue, 10 Apr 2018 23:50:29 -0600
Hi Egil,

The THREDDS doc is *technically* correct: you can include arbitrary XHTML
in a documentation element and it will be displayed in the dataset summary
page. However, the XHTML will be escaped [1] first, probably to prevent
users from accidentally breaking the page. Frankly, I'm not sure why you'd
ever *want* to include (escaped) XHTML, but there you go.

Cheers,
Christian

[1] https://stackoverflow.com/questions/7381974

On Tue, Apr 10, 2018 at 5:03 AM, Egil Støren <egils@xxxxxx> wrote:

> Hi,
>
> According to the thredds documentation, the documentation element may
> contain arbitrary plain text content, or XHTML (see
> https://www.unidata.ucar.edu/software/thredds/v4.6/tds/
> catalog/InvCatalogSpec.html#documentation). I have tried xhtml without
> any success. Can someone provide an example on how this can be done?
>
> Best regards,
>
>    Egil Støren
>    MET Norway
>
>
> _______________________________________________
> NOTE: All exchanges posted to Unidata maintained email lists are
> recorded in the Unidata inquiry tracking system and made publicly
> available through the web.  Users who post to any of the lists we
> maintain are reminded to remove any personal information that they
> do not want to be made public.
>
>
> thredds mailing list
> thredds@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit:
> http://www.unidata.ucar.edu/mailing_lists/
>
  • 2018 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: