<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
There you have it.<br>
<br>
I imported about 40 public wifi hotspots records from Genova, plus
inserted an invented one in Rome.<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a
href="http://devmap.openwifimap.net/#map?bbox=-4.039617826768424,-95.80078125,64.92354174306496,129.19921875">http://devmap.openwifimap.net/#map?bbox=-4.039617826768424,-95.80078125,64.92354174306496,129.19921875</a><br>
<br>
When I change something on my application, your DB is synced. Except
for the delete operation which does not seem contemplated by your
application because from what i've understood nodes should get
pushed daily.<br>
<br>
But that would not be a problem too, since the synchronizer might be
tweaked to do that and run daily.<br>
<br>
Here's the code i had to write to make this work:<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a
href="https://github.com/nemesisdesign/nodeshot/commit/058a7612fd36ad066853fe998c3acedab5dddddd">https://github.com/nemesisdesign/nodeshot/commit/058a7612fd36ad066853fe998c3acedab5dddddd</a><br>
<br>
Some more code would be needed to cover all the possible cases, but
I think you guys got my point.<br>
<br>
It works like this:<br>
<ul>
<li>data might to be pulled and synced from an external source
regularly (JSON, XML, whatever)</li>
<li>data might be pushed and synced to an external source
regularly (RESTful API)</li>
<li>as data changes locally, the external db might be synced too,
methods to implement are: add, change, delete</li>
<li>as data changes externally, it might sync the local database
too if the webapp implements a similar mechanism<br>
</li>
</ul>
2 completely different APIs but still interoperable.<br>
Not rocket science, not extremely smart, but doable in a short
amount of time. I think it would be good as a starting point.<br>
<br>
Federico<br>
<br>
<br>
<br>
Il 07/31/2013 10:40 AM, André Gaul ha scritto:<br>
<blockquote type="cite">Hey Federico,<br>
<br>
Am 30.07.2013 18:03, schrieb Federico Capoano:<br>
> thank you. Is there a chance I can have a testing layer on
which<br>
> to perform some quick tests without having to install it
locally?<br>
<br>
absolutely! I just set up a fresh openwifimap-dev db:<br>
<a class="moz-txt-link-freetext" href="https://openwifimap.iriscouch.com/_utils/database.html?openwifimap-dev">https://openwifimap.iriscouch.com/_utils/database.html?openwifimap-dev</a><br>
<br>
The API URL is<br>
<a class="moz-txt-link-freetext" href="http://devapi.openwifimap.net/">http://devapi.openwifimap.net/</a><br>
and a map using this API is<br>
<a class="moz-txt-link-freetext" href="http://devmap.openwifimap.net/">http://devmap.openwifimap.net/</a><br>
<br>
I pushed one node s.t. the map isn't empty ;). Feel free to do<br>
whatever you want in the openwifimap-dev db.<br>
<br>
And please keep us up-to-date on the progress.<br>
<br>
ciao,<br>
André<br>
<br>
<br>
<br>
</blockquote>
<span style="white-space: pre;">><br>
> _______________________________________________<br>
> Interop-dev mailing list<br>
> <a class="moz-txt-link-abbreviated" href="mailto:Interop-dev@lists.funkfeuer.at">Interop-dev@lists.funkfeuer.at</a><br>
> <a class="moz-txt-link-freetext" href="https://lists.funkfeuer.at/mailman/listinfo/interop-dev">https://lists.funkfeuer.at/mailman/listinfo/interop-dev</a><br>
></span><br>
<br>
-- <br>
<br>
*Federico Capoano*<br>
Web Designer & Web Developer<br>
Portfolio/Blog: nemesisdesign.net <a class="moz-txt-link-rfc2396E" href="http://nemesisdesign.net"><http://nemesisdesign.net></a><br>
Twitter: @nemesisdesign <a class="moz-txt-link-rfc2396E" href="http://twitter.com/nemesisdesign/"><http://twitter.com/nemesisdesign/></a><br>
PGP Key ID: 308BD46E<br>
<br>
</body>
</html>