<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Miika,<br>
    <br>
    <div class="moz-cite-prefix">Am 12.10.14 20:52, schrieb Miika
      Turkia:<br>
    </div>
    <blockquote
cite="mid:CAEB307NoVAV-K4nn7naxEQc6v6a-_nJP9WzmQzaScTfvfRAqqQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">What is the status of picture support
            on the API? IIRC you mentioned that you are working on it,
            but I don't think it existed the last time I checked.<br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    I have implemented this on the export page to try it out.
    <a class="moz-txt-link-freetext" href="https://en.divelogs.de/DLDexport.php">https://en.divelogs.de/DLDexport.php</a><b>?alldata=true</b> (if signed
    in) will give you an "extended" DLD containing your certifications,
    documents, Pictures, video-urls, etc. The XML files point to the
    files included in the zip, so it should be parseable. My main
    concern is the size and the performance. I just exported mine and it
    results in a 480MB DLD-file containing over 2000 pictures.... That
    not only takes a while to put together, but also consumes a lot of
    ressources. I have no problem to build it in to the API, as most
    logs don't contain that much data, but it might be a bit slowish for
    those who put everything they see on their SD card (like me :) ), so
    timeouts could occur.<br>
    <br>
    Please just add a picture or two on your subsurface test account and
    export the file via the url above. If you say you could work with
    that, I'll implement that. Same goes for other direction, if you can
    put together the DLD file with the pictures like that...  <br>
    <br>
    <blockquote
cite="mid:CAEB307NoVAV-K4nn7naxEQc6v6a-_nJP9WzmQzaScTfvfRAqqQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div>The import to Subsurface is now implemented. The export
              is a bit more "interesting" as we do not have concept of
              main tank. I think to just use the first in the XML as the
              main cylinder and the others as additional. Does this make
              sense?<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Damn, you're fast :-)<br>
    Yes, the first tank as the main cylinder is perfect, it doesn't
    really matter for any SAC calculations, as all tanks are taken into
    account. The only difference it makes, is that the first "tab" on
    the dive page is your main tank and is not deleteable and the others
    are the additional tanks. So just take the first as the main tank...<br>
    <br>
    Let my know how to proceed with the API...<br>
    <br>
    Rainer<br>
    <br>
  </body>
</html>