Created
August 26, 2011 20:14
-
-
Save steren/1174315 to your computer and use it in GitHub Desktop.
Convert an export from Google spreadsheets to JSON objects, used for my diving log.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script> | |
<script url="http://ajax.aspnetcdn.com/ajax/jquery.templates/beta1/jquery.tmpl.js" ></script> | |
<script src="http://ajax.microsoft.com/ajax/jquery.templates/beta1/jquery.tmpl.min.js"></script> | |
<script type="text/javascript"> | |
function tableToJson(table) { | |
var data = []; | |
// first row needs to be headers | |
var headers = []; | |
for (var i=0; i<table.rows[0].cells.length; i++) { | |
headers[i] = table.rows[0].cells[i].innerHTML.toLowerCase().replace(/ /gi,''); | |
} | |
// go through cells | |
for (var i=1; i<table.rows.length; i++) { | |
var tableRow = table.rows[i]; | |
var rowData = {}; | |
for (var j=0; j<tableRow.cells.length; j++) { | |
rowData[ headers[j] ] = tableRow.cells[j].innerHTML; | |
} | |
data.push(rowData); | |
} | |
return data; | |
} | |
</script> | |
<script id="diveTemplate" type="text/x-jquery-tmpl"> | |
<dive> | |
<date> | |
<year>${year}</year> | |
<month>${month}</month> | |
<day>${day}</day> | |
</date> | |
<place>${spot}, ${lieu}</place> | |
<samples> | |
<t>0</t> | |
<d>${profondeur}</d> | |
<t>${temps}</t> | |
<d>0</d> | |
</samples> | |
</dive> | |
</script> | |
</head> | |
<body> | |
<ul id="divesRender"> | |
</ul> | |
<table border=0 cellpadding=0 cellspacing=0 class='tblGenFixed' id='tblMain'> | |
<thead> | |
<tr> | |
<td class='s0'>Numéro<td class='s1'>Spot<td class='s1'>Lieu<td class='s1'>Date<td class='s2'>Type<td class='s1'>Profondeur<td class='s1'>Temps<td class='s1'>Observations<td class='s1'>Technique<td class='s1'>Club<td class='s1'>Plongeurs<td class='s1'>Température surface<td class='s1'>Température fond<td class='s1'>Spécial</tr> | |
</thead> | |
<tr> | |
<td class='s3'>0<td class='s4'><td class='s4'><td class='s5'>07/11/1995<td ><td class='s4'><td class='s4'><td class='s6'>Baptême <td class='s4'><td class='s4'><td class='s4'><td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>1<td class='s6'>Mauresque<td class='s6'> Argelès <td class='s5'>15/07/2002<td class='s6'>Technique<td class='s5'>8<td class='s5'>30<td class='s6'>- adaptation - signes - nage en profondeur - vidage de masque - lâcher et reprise de détendeur - assemblage du matériel <td class='s6'>Formation niveau 1<td class='s6'> Pro Sub Mer<td class='s4'><td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>2<td class='s6'>Mauresque <td class='s6'> Argelès <td class='s5'>16/07/2002<td class='s6'> Technique <td class='s5'>7<td class='s5'>35<td class='s6'> - révisions <td class='s6'>Formation niveau 1<td class='s6'> Pro Sub Mer<td class='s4'><td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>3<td class='s6'>Mauresque <td class='s6'> Argelès <td class='s5'>17/07/2002<td class='s6'>Technique <td class='s5'>16,2<td class='s5'>30<td class='s6'> <td class='s6'>Formation niveau 1<td class='s4'><td class='s4'><td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>4<td class='s4'><td class='s6'>Argelès<td class='s5'>17/07/2002<td class='s6'> Technique <td class='s5'>6<td class='s5'>35<td class='s6'>- échange d'embout - révisions - conseils <td class='s6'>Formation niveau 1<td class='s6'> Pro Sub MerMer<td class='s4'><td class='s4'> | |
<td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>5<td class='s6'> L'Ouille<td class='s6'>Argelès<td class='s5'>18/07/2002<td class='s6'>Technique <td class='s5'>7<td class='s5'>30<td class='s6'>- echange d'embout en déplacement - révisions <td class='s6'>Formation niveau 1<td class='s6'> Pro Sub Mer<td class='s4'><td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>6<td class='s6'>Colioure<td class='s6'>Argelès<td class='s5'>19/07/2002<td class='s6'>Technique <td class='s5'>10<td class='s5'>30<td class='s6'>compétences pour le niveau 1<td class='s6'>Formation niveau 1<td class='s6'>Pro Sub Mer<td class='s4'><td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>7<td class='s6'>L'Ouille <td class='s6'> Argelès <td class='s5'>19/07/2002<td class='s6'> Technique <td class='s5'>14<td class='s5'>30<td class='s6'> évaluation Niveau 1, exploration <td class='s6'>Formation niveau 1<td class='s6'> Pro Sub Mer<td class='s4'><td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>8<td class='s6'>Réserve Banyuls<td class='s6'>Argelès<td class='s5'>29/07/2002<td class='s6'> Technique <td class='s5'>10<td class='s5'>60<td class='s4'><td class='s4'><td class='s6'> Pro Sub MerMer<td class='s4'><td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>9<td class='s6'>Anse de Paulilles<td class='s6'>Argelès<td class='s5'>07/08/2002<td class='s6'> Exploration <td class='s5'>7<td class='s5'>30<td class='s4'><td class='s4'><td class='s4'><td class='s4'><td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>10<td class='s6'>Torfa<td class='s6'>Égypte<td class='s5'>28/10/2002<td class='s6'>Exploration<td class='s5'>10<td class='s5'>45<td class='s6'>murène, poisson perroquet- poisson papillon<td class='s4'><td class='s6'> Seafari Hurghada<td class='s6'> 7 plongeurs<td class='s5'>28<td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>11<td class='s6'> Small Giftun<td class='s6'> Égypte<td class='s5'>02/10/2002<td class='s6'>Exploration<td class='s5'>16,5<td class='s5'>55<td class='s6'> - Tortue - murènes x3 - Bénitiers - Perroquets - Papillons <td class='s4'><td class='s6'> Seafari Hurghada <td class='s6'> 7 plongeurs <td class='s5'>28 | |
<td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>12<td class='s6'> Lac de Kruth<td class='s6'>Vosges<td class='s5'>15/06/2003<td class='s6'>Exploration<td class='s5'>22<td class='s5'>20<td class='s6'> - nain et dauphin <td class='s4'><td class='s6'> Club plongée Luneville<td class='s6'> Bruno<td class='s5'>15<td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>13<td class='s6'>La Moulade<td class='s6'> Argelès<td class='s5'>11/08/2003<td class='s6'> Technique <td class='s5'>13<td class='s5'>22<td class='s6'>- révisions acquis niveau 1 - évaluation aisance <td class='s6'>Formation niveau 2<td class='s6'> Pro Sub Mer <td class='s6'> 3 plongeurs + 1 mono<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>14<td class='s6'>L'Ouille<td class='s6'> Argelès <td class='s5'>11/08/2003<td class='s6'> Technique <td class='s5'>11,3<td class='s5'>30<td class='s6'> - Remontée Expiration Contrôlée - remontée avec gilet - remontée tympanique - caplage + recaplage<td class='s6'>Formation niveau 2<td class='s6'> Pro Sub Mer<td class='s6'> 2 plongeurs + 1 mono<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>15<td class='s6'> La moulade<td class='s6'> Argelès <td class='s5'>13/08/2003<td class='s6'> Technique <td class='s5'>10,4<td class='s5'>13<td class='s6'> -REC 10m - assistance plongeur en détresse <td class='s6'>Formation niveau 2<td class='s6'> Pro Sub Mer<td class='s6'> 3 plongeurs + 1 mono<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>16<td class='s6'> Mauresque <td class='s6'>Argelès <td class='s5'>13/08/2003<td class='s6'> Technique <td class='s5'>13,5<td class='s5'>24<td class='s6'> -REC 10m -assistance gilet.<td class='s6'>Formation niveau 2<td class='s6'> Pro Sub Mer<td class='s6'> 2 plongeurs + 1 mono<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>17<td class='s6'> L'Éboulis <td class='s6'>Argelès<td class='s5'>13/08/2003<td class='s6'>Technique<td class='s5'>17 | |
<td class='s5'>15<td class='s6'> - apnée - REC 10m - Assistance gilet - remontée avec reprise d'air tous les 2 mètres<td class='s6'>Formation niveau 2<td class='s6'>Pro Sub Mer<td class='s6'>3 plongeurs + 1 mono<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>18<td class='s6'>Mauresque<td class='s6'>Argelès<td class='s5'>13/08/2003<td class='s6'>Technique<td class='s5'>14,5<td class='s5'>23<td class='s6'> -REC 10 m - immersion décapelé - stabilisation sans palmes<td class='s6'>Formation niveau 2<td class='s6'>Pro Sub Mer<td class='s6'>2 plongeurs + 1 mono<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>19<td class='s6'>L'Ouille<td class='s6'>Argelès<td class='s5'>18/08/2003<td class='s6'>Technique<td class='s5'>13,5<td class='s5'>33<td class='s6'> - assistance gilet - décollage - assistance air - orientation<td class='s6'>Formation niveau 2<td class='s6'>Pro Sub Mer<td class='s6'>2 + 1 mono<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>20<td class='s6'>L'Eboulis<td class='s6'>Argelès<td class='s5'>19/08/2003<td class='s6'>Technique<td class='s5'>18,2<td class='s5'>30<td class='s6'> - PMT 250m - stabilisation - assistance gilet <td class='s6'>Formation niveau 2<td class='s6'>Pro Sub Mer<td class='s6'>1 + 1 mono<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>21<td class='s6'>Mauresque<td class='s6'>Argelès<td class='s5'>19/08/2003<td class='s6'>Technique<td class='s5'>20,2<td class='s5'>33<td class='s6'> - remontée gilet - orientation - gestion décompression<td class='s6'>Formation niveau 2<td class='s6'>Pro Sub Mer<td class='s6'>1 mono<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>22<td class='s6'>La Moulade<td class='s6'>Argelès<td class='s5'>20/08/2003<td class='s6'>Technique<td class='s5'>18<td class='s5'>35<td class='s6'> - Remontée en expiration contrôlée sur 10m - assistance gilet - orientation<td class='s6'>Formation niveau 2<td class='s6'>Pro Sub Mer<td class='s6'>2 + 1 mono<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>23<td class='s6'>Mauresque<td class='s6'>Argelès<td class='s5'>20/08/2003<td class='s6'>Technique<td class='s5'>16<td class='s5'>20<td class='s6'> - stabilisation - remontée gilet - assistance gilet - orientation - gestion entière de la plongée<td class='s6'>Formation niveau 2<td class='s6'>Pro Sub Mer<td class='s6'>2 + 1 mono<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>24<td class='s6'>L'Astrée<td class='s6'>Argelès<td class='s5'>22/08/2003<td class='s6'>Exploration<td class='s5'>38<td class='s5'>16<td class='s6'>Visibilité parfaite - plongée profonde<td class='s4'><td class='s6'>Pro Sub Mer<td class='s6'>Bruno + 1 + 1 mono<td class='s4'><td class='s4'><td class='s6'>épave</tr> | |
<tr> | |
<td class='s3'>25<td class='s6'>Les grandes aiguilles<td class='s6'>Corse<td class='s5'>18/07/2004<td class='s6'>Exploration<td class='s5'>27<td class='s5'>45<td class='s6'>Bonne visibilité<td class='s4'><td class='s6'>Plongée Les Calanques Corse<td class='s6'>Bruno + 1 + 1 mono<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>26<td class='s6'>Porto Palma<td class='s6'>Maddalena, Sardaigne<td class='s5'>21/07/2004<td class='s6'>Exploration<td class='s5'>8<td class='s5'>30<td class='s6'>- parpaing - vase<td class='s4'><td class='s4'><td class='s6'>Bruno<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>27<td class='s6'>Capo do Cavalo<td class='s6'>Lavezzi, Corse<td class='s5'>22/07/2004<td class='s6'>Exploration<td class='s5'>24<td class='s5'>39<td class='s6'>- mérous - Baracuddas - murène <td class='s4'><td class='s6'>Cabochard Plongée<td class='s6'>Bruno + Fabienne + Adlyne + Franck Bruno<td class='s5'>26<td class='s5'>13<td class='s4'></tr> | |
<tr> | |
<td class='s3'>28<td class='s6'>?<td class='s6'>Lavezzi, Corse<td class='s5'>23/07/2004<td class='s6'>Exploration<td class='s5'>21<td class='s5'>45<td class='s6'>- musée sous marin (amphores) - Baracuddas<td class='s4'><td class='s6'>Cabochard Plongée<td class='s6'>Christine + Daniel + Amandine + Franck Bruno<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>29<td class='s6'>Maddalena<td class='s6'>Corse<td class='s5'>25/07/2004<td class='s6'>Exploration<td class='s5'>13<td class='s5'>22<td class='s6'>- grande nacre - petits alevins<td class='s4'><td class='s4'><td class='s6'>Bruno<td class='s4'> | |
<td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>30<td class='s6'>Maddalena<td class='s6'>Corse<td class='s5'>25/07/2004<td class='s6'>Exploration<td class='s5'>17<td class='s5'>55<td class='s6'>- murène - castagnols<td class='s4'><td class='s4'><td class='s6'>Bruno<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>31<td class='s6'>port de Cargèse<td class='s6'>Corse<td class='s5'>28/07/2004<td class='s6'>Exploration<td class='s5'>13,4<td class='s5'>25<td class='s6'>- murène<td class='s4'><td class='s4'><td class='s6'>Bruno<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>32<td class='s6'>Iles des Sanguinaires<td class='s6'>Corse<td class='s5'>29/07/2004<td class='s6'>Exploration<td class='s5'>20,4<td class='s5'>45<td class='s6'>- 2 chapons - grande nacre - exos N2<td class='s4'><td class='s4'><td class='s6'>Bruno<td class='s5'>25<td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>33<td class='s6'>Iles des Sanguinaires / Le tabernacle<td class='s6'>Corse<td class='s5'>30/07/2004<td class='s6'>Exploration<td class='s5'>21,4<td class='s5'>52<td class='s6'>- une centaine de barauddas - 2 murènes<td class='s4'><td class='s6'>Plongée Les Calanques Corse<td class='s6'>Bruno<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>34<td class='s6'>La Moulade<td class='s6'>Argelès<td class='s5'>14/07/2005<td class='s6'>Exploration<td class='s5'>18<td class='s5'>30<td class='s6'>- homard - poulpe - langoustes<td class='s4'><td class='s6'>Pro Sub Mer<td class='s6'>Brian + ...<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>35<td class='s6'>La Moulade<td class='s6'>Argelès<td class='s5'>01/08/2006<td class='s6'>Exploration<td class='s5'>19<td class='s5'>42<td class='s6'>- poulpes - langoustes<td class='s4'><td class='s6'>Pro Sub Mer<td class='s6'>Bruno<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>36<td class='s6'>La Moulade<td class='s6'>Argelès<td class='s5'>05/08/2006<td class='s6'>Exploration<td class='s5'>18<td class='s5'>39<td class='s6'>- rascasse<td class='s4'><td class='s6'>Pro Sub Mer<td class='s6'>Bruno<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>37<td class='s6'>La Grande MAuresque<td class='s6'>Argelès<td class='s5'>05/08/2006<td class='s6'>Exploration<td class='s5'>22<td class='s5'>39<td class='s6'>- murène - rascasse<td class='s4'><td class='s6'>Pro Sub Mer<td class='s6'>Bruno<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>38<td class='s6'>La Grande MAuresque<td class='s6'>Argelès<td class='s5'>09/08/2006<td class='s6'>Exploration<td class='s5'>21<td class='s5'>39<td class='s4'><td class='s4'><td class='s6'>Pro Sub Mer<td class='s6'>Bruno<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>39<td class='s6'>Moulade<td class='s6'>Argelès<td class='s5'>11/08/2006<td class='s6'>Exploration<td class='s5'>21<td class='s5'>45<td class='s4'><td class='s4'><td class='s6'>Pro Sub Mer<td class='s6'>Bruno<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>40<td class='s6'>Moulade<td class='s6'>Argelès<td class='s5'>21/08/2007<td class='s6'>Exploration<td class='s5'>17,1<td class='s5'>32<td class='s6'>- langoustes - poulpes - visibilité bof bof<td class='s4'><td class='s6'>Pro Sub Mer<td class='s6'>Anne + ...<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>41<td class='s6'>Cap l'Abeille<td class='s6'>Réserve Banyuls<td class='s5'>26/08/2007<td class='s6'>Exploration<td class='s5'>18<td class='s5'>45<td class='s6'>- 3 mérous - 1 congre - 1 poulpe géant<td class='s4'><td class='s6'>Pro Sub Mer<td class='s6'>1 N2<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>42<td class='s6'>La Mauresque<td class='s6'>Argelès<td class='s5'>29/08/2007<td class='s6'>Exploration<td class='s5'>19,5<td class='s5'>40<td class='s6'>- 4 congres - 1 murène - 1 poulpe géant<td class='s4'><td class='s6'>Archipel<td class='s6'>Anne + 1 mono<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>43<td class='s6'>La Fouillée<td class='s6'>Théoule<td class='s5'>17/04/2008<td class='s6'>Exploration<td class='s5'>17<td class='s5'>35<td class='s4'><td class='s4'><td class='s6'>Centre de plongée Armand Ferrand<td class='s6'>Bruno + Fabienne + Brian + Anne + 1 mono<td class='s5'>14<td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>44<td class='s6'>House Reef North<td class='s6'>Utopia, El Quseir, Egypte<td class='s5'>31/08/2009<td class='s6'>Exploration<td class='s5'>15,8<td class='s5'>55<td class='s6'>- rascasses volantes - poisson pierre - poisson clown - coraux<td class='s4'><td class='s6'>Red Sea Diving Safari<td class='s6'>Anne + 1 mono (Adel)<td class='s5'>29<td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>45<td class='s6'>House Reef<td class='s6'>El Quseir, Egypte<td class='s5'>01/09/2009<td class='s6'>Exploration<td class='s5'>13,3<td class='s5'>45<td class='s6'>- nasons - poissons flute - coraux - Napoléon<td class='s4'><td class='s6'>Red Sea Diving Safari<td class='s6'>Anne + 1 mono (Adel)<td class='s5'>29<td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>46<td class='s6'>House Reef South<td class='s6'>El Quseir, Egypte<td class='s5'>01/09/2009<td class='s6'>Exploration<td class='s5'>19<td class='s5'>39<td class='s6'>- poisson crocodile - rascasse volante - raie leopard<td class='s4'><td class='s6'>Red Sea Diving Safari<td class='s6'>Anne + 1 mono (Adel)<td class='s5'>29<td class='s4'><td class='s6'>Nitrox 32%</tr> | |
<tr> | |
<td class='s3'>47<td class='s6'>House Reef North<td class='s6'>El Quseir, Egypte<td class='s5'>02/09/2009<td class='s6'>Exploration<td class='s5'>30,4<td class='s5'>42<td class='s6'>- murène géante (> 2m) - poissons clown<td class='s4'><td class='s6'>Red Sea Diving Safari<td class='s6'>Anne + 1 mono (Adel)<td class='s5'>29<td class='s4'><td class='s6'>Nitrox 32%</tr> | |
<tr> | |
<td class='s3'>48<td class='s6'>House Reef South<td class='s6'>El Quseir, Egypte<td class='s5'>02/09/2009<td class='s6'>Exploration<td class='s5'>15<td class='s5'>45<td class='s6'>- 5 rascasses volantes<td class='s4'><td class='s6'>Red Sea Diving Safari<td class='s6'>Anne + 1 mono (Adel)<td class='s5'>29<td class='s4'><td class='s6'>Nitrox 32%</tr> | |
<tr> | |
<td class='s3'>49<td class='s6'>House Reef<td class='s6'>El Quseir, Egypte<td class='s5'>03/09/2009<td class='s6'>Exploration<td class='s5'>17,9<td class='s5'>47<td class='s6'>- plancton fluorescent - raie pastenague - murène géante - oursins crayon - sèche curieuse - Doris - crevettes nettoyeuses<td class='s4'><td class='s6'>Red Sea Diving Safari | |
<td class='s6'>Anne + 1 mono (Adel)<td class='s4'><td class='s4'><td class='s6'>Nitrox 32% - Nuit</tr> | |
<tr> | |
<td class='s3'>50<td class='s6'>Sharm El Fugani<td class='s6'>El Quseir, Egypte<td class='s5'>04/09/2009<td class='s6'>Exploration<td class='s5'>23,9<td class='s5'>55<td class='s6'>- 2 tortues - 1 napoléon - Grand porc épique - baliste à tête jaune<td class='s4'><td class='s6'>Red Sea Diving Safari<td class='s6'>Anne<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>51<td class='s6'>Sharm El Fugani<td class='s6'>El Quseir, Egypte<td class='s5'>04/09/2009<td class='s6'>Exploration<td class='s5'>18,3<td class='s5'>64<td class='s6'>- 2 murène géante (>2,5m) - 2 pieuvres - 1 poisson crocodile - 1 poisson ange géographe<td class='s4'><td class='s6'>Red Sea Diving Safari<td class='s6'>Anne<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>52<td class='s6'>Lac de Tignes<td class='s4'><td class='s5'>04/04/2010<td class='s6'>Exploration<td class='s5'>8<td class='s5'>20<td class='s6'>- 2100m - combinaison étanche<td class='s4'><td class='s6'>Ecole de plongée sous glace de TIgnes<td class='s6'>Anne + 1 mono<td class='s5'>2<td class='s4'><td class='s6'>sous glace</tr> | |
<tr> | |
<td class='s3'>53<td class='s6'>Petite Calanque<td class='s6'>Ile verte, La Ciotat<td class='s5'>13/07/2010<td class='s6'>Exploration<td class='s5'>21<td class='s5'>34<td class='s6'>- nudibranches - gorgones bleues<td class='s4'><td class='s6'>Plongée Passion<td class='s6'>Anne + 2 N1 + mono<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>54<td class='s6'>Site de la Vierge<td class='s6'>Ile verte, La Ciotat<td class='s5'>15/07/2010<td class='s6'>Exploration<td class='s5'>20<td class='s5'>45<td class='s6'>- grotte - énorme Bernard l'hermite - mostelle - nudibanches (violettes et dalmatien) <td class='s4'><td class='s6'>Plongée Passion<td class='s6'>Bruno + Anne<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>55<td class='s6'>La balise<td class='s6'>Ile verte, La Ciotat<td class='s5'>16/07/2010<td class='s6'>Exploration<td class='s5'>21,7<td class='s5'>37<td class='s6'>- rascasses petites - bonellies - hermite à anémone - lampe défaillante<td class='s4'><td class='s6'>Plongée Passion<td class='s6'>Bruno + Anne<td class='s4'><td class='s4'><td class='s6'>Nuit</tr> | |
<tr> | |
<td class='s3'>56<td class='s6'>Marsa Shagra North Reef<td class='s6'>Egypte<td class='s5'>03/10/2010<td class='s6'>Exploration<td class='s5'>24,5<td class='s5'>47<td class='s6'>- poissons crocodiles - rascasses - mérous - balistes<td class='s4'><td class='s6'>Red Sea Diving Safari<td class='s6'>Anne + 1 mono + 3 plongeurs (Franck, ...)<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>57<td class='s6'>Shaab samadai (Dolphin House)<td class='s6'>Shaab samadai, Egypte<td class='s5'>04/10/2010<td class='s6'>Exploration<td class='s5'>21,1<td class='s5'>49<td class='s6'>- mérous fluos - raies pastenague - 50 poissons papillons - plongée sans combi (4kg)<td class='s4'><td class='s6'>Red Sea Diving Safari<td class='s6'>Anne + 1 mono + 6 plongeurs<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>58<td class='s6'>Shaab samadai (Dolphin House)<td class='s6'>Egypte<td class='s5'>04/10/2010<td class='s6'>Exploration<td class='s5'>18,9<td class='s5'>67<td class='s6'>- murène - fouet de mer - poissons clown - canyon - 10 anémones<td class='s4'><td class='s6'>Red Sea Diving Safari<td class='s6'>Anne + 1 mono + 4 plongeurs<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>59<td class='s6'>Marsa Shagra North Reef<td class='s6'>Egypte<td class='s5'>04/10/2010<td class='s6'>Exploration<td class='s5'>17,2<td class='s5'>53<td class='s6'>- rascasses volantes et rouges - oursin crayon - 5 calamars - crevettes - comatule - murène qui fait peur - bébé murène - perroquets qui dorment<td class='s4'><td class='s6'>Red Sea Diving Safari<td class='s6'>Anne<td class='s4'><td class='s4'><td class='s6'>Nuit</tr> | |
<tr> | |
<td class='s3'>60<td class='s6'>Marsa Shagra South Reef<td class='s6'>Egypte<td class='s5'>05/10/2010<td class='s6'>Exploration<td class='s5'>23,6<td class='s5'>58<td class='s6'>- raies pastenagues - platax - murène nageante - anémone à tétine + clown<td class='s4'><td class='s6'>Red Sea Diving Safari<td class='s6'>Anne<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>61<td class='s6'>Marsa Shagra North Reef<td class='s6'>Egypte<td class='s5'>05/10/2010<td class='s6'>Exploration<td class='s5'>21,2<td class='s5'>48<td class='s6'>- poisson géographe - murène - banc de baracudas - torpille - rascasses volantes<td class='s4'><td class='s6'>Red Sea Diving Safari<td class='s6'>Anne<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>62<td class='s6'>Marsa Shagra South Reef<td class='s6'>Egypte<td class='s5'>05/10/2010<td class='s6'>Exploration<td class='s5'>16,5<td class='s5'>53<td class='s6'>- danseuse espagnole - cône textile - murex épineux - rassemblement de comatules<td class='s4'><td class='s6'>Red Sea Diving Safari<td class='s6'>Anne<td class='s4'><td class='s4'><td class='s6'>Nuit</tr> | |
<tr> | |
<td class='s3'>63<td class='s6'>Shaab Abu Dabab<td class='s6'>Egypte<td class='s5'>06/10/2010<td class='s6'>Exploration<td class='s5'>16,2<td class='s5'>60<td class='s6'>- dauphins - poulpe<td class='s6'> - plongée en canyon<td class='s6'>Red Sea Diving Safari<td class='s6'>Anne + Franck + Aurélie + 3 plongeurs + 1 mono<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>64<td class='s6'>Marsa Abu dabab<td class='s6'>Egypte<td class='s5'>06/10/2010 | |
<td class='s6'>Exploration<td class='s5'>16,1<td class='s5'>54<td class='s6'>- tortues - raie guitare - patax - calamars<td class='s4'><td class='s6'>Red Sea Diving Safari<td class='s6'>Anne<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>65<td class='s6'>Shaad Abu Amra (Elphinstone)<td class='s6'>Egypte<td class='s5'>07/10/2010<td class='s6'>Exploration<td class='s5'>28,3<td class='s5'>45<td class='s6'>- Napoléon - (pas de longimanus)<td class='s6'>- plongée dérivante<td class='s6'>Red Sea Diving Safari<td class='s6'>Anne + Franck + Christelle + 3 plongeurs + 2 mono<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>66<td class='s6'>Abu Ghuson<td class='s6'>Egypte<td class='s5'>08/10/2010<td class='s6'>Exploration<td class='s5'>17,8<td class='s5'>56<td class='s4'><td class='s4'><td class='s6'>Red Sea Diving Safari<td class='s6'>Anne + 1 mono + autres<td class='s4'><td class='s4'><td class='s6'>épave</tr> | |
<tr> | |
<td class='s3'>67<td class='s6'>Abu Ghuson<td class='s6'>Egypte<td class='s5'>08/10/2010<td class='s6'>Exploration<td class='s5'>18,5<td class='s5'>59<td class='s6'>- poisson dragon<td class='s6'>- intérieur de l'épave (couloirs, cabine)<td class='s6'>Red Sea Diving Safari<td class='s6'>Anne + 1 mono + autres<td class='s4'><td class='s4'><td class='s6'>épave</tr> | |
<tr> | |
<td class='s3'>68<td class='s6'>la Lioze<td class='s6'>Cap Béar, Argelès<td class='s5'>09/07/2011<td class='s7'>Exploration<td class='s5'>21<td class='s5'>48<td class='s6'>- langoustes - mulet - murène - congre - doris tacheté mauve - thuridille<td class='s4'><td class='s6'>Neptune plongée<td class='s6'>Bruno<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>69<td class='s6'>Cap Gros<td class='s6'>Argelès<td class='s5'>09/07/2011<td class='s7'>Exploration<td class='s5'>21<td class='s5'>48<td class='s6'>- 4 poulpes - langoustes - 2 doris dalmatiens - castagnoles<td class='s4'><td class='s6'>Neptune plongée<td class='s6'>Bruno<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>70<td class='s6'>La Moulade<td class='s6'>Argelès<td class='s5'>11/07/2011<td class='s7'>Exploration<td class='s5'>21,4<td class='s5'>54<td class='s6'>- langoustes - poulpe - Mostelle - Hervia (7cm)<td class='s6'>Formation Nitrox<td class='s6'>Neptune plongée<td class='s6'>Bruno<td class='s4'><td class='s4'><td class='s6'>Nitrox 31%</tr> | |
<tr> | |
<td class='s3'>71<td class='s6'>Cap l'Abeille<td class='s6'>Argelès<td class='s5'>12/07/2011<td class='s7'>Exploration<td class='s5'>22<td class='s5'>50<td class='s6'>- 4 mérous - murène - Corbs - étoile de mer glaciaire<td class='s6'>Formation Nitrox<td class='s6'>Neptune plongée<td class='s6'>Bruno + Vincent<td class='s4'> | |
<td class='s4'><td class='s6'>Nitrox 34%</tr> | |
<tr> | |
<td class='s3'>72<td class='s6'>Sainte Catherine<td class='s6'>Cap Béar, Argelès<td class='s5'>14/07/2011<td class='s7'>Exploration<td class='s5'>20<td class='s5'>50<td class='s6'>- merle - étoile de mer lisse - murène - congre - thuruidille - dent de cochon - doris tricolor - doris dalmatien - doris tacheté mauve - tylodine jaune - aiptasie verte<td class='s4'><td class='s6'>Neptune plongée<td class='s6'>Bruno + Anne<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>73<td class='s6'>Cap l'Abeille<td class='s6'>Réserve Banyuls<td class='s5'>15/07/2011<td class='s7'>Exploration<td class='s5'>18,5<td class='s5'>56<td class='s6'>- 5 mérous - galathée bicolore - Corbs - Gorgone bleue - merles - sarre tambour<td class='s4'><td class='s6'>Neptune plongée<td class='s6'>Bruno + Anne<td class='s4'><td class='s4'><td class='s4'></tr> | |
<tr> | |
<td class='s3'>74<td class='s6'>Le Bananier<td class='s6'>Argelès<td class='s5'>16/07/2011<td class='s7'>Exploration<td class='s5'>39,7<td class='s5'>26<td class='s6'>- cheminée - chateau<td class='s6'>- visibilité : 1m<td class='s4'><td class='s6'>Fabienne + Brian + Anne + 1 mono<td class='s4'><td class='s4'><td class='s6'>épave</tr> | |
<tr><td class=hd><p style='height:19px;'>.</td> | |
<td class='s3'>75<td class='s6'>Sainte Catherine<td class='s6'>Cap Béar, Argelès<td class='s5'>18/07/2011<td class='s7'>Exploration<td class='s5'>20<td class='s5'>55<td class='s6'>- rascasses - merles - anémone charnue - aiptasie verte<td class='s4'><td class='s4'><td class='s6'>Anne<td class='s4'><td class='s4'><td class='s4'></tr></table> | |
<script type="text/javascript"> | |
$(document).ready(function() { | |
var divetable = document.getElementById("tblMain"); | |
var json = tableToJson(divetable); | |
for( var i =0; i < json.length; i++ ) { | |
var dateExploded = json[i].date.match(/([0-9]{1,2})\/([0-9]{1,2})\/([0-9]{4})/); | |
if(dateExploded) { | |
json[i].year = dateExploded[3]; | |
json[i].month = dateExploded[2]; | |
json[i].day = dateExploded[1]; | |
} | |
} | |
console.log(json); | |
$( "#diveTemplate" ).tmpl( json ).appendTo( "#divesRender" ); | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment