<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/xslt, branch v3.0.2</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v3.0.2</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v3.0.2'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2013-03-02T16:42:54Z</updated>
<entry>
<title>Dive computer import improvements</title>
<updated>2013-03-02T16:42:54Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2013-03-02T11:10:38Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=aa02798e2a6ca1a91dbfe444327f5eeb61744ea6'/>
<id>urn:sha1:aa02798e2a6ca1a91dbfe444327f5eeb61744ea6</id>
<content type='text'>
Parse dive computer information or divelog generator information and
include it as divecomputerid and divecomputer as appropriate.

Signed-off-by: Miika Turkia &lt;miika.turkia@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Grab a bit more info from UDDF import</title>
<updated>2013-03-02T07:49:09Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2013-03-02T07:22:08Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=0f9142b4e3ea3a46f7cee95cf9363c5fd3264ad3'/>
<id>urn:sha1:0f9142b4e3ea3a46f7cee95cf9363c5fd3264ad3</id>
<content type='text'>
otu and po2 are now grabbed. The po2 value comes from setpo2 tag. Also
divecomputerid is constructed from the generator information.

Signed-off-by: Miika Turkia &lt;miika.turkia@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Parse ISO 8601 time format</title>
<updated>2013-02-27T18:39:03Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2013-02-27T18:36:34Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=438299ff55fb9b62290d008d81a6e6d7e9c2e06b'/>
<id>urn:sha1:438299ff55fb9b62290d008d81a6e6d7e9c2e06b</id>
<content type='text'>
This is an XSLT implementation of a function to parse the ISO 8601
datetime format used in uddf.

Signed-off-by: Miika Turkia &lt;miika.turkia@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Handle one more date/time format for UDDF import</title>
<updated>2013-02-27T17:11:56Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2013-02-27T16:16:08Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=38036a31d0c7b110d975e88277a5065ac6c1adbe'/>
<id>urn:sha1:38036a31d0c7b110d975e88277a5065ac6c1adbe</id>
<content type='text'>
Signed-off-by: Miika Turkia &lt;miika.turkia@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>MacDive import improvement</title>
<updated>2013-02-27T17:03:17Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2013-02-27T16:05:40Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=cc9686016536ae6f2d7b5c4dd51a21cf3ce4d797'/>
<id>urn:sha1:cc9686016536ae6f2d7b5c4dd51a21cf3ce4d797</id>
<content type='text'>
MacDive reports non-existent values as zero and in Imperial units it
would be 32F. This patch will try to make an educated guess whether we
have the proper temperature and pressure readings and ignore the zero
fields if it seems that there are no real samples from the dive
computer.

Signed-off-by: Miika Turkia &lt;miika.turkia@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Fix MacDive import to convert Imperial temperature</title>
<updated>2013-02-27T14:44:34Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2013-02-27T05:01:22Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=ecdb4cd52230faca2b3637ca4f2a0c5caa36a7ce'/>
<id>urn:sha1:ecdb4cd52230faca2b3637ca4f2a0c5caa36a7ce</id>
<content type='text'>
MacDive import needs to convert temperatures to Celcius. However, it
seems that MacDive reports no reading as 32F (and probably 0C when using
Metric). There is no way of knowing whether we have no reading or
the temperature is actually zero, so we use the given temperature
currently as 0C is a valid temperature...

Signed-off-by: Miika Turkia &lt;miika.turkia@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>DivingLog import: keep the dive computer name around</title>
<updated>2013-02-26T19:51:35Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2013-02-26T19:48:13Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=881baafc26b651028dd49091ca9eb8b920f7d5d8'/>
<id>urn:sha1:881baafc26b651028dd49091ca9eb8b920f7d5d8</id>
<content type='text'>
We simply set up the model attribute.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Another update to DivingLog import</title>
<updated>2013-02-26T19:16:41Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2013-02-26T19:15:06Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=5cea16ec509bdca4d9410aea193277fa42fba1a4'/>
<id>urn:sha1:5cea16ec509bdca4d9410aea193277fa42fba1a4</id>
<content type='text'>
This fixes two bugs:
- we overwrote the max depth that we read from an XML file with 0 if there
  are no samples
- we didn't parse the DepthAvg tag in the DivingLog XML

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>UDCF import</title>
<updated>2013-02-26T18:16:49Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2013-02-26T18:13:28Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=686a27aee95a78213778ccbaa58c0fd7d88d12f6'/>
<id>urn:sha1:686a27aee95a78213778ccbaa58c0fd7d88d12f6</id>
<content type='text'>
Signed-off-by: Miika Turkia &lt;miika.turkia@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Test dives</title>
<updated>2013-02-26T16:50:05Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2013-02-26T16:31:22Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=826d27711e01670f1d3302df229ec1ae5d820c5a'/>
<id>urn:sha1:826d27711e01670f1d3302df229ec1ae5d820c5a</id>
<content type='text'>
On Tue, Feb 26, 2013 at 6:19 PM, Dirk Hohndel &lt;dirk@hohndel.org&gt; wrote:
&gt; Miika Turkia &lt;miika.turkia@gmail.com&gt; writes:
&gt;
&gt;&gt; On Tue, Feb 26, 2013 at 5:54 PM, Dirk Hohndel &lt;dirk@hohndel.org&gt; wrote:
&gt;&gt;&gt; Miika Turkia &lt;miika.turkia@gmail.com&gt; writes:
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; On Tue, Feb 26, 2013 at 6:45 AM, Dirk Hohndel &lt;dirk@hohndel.org&gt; wrote:
&gt;&gt;&gt;&gt;&gt; I added a few test dives exported from other software (Dm3, DiveLog 5.08,
&gt;&gt;&gt;&gt;&gt; JDiveLog 10.2 from Mac - last one doesn't parse because of encoding... Also
&gt;&gt;&gt;&gt;&gt; a composed XML zip file from DiveLog isn't supported, yet)
&gt;&gt;&gt;&gt;&gt; Find them under dives
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Now this gets interesting. Is there ANY logic in the units in the
&gt;&gt;&gt;&gt; dives/TestDiveDiveLog5.08.xml? It seems that some of the temperatures
&gt;&gt;&gt;&gt; are in C (Airtemp and Watertemp) and some in F (samples). Otherwise I
&gt;&gt;&gt;&gt; would guess we are talking metric here, but I do not see any specs
&gt;&gt;&gt;&gt; (another log I have seen from DivingLog had all the units in metric,
&gt;&gt;&gt;&gt; as far as I could guess). BTW is the Weight in kg or lb?
&gt;&gt;&gt;
&gt;&gt;&gt; I have purchased DivingLog and should be able to create any combination
&gt;&gt;&gt; of data for the test file that we could possibly want. I'll do a set in
&gt;&gt;&gt; a moment that describe what SHOULD be there in their notes, maybe that
&gt;&gt;&gt; will clear things up.
&gt;&gt;&gt;
&gt;&gt;&gt; That said, I really want to release 3.0.1 in the next couple of hours,
&gt;&gt;&gt; so this may have to wait for 3.0.2 (if we end up needing that) or 3.1.
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; The divelogs.de UDCF format looks like it shouldn't take long to write
&gt;&gt;&gt;&gt; support for. I'll look into it this evening.
&gt;&gt;&gt;
&gt;&gt;&gt; It is evening for you, right? No pressure, just making sure I understand
&gt;&gt;&gt; what may be coming in in patches in the next hour or two
&gt;&gt;
&gt;&gt; I currently have one version of the DivingLog XSLT. So a bit of
&gt;&gt; verification and that could possibly be used as is. However, this
&gt;&gt; could use a bit more testing than a new support to make sure things
&gt;&gt; are not going to be any worse than they currently are.
&gt;&gt;
&gt;&gt; I have not started with the UDCF yet, but that could be reasonably
&gt;&gt; fast to implement. However, no guarantees. (And yes, it is evening for
&gt;&gt; me)
&gt;
&gt; I can hold off 3.0.1 a couple hours longer if that is a realistic thing
&gt; to do. I don't see the UDCF as that important since we have a different
&gt; format from them that we support. So I think the best possible DivingLog
&gt; support would be my preference.
&gt;
&gt; I'll add a few more exported dives from DivingLog next (and fix the
&gt; naming of the existing ones).

In that case, here is the DivingLog XSLT if anyone can give it a test.

miika

From 4a62058f4f6fd4780f04bce6e1fe45e20abcf33f Mon Sep 17 00:00:00 2001
From: Miika Turkia &lt;miika.turkia@gmail.com&gt;
Date: Tue, 26 Feb 2013 17:46:53 +0200
Subject: [PATCH] XSLT for DivingLog

Signed-off-by: Miika Turkia &lt;miika.turkia@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
</feed>
