source: spip-zone/_plugins_/jsonp-gis/jsonpgis_all.html @ 117558

Last change on this file since 117558 was 57831, checked in by berio@…, 8 years ago

First Commit plugin Jsonp Gis.
It generates two jsonp for geolocated articles.
The first one gets all articles and shows just its id, latitude and longitude.
The second ont gets all info related to a given article.
This plugin is useful for loading a lot of markers when we are in a crossbrowsing context.

File size: 400 bytes
Line 
1[(#SET{limit, [(#ENV{limit}|sinon{9999})]})][(#HTTP_HEADER{Content-Type: application/json[; charset=(#CHARSET)]})][(#ENV{callback}|oui)[(#ENV{callback})(]][<BOUCLE_e(ARTICLES){id_rubrique ?}{id_mot ?}{id_auteur ?}{recherche ?}{par date}{inverse}{0,#GET{limit}}{','}>{<BOUCLE_gis(GIS){id_article}>["lat": "(#LAT)",]["lon": "(#LONX)",]</BOUCLE_gis>"id":"#ID_ARTICLE"}</BOUCLE_e>][(#ENV{callback}|oui))]
Note: See TracBrowser for help on using the repository browser.