<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div><span>Ma il messaggio deve contenere qualcosa?</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;"><span>Che parametri devo trovare sul POST.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;"><span>Lo script come si usa e soprattutto dove si usa?</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0);
 font-size: 16px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;"><span>Scusa ma in materia non ho conoscenze.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;"><span>Grazie</span></div><div><br></div>  <div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font size="2" face="Arial"> <b><span style="font-weight:bold;">Da:</span></b> Cristian Consonni <kikkocristian@gmail.com><br> <b><span style="font-weight: bold;">A:</span></b> openstreetmap list - italiano <talk-it@openstreetmap.org> <br> <b><span style="font-weight: bold;">Inviato:</span></b> Mercoledì 6 Novembre 2013 10:55<br> <b><span style="font-weight: bold;">Oggetto:</span></b> Re: [Talk-it]
 Contattare i mapper di una regione<br> </font> </div> <div class="y_msg_container"><br>Ciao a tutti,<br><br>Ho appena pubblicato su github questo script per ottenere i nomi degli<br>utenti attivi in una certa bounding box (pescati da resultmap di<br>Pascal Neis[1]) e poi spedire una messaggio all'utente stesso.<br><br>Trovate il codice qui (pubblicato nel repo comune OSM Italia):<br><a href="https://github.com/osmItalia/contactmap" target="_blank">https://github.com/osmItalia/contactmap</a><br><br>Per ottenere i vari parametri di configurazione bisogna fare una cosa<br>un po' complicata:<br>* andare su <a href="http://www.openstreetmap.org/message/new/" target="_blank">http://www.openstreetmap.org/message/new/</a>{proprio-nome-utente}<br>* aprire uno strumento di inspect come Firebug<br>(<<a href="http://getfirebug.com/" target="_blank">http://getfirebug.com</a>>) o i Chrome Developer Tools (preinstallati in<br>Chrome/Chromium)<br>* spedirsi un
 messaggio di test<br>* ispezionando la richiesta POST si ottengono i parametri<br><br>I messaggi quindi risulteranno inviati dal proprio utente.<br><br>Se qualcuno ha qualche consiglio per semplificare la trafila di cui<br>sopra (non so, si può usare OAuth per evitare quanto sopra?) sono<br>tutt'orecchi. Magari ne parliamo nella lista dev.<br><br>Ciao,<br><br>Cristian<br><br>[1] <a href="http://resultmaps.neis-one.org/oooc?zoom=14&lat=40.66847&lon=16.5997&layers=00BTFFFFFT" target="_blank">http://resultmaps.neis-one.org/oooc?zoom=14&lat=40.66847&lon=16.5997&layers=00BTFFFFFT</a><br><br>_______________________________________________<br>Talk-it mailing list<br><a ymailto="mailto:Talk-it@openstreetmap.org" href="mailto:Talk-it@openstreetmap.org">Talk-it@openstreetmap.org</a><br><a href="https://lists.openstreetmap.org/listinfo/talk-it" target="_blank">https://lists.openstreetmap.org/listinfo/talk-it</a><br><br><br></div> </div>
 </div>  </div></body></html>