<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.Shkpostityyli17
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 70.85pt 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FI" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Hi Sanna,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">GFI content that is queried from WMS-services has been changed in 1.44.0 with this PR:
<a href="https://github.com/oskariorg/oskari-server/pull/77">https://github.com/oskariorg/oskari-server/pull/77</a>. It basically removes any tags that is NOT listed here:
<a href="https://jsoup.org/apidocs/org/jsoup/safety/Whitelist.html#relaxed--">https://jsoup.org/apidocs/org/jsoup/safety/Whitelist.html#relaxed--</a> from the HTML-response, but seems to keep the text-content inside removed tags (like HTML-title…). Currently
 we think it’s a bit too restrictive and have plans to relax the constraints a bit in 1.45.x or 1.46.x or make this more configurable. In practice this means that for example CSS-style definitions that one might have in GFI HTML-templates are removed before
 they are shown on the user interface. So any customized table header row background color etc will be removed. Using something like <tr bgcolor=”[color]”> will probably work (haven’t tested) but using <style> tags won’t work as they are not part of the whitelist.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">I don’t think there are any new fields added to (or removed from) the layer administration in the last versions so things
 like XSLT are still there. There are some internal changes in capabilities parsing functionalities coming up in 1.45.x, but nothing really that affects users.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Adding layers provided by different servers
<i>should</i> work as long as the capabilities document is parseable by GeoTools 14.2. (current version Oskari uses). Known issues here are capabilities documents that link to schemas that require authentication (and missing schemas). I’m not sure but I think
 at least MapServer does this if the layer requires authentication. Newer version of Geotools can work around this, but we are still in the process of updating the library version. Also having self-signed HTTPS certificates on the WMS-server might be a problem.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">BR,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">       Sami<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Lähettäjä:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Oskari-user [mailto:oskari-user-bounces@lists.osgeo.org]
<b>Puolesta </b>Sanna Jokela<br>
<b>Lähetetty:</b> 17. tammikuuta 2018 14:28<br>
<b>Vastaanottaja:</b> oskari-user@lists.osgeo.org<br>
<b>Kopio:</b> Erno Mäkinen <erno@gispo.fi><br>
<b>Aihe:</b> [Oskari-user] Oskari versions & GFI<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Hi all!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Can you enlighten us if there are some big changes with previous Oskari versions vs. 1.44 version regarding GFI pop-ups? <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">One of our client has older version of Oskari and you can add GFI using XSLT and utilize GeoServer templates in the GFI pop-ups. If they update Oskari to the newer version, should they expect some changes in the admin section when adding
 new interfaces? <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">And another question.Our client is experiencing some problems with adding WMS-datasets from GeoServer and MapServer and we would like to know if there is/has been some difference in Oskari how it handles different interface facilitators
 or are the problems always in the interface? We are tracking down the problems, but some seem to be related to the server side software they are using. So just in case, if there has been issues with Oskari in the past with handling interfaces - it would be
 good to know :)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Also the 1.44. release note says that it will not take the interface GFI templates into account anymore (due to messing up with the UI). <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><i>"Querying map features has been improved, since the infoBox style is no longer dependent on service providers definitions (in practice all possible style definitions in the GetFeatureInfo derived from the called WMS interface are removed) ".</i><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Is it now so that it does not matter what kind of GFI templates you are assembling when creating the interface, if you only want them to be seen through Oskari? Or have I understood something wrong.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks for the answers!<o:p></o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">Sanna Jokela<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt">paikkatietoasiantuntija</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt">Gispo Oy</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt">0407664607</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt"><a href="http://www.gispo.fi" target="_blank">www.gispo.fi</a> </span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>