summaryrefslogtreecommitdiffstats
path: root/dives/test43.xml
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2015-03-02 16:18:16 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-03-16 12:42:36 -0700
commit6b3b50cc2f8083ebbc013c1d270c1ec1d1252a23 (patch)
tree634abaf36f1908b24f6128c1c02c31b3eba6360e /dives/test43.xml
parent869ddc915daf4616ee2e010ab06fa7802b7e6d5f (diff)
downloadsubsurface-6b3b50cc2f8083ebbc013c1d270c1ec1d1252a23.tar.gz
Load remote images
When loading an image by filename and by hash fails, try to interpret the filename as URL and download the image. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dives/test43.xml')
-rw-r--r--dives/test43.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/dives/test43.xml b/dives/test43.xml
new file mode 100644
index 000000000..9b75754bc
--- /dev/null
+++ b/dives/test43.xml
@@ -0,0 +1,29 @@
+<divelog program='subsurface' version='3'>
+<settings>
+<divecomputerid model='Suunto Vyper' deviceid='7fffffff' serial='00522075' firmware='0.0.33'/>
+<divecomputerid model='Suunto Vyper' deviceid='e9237b0a' nickname='Suunto Vyper (e9237b0a)'/>
+ <autogroup state='1' />
+</settings>
+<divesites>
+<site uuid='47b3e28c' gps='47.934500 11.334500'/>
+</divesites>
+<dives>
+<trip date='2012-01-08' time='15:30:03'>
+<dive number='1' divesiteid='47b3e28c' date='2012-01-08' time='15:30:03' duration='46:06 min'>
+ <notes>This is a dive with an image on a remote server.</notes>
+ <cylinder size='24.0 l' workpressure='232.0 bar' description='D12 232 bar' />
+ <divecomputer model='manually added dive' date='2014-01-09' time='14:22:03'>
+ <depth max='15.0 m' mean='13.698 m' />
+ <sample time='0:00 min' depth='0.0 m' />
+ <sample time='0:50 min' depth='15.0 m' />
+ <sample time='1:00 min' depth='15.0 m' />
+ <sample time='40:00 min' depth='15.0 m' />
+ <sample time='42:00 min' depth='5.0 m' />
+ <sample time='45:00 min' depth='5.0 m' />
+ <sample time='46:06 min' depth='0.0 m' />
+ </divecomputer>
+ <picture filename='http://euve10195.vserver.de/~robert/wreck.jpg' offset='+21:01 min' />
+</dive>
+</trip>
+</dives>
+</divelog>