From 3f070eadd1bf0f04f6b25dd362f3d6bbeb323f7c Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Tue, 17 Feb 2015 19:16:20 +0200 Subject: XSLT to import MacDive logs Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- xslt/DiveLog.xslt | 303 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 303 insertions(+) create mode 100644 xslt/DiveLog.xslt (limited to 'xslt') diff --git a/xslt/DiveLog.xslt b/xslt/DiveLog.xslt new file mode 100644 index 000000000..579e177da --- /dev/null +++ b/xslt/DiveLog.xslt @@ -0,0 +1,303 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + / + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3-70-g09d2 From 4f26240b559893792d65ec57fc776285297cdd09 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Tue, 17 Feb 2015 21:32:58 +0200 Subject: Add time to DiveLog import I originally thought about converting the time as well, but my fingers were too slow and memory too short to actually do that :D Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- xslt/DiveLog.xslt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xslt') diff --git a/xslt/DiveLog.xslt b/xslt/DiveLog.xslt index 579e177da..66a3fd061 100644 --- a/xslt/DiveLog.xslt +++ b/xslt/DiveLog.xslt @@ -32,6 +32,10 @@ + + + + -- cgit v1.2.3-70-g09d2 From 371feac82f5d8e29bb74d55c3187bd2a38a5e5e1 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Tue, 17 Feb 2015 21:32:59 +0200 Subject: Add visibility and weather to dive notes This adds a bit more information to dive notes on DiveLog import. Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- xslt/DiveLog.xslt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'xslt') diff --git a/xslt/DiveLog.xslt b/xslt/DiveLog.xslt index 66a3fd061..b4bab8905 100644 --- a/xslt/DiveLog.xslt +++ b/xslt/DiveLog.xslt @@ -55,8 +55,13 @@ + + + + + -- cgit v1.2.3-70-g09d2 From f7365015ff250052ca7d26f4c655b774f3773960 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Wed, 18 Feb 2015 19:55:29 +0200 Subject: Include Boat in DiveLog import Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- xslt/DiveLog.xslt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xslt') diff --git a/xslt/DiveLog.xslt b/xslt/DiveLog.xslt index b4bab8905..9855ae34e 100644 --- a/xslt/DiveLog.xslt +++ b/xslt/DiveLog.xslt @@ -62,6 +62,9 @@ + + + -- cgit v1.2.3-70-g09d2 From b87eb781920cd85534d295f75a3b61d382c088a5 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Wed, 18 Feb 2015 19:55:30 +0200 Subject: Add serial number to DiveLog import Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- xslt/DiveLog.xslt | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'xslt') diff --git a/xslt/DiveLog.xslt b/xslt/DiveLog.xslt index 9855ae34e..818b50d49 100644 --- a/xslt/DiveLog.xslt +++ b/xslt/DiveLog.xslt @@ -2,17 +2,31 @@ + + - + + + + - + - + + @@ -136,7 +150,8 @@ - + + -- cgit v1.2.3-70-g09d2 From 541ec4fcac56aa13ea09bd8a4a30902d6f5109af Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Wed, 18 Feb 2015 19:55:31 +0200 Subject: Add some extra data for DiveLog import Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- xslt/DiveLog.xslt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'xslt') diff --git a/xslt/DiveLog.xslt b/xslt/DiveLog.xslt index 818b50d49..7d21b10bd 100644 --- a/xslt/DiveLog.xslt +++ b/xslt/DiveLog.xslt @@ -156,6 +156,16 @@ + + + + + + + + + + -- cgit v1.2.3-70-g09d2 From 554b652d25d9ce853c4f8f2044f80ab1b198fb1b Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Wed, 18 Feb 2015 19:55:32 +0200 Subject: DiveLog import: Only include weight when available Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- xslt/DiveLog.xslt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xslt') diff --git a/xslt/DiveLog.xslt b/xslt/DiveLog.xslt index 7d21b10bd..b94e28796 100644 --- a/xslt/DiveLog.xslt +++ b/xslt/DiveLog.xslt @@ -128,7 +128,7 @@ - + -- cgit v1.2.3-70-g09d2