<div dir="ltr"><div dir="ltr"><div dir="ltr">These are great ideas, but don't some the problem of replacing manual markup with a list generated when the page is viewed.<div><br></div><div>This is what am thinking of is for example</div><div><div>(:pagelist filename=*tararua* fileext=gpx fmt=#generateurlmarkup :)</div><div>[[#generateurlmarkup]]</div><div>(:template each:)</div><div>* [[<a href="https://example.com?gpx={=$Filename}.{=$Fileext}">https://example.com?gpx={=$Filename}.{=$Fileext}</a> | {=$Filename}]]</div><div><div style="color:rgb(0,0,0)">[#generateurlmarkup]]</div></div></div><div style="color:rgb(0,0,0)"><br></div><div style="color:rgb(0,0,0)"><br></div><div style="color:rgb(0,0,0)">On a related but different point it would be fantastic if ape could display gpx/kml tracks on OpenStreetMap <a href="https://operations.osmfoundation.org/policies/tiles/">tiles</a>, possibly using <a href="https://leafletjs.com/index.html" style="">https://leafletjs.com/index.html</a> or similar</div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 2 Feb 2020 at 13:21, Petko Yotov <<a href="mailto:5ko@5ko.fr">5ko@5ko.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 01/02/2020 23:26, Simon wrote:<br>
> I have go a number of uploaded files on a wiki page that when clicked <br>
> on I<br>
> want to open with a specific external website with the file name as a<br>
> parameter.<br>
> <br>
> e.g. <a href="https://example.com/displaygpx=example.gpx" rel="noreferrer" target="_blank">https://example.com/displaygpx=example.gpx</a><br>
> <br>
> Has anyone any suggestions on how this could be achieved?<br>
<br>
You mean besides writing the actual links?<br>
<br>
InterMap prefix? In Site.InterMap:<br>
   Gpx:    <a href="https://example.com/displaygpx=" rel="noreferrer" target="_blank">https://example.com/displaygpx=</a><br>
<br>
then in a wiki page<br>
   Gpx:example.gpx<br>
   [[Gpx:example.gpx|click here to view a GPX whatever it might be]]<br>
<br>
<br>
Include section with a parameter?<br>
   [[#gpxlink]]<br>
   [[<a href="https://example.com/displaygpx=%7B$$f%7D%7CReview" rel="noreferrer" target="_blank">https://example.com/displaygpx={$$f}|Review</a> {$$f}]]<br>
   [[#gpxlinkend]]<br>
   (:inlcude #gpxlink f=example.gpx :)<br>
<br>
<br>
Custom markup adapted from (:attachlist:)<br>
   [...someone needs to write it...]<br>
<br>
BTW if it may be possible to add to Cookbook:Ape a way embed the maps <br>
with the traces in your page if the external service allows this.<br>
<br>
Petko<br>
</blockquote></div>