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