<div dir="ltr"><pre class="gmail-tw-data-text gmail-tw-ta gmail-tw-text-medium" id="gmail-tw-target-text" style="text-align:left;height:72px" dir="ltr"><span style="font-family:arial,helvetica,sans-serif"><span lang="en">I do not know if anyone have one. I have not</span></span></pre><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 17, 2017 at 1:58 PM, Juan Urzúa González <span dir="ltr"><<a href="mailto:juan.urzua@pucv.cl" target="_blank">juan.urzua@pucv.cl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Guilda:<br><br></div><div class="gmail_default" style="font-family:verdana,sans-serif"><span id="m_-7338073408818003589gmail-result_box" class="m_-7338073408818003589gmail-short_text" lang="en"><span class="m_-7338073408818003589gmail-">Is there any </span></span><span id="m_-7338073408818003589gmail-result_box" class="m_-7338073408818003589gmail-short_text" lang="en"><span class="m_-7338073408818003589gmail-">script from "<b><i>Isis to Json</i></b>"</span></span> ???<br><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">regards,<br><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="m_-7338073408818003589gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><img src="https://docs.google.com/uc?export=download&id=0B9BBgCzWdpMmeE81cmM5MjNESzg&revid=0B9BBgCzWdpMmSGVrNHNJNmExQnBJQiswZThzMXpSN3lWZG5JPQ"><br></div></div></div>
<br><div class="gmail_quote">2017-03-17 13:20 GMT-04:00 Guilda Ascencio <span dir="ltr"><<a href="mailto:guildaa@gmail.com" target="_blank">guildaa@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>Dear gus.<br><br></div> In PHP a have a script in which:<br><br></div>1. Read the json array<br></div>2. Code the equivalence between arrays elements and the isis database tags<br></div>3. Process each record of the json array and builds a string with the isis tags in the form of: <br><br></div><tag1 0>CONTENT OF THE ELEMENT 1 OF THE JSON ARRAY EQUIVALENT TO TAG1</tag1><tag2 0>.............<br><br></div>4. The string built with each record ($ValorCapturado) and the name of the database to be updated ($base) are passed to the function GrabarRegistro. In the function, $db_path is the path to the folder where is the database to be updated. <br><br></div><div>You can create a folder (json2isis) and place inside the executable wxis.exe and the IsisScript actualizar.xis attached to this mail.<br></div><div><div><div><div><div><div><div><br><br><span style="font-family:monospace,monospace">function GrabarRegistro($ValorCapturado<wbr>,$base){<br>global $db_path;<br> $ValorCapturado=urlencode($Val<wbr>orCapturado);<br> $query="&base=$base&cipar=$db_<wbr>path"."par/$base".".par&login=<wbr>ABCD&path_db=$db_path";<br> $query.="&ValorCapturado=".$Va<wbr>lorCapturado."&Opcion=crear";<br> putenv('REQUEST_METHOD=GET');<br> putenv('QUERY_STRING='."?xx=".<wbr>$query);<br> $Wxis="wxis.exe" ;<br> IF (stripos(PHP_OS,"win")===false<wbr>)<br> $Wxis="./".$Wxis;<br> $IsisScript="actualizar.xis";<br> exec("\"./".$Wxis."\" IsisScript=$IsisScript",$conte<wbr>nido);<br> $contenido=implode("\n",$conte<wbr>nido);<br> return $contenido;<br>}<br><br><br></span></div><div><span style="font-family:arial,helvetica,sans-serif">Hope it helps</span><span style="font-family:monospace,monospace"><br><br></span></div><div><span style="font-family:monospace,monospace">Regards, <br></span></div><div><br><br></div></div></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 10, 2017 at 10:25 AM, gus <span dir="ltr"><<a href="mailto:ggus@riseup.net" target="_blank">ggus@riseup.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, does anybody already tried to import from json to isis?<br>
Any tips?<br>
<br>
I'm using isis2json.py to export to mongodb, but I also want to do the<br>
reverse path.<br>
<br>
thanks!,<br>
gus<br>
______________________________<wbr>_________________<br>
isis-users mailing list<br>
<a href="mailto:isis-users@iccisis.org" target="_blank">isis-users@iccisis.org</a><br>
To manage your own subscription options go to: <a href="http://lists.iccisis.org/listinfo/isis-users" rel="noreferrer" target="_blank">http://lists.iccisis.org/listi<wbr>nfo/isis-users</a><br>
Or contact Henk Rutten: <a href="mailto:hlrutten@xs4all.nl" target="_blank">hlrutten@xs4all.nl</a><br>
</blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
isis-users mailing list<br>
<a href="mailto:isis-users@iccisis.org" target="_blank">isis-users@iccisis.org</a><br>
To manage your own subscription options go to: <a href="http://lists.iccisis.org/listinfo/isis-users" rel="noreferrer" target="_blank">http://lists.iccisis.org/listi<wbr>nfo/isis-users</a><br>
Or contact Henk Rutten: <a href="mailto:hlrutten@xs4all.nl" target="_blank">hlrutten@xs4all.nl</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>