Export to DiveShare

Adds the possibility of exporting dives to DiveShare.

Signed-off-by: Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Salvo 'LtWorf' Tomaselli 2014-09-21 16:11:58 +02:00 committed by Dirk Hohndel
parent 64d1ccc550
commit 4cdb80c4cd
8 changed files with 469 additions and 4 deletions

View file

@ -290,7 +290,8 @@ void write_one_dive(struct membuffer *b, struct dive *dive, const char *photos_d
put_HTML_samples(b, dive);
put_HTML_bookmarks(b, dive);
write_dive_status(b, dive);
save_photos(b, photos_dir, dive);
if (photos_dir)
save_photos(b, photos_dir, dive);
write_divecomputers(b, dive);
}
put_HTML_notes(b, dive, "\"notes\":\"", "\"");