<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thank you for the feedback.<div><br></div><div>After research, and lot of useful information from Diva, it appears that:</div><div><br></div><div>1°<span class="Apple-tab-span" style="white-space:pre"> </span><a href="http://speculoos.net:8002/">http://speculoos.net:8002/</a> Agora</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>is the canonical form (official, and all other schemes are converted to this one, inside opensim, before being processed)</div><div><span class="Apple-tab-span" style="white-space:pre"> </span></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>So it should work in map search as is. It works for me. And it works also as is in osTeleport functions.</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>I noticed that removing the space produces errors. But this could be viewer-dependant.</div><div><span class="Apple-tab-span" style="white-space:pre"> </span></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>Actually, the space can not be removed when using this form (host + : + port + /):</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>as I understood, using a "root-level" url is not a specification. Though I don't know such cases, the gatekeeper uri could -- technically -- be something like <a href="http://domain:port/gatekeeper.php?scope=123&pref=abc">http://domain:port/gatekeeper.php?scope=123&pref=abc</a>. Something is needed between the url and the parameter. And it happens to be a space.</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>And, as official standard, every viewer **should** handle this form, with space</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>(note that in canonical form, spaces in region name are replaced with an underscore, as you see in OpenSim.ini)</div><div><br></div><div>2°<span class="Apple-tab-span" style="white-space:pre"> </span><a href="secondlife://http%3A%2F%2Fspeculoos.net%3A8002%2F%20Agora/128/128/">secondlife://http%3A%2F%2Fspeculoos.net%3A8002%2F%20Agora/128/128/</a></div><div><span class="Apple-tab-span" style="white-space: pre; "> </span>(yes, it's ugly!)</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>this is the "official form" to obtain a link in that and on the web is the url-encoded canonical form, with secondlife:// prefixed and /X/Y/ or /X/Y/Z/ suffixed.</div><div><span class="Apple-tab-span" style="white-space:pre"> </span></div><div>3°<span class="Apple-tab-span" style="white-space:pre"> </span>secondlife://speculoos.net:8002:Agora/ or <a href="secondlife://speculoos.net:8002:Agora/X/Y/Z/">secondlife://speculoos.net:8002:Agora/X/Y/Z/</a></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>is a simplified, and also working form, working in chat and on the web.</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>(by far my favorite)</div><div><br></div><div>4°<span class="Apple-tab-span" style="white-space:pre"> </span>speculoos.net:8002:Agora</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>is "nothing" but the stripped previous form, but it works (for me) with map search and osTeleport functions.</div><div><br></div><div>5°<span class="Apple-tab-span" style="white-space:pre"> </span>There are issues with Viewer 3, which does not handle any of these forms for HG url. Tweaks do exists, but it's out of scope to include it in function, can be made from the script.</div><div><br></div><div>My own feeling would be to implement only the last one, as it's enough for map search, teleport functions and web links.</div><div>However, </div><div><span class="Apple-tab-span" style="white-space:pre"> </span>- If a function exists to output an url, being able to handle the canonical form is not an option, even it it's not web-compliant.</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>- URL/URI standards include the handler (http:// or secondlife://). So if a function requests an URL, it should include the correct url handler.</div><div><br></div><div>So, I eventually made 3 output formats for addresses:</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>LANDMARK_URL<span class="Apple-tab-span" style="white-space:pre"> </span>(<a href="secondlife://speculoos.net:8002:Agora/">secondlife://speculoos.net:8002:Agora/</a>)</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>LANDMARK_ADDRESS<span class="Apple-tab-span" style="white-space:pre"> </span>(speculoos.net:8002:Agora)</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>LANDMARK_MAPSEARCH<span class="Apple-tab-span" style="white-space:pre"> </span>(<a href="http://speculoos.net:8002/">http://speculoos.net:8002/</a> Agora)</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>(which I should probably rename "LANDMARK_CANONICAL")</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span></div><div><div apple-content-edited="true">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>--</div><div><a href="http://www.speculoos.net/">http://www.speculoos.net/</a></div><div><a href="secondlife://speculoos.net:8002/">secondlife://speculoos.net:8002/</a></div><div>Speculoos, the belgian cookie-flavored metaverse</div></div></span></div></span></div></span></div></span></div>
</div>
<br><div><div>Le 17 mars 2012 à 00:03, Jeff Kelley a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>At 6:35 PM +0100 3/13/12, Gudule Lapointe wrote:<br><br><blockquote type="cite">Now, it's time to choose the format of the URL ;-)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre"> </span>speculoos.net:8002:Agora<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre"> </span><a href="http://speculoos.net:8002/">http://speculoos.net:8002/</a> Agora<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre"> </span><a href="secondlife://speculoos.net:8002:Agora/">secondlife://speculoos.net:8002:Agora/</a><br></blockquote><br><br>Form 3 is nice for sharing since it is active (clickable) in almost any<br>text engine: web, mail, instant mesages, even plain text files. We should<br>avoid form 2 for this purpose since it will fire the web browser, which is<br>not exactly useful. Form 1 needs an extra copy/paste.<br><br>I use form 1 for LSL (mapDestination, teleportAgent). I strip regionname<br>(matching .*:.*) and prefix with http:// to do a HTTP GET request before<br>jumping. And I would LOVE to get automatically the grid coordinates from<br>the grid server.<br><br>BTW, typing <a href="http://speculoos.net:8002/">http://speculoos.net:8002/</a> Agora (space included) in the map<br>will not link to Agora but with your default region.<br><a href="http://speculoos.net:8002/Agora">http://speculoos.net:8002/Agora</a> will. I see distinct maptiles (but<br>"destination refused").<br>_______________________________________________<br>Opensim-users mailing list<br><a href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br>https://lists.berlios.de/mailman/listinfo/opensim-users<br></div></blockquote></div><br></div></body></html>