Publications HAL de la collection

Pour d'autres collections de publications, vous pouvez personnaliser l'adresse de cette page : par exemple, si le code de la collection est "UPEC-UPEM", tapez l'adresse http://igm.univ-mlv.fr/~gambette/ExtractionHAL/ExtractionHAL.php?team=UPEC-UPEM ou pour en savoir plus sur cet outil d'extraction à partir des données HAL, contactez-moi.

Vous pouvez télécharger le code source PHP de cette page à l'adresse http://igm.univ-mlv.fr/~gambette/ExtractionHAL/ExtractionHAL.txt.

Logo HAL

HAL peut être utilisé pour des synthèses bibliographiques comme montré ci-dessous, mais a été initialement conçu pour favoriser le libre accès aux productions de la recherche financée par des fonds publics.

Déposer les PDF de ses publications sur HAL est un bon moyen :

La diffusion du fichier PDF produit par l'éditeur est souvent proscrite pour des raisons de propriété intellectuelle, mais la diffusion du fichier "preprint" (avant intervention du comité de relecture) ou "postprint" (après) est le plus souvent autorisée (cf. Sherpa/Romeo pour le savoir en fonction de la revue en question).

Sommaire

. */ function getReferences($infoArray,$sortArray,$docType,$collCode_s,$specificRequestCode,$countries){ $docType_s=$docType; $contents = file_get_contents("http://api.archives-ouvertes.fr/search/?q=collCode_s:".$collCode_s."%20AND%20docType_s:".$docType_s.$specificRequestCode."&rows=0"); $contents = utf8_encode($contents); $results = json_decode($contents); $numFound=$results->response->numFound; //Extracted fields depend on type of reference: $fields="docid,authFullName_s,title_s,files_s,label_s"; if ($docType_s=="ART"){ $fields="docid,authFullName_s,authAlphaLastNameFirstNameId_fs,title_s,journalTitle_s,volume_s,issue_s,page_s,producedDateY_i,proceedings_s,files_s,label_s"; } if ($docType_s=="COMM"){ $fields="docid,authFullName_s,authAlphaLastNameFirstNameId_fs,title_s,conferenceTitle_s,city_s,country_s,conferenceStartDate_s,producedDateY_i,proceedings_s,comment_s,files_s,label_s"; } if ($docType_s=="POSTER"){ $fields="docid,authFullName_s,authAlphaLastNameFirstNameId_fs,title_s,conferenceTitle_s,city_s,country_s,conferenceStartDate_s,producedDateY_i,proceedings_s,files_s,label_s"; } if ($docType_s=="OTHER" or $docType_s=="OTHERREPORT"){ $fields="docid,authFullName_s,authAlphaLastNameFirstNameId_fs,title_s,conferenceTitle_s,city_s,country_s,conferenceStartDate_s,producedDateY_i,proceedings_s,comment_s,files_s,label_s"; } if ($docType_s=="OUV" or $docType_s=="DOUV"){ $fields="docid,authFullName_s,authAlphaLastNameFirstNameId_fs,title_s,scientificEditor_s,publisher_s,producedDateY_i,proceedings_s,files_s,label_s"; } if ($docType_s=="COUV" or $docType_s=="DOUV"){ $fields="docid,authFullName_s,authAlphaLastNameFirstNameId_fs,title_s,bookTitle_s,scientificEditor_s,publisher_s,producedDateY_i,proceedings_s,files_s,label_s"; } if ($docType_s=="PATENT"){ $fields="docid,authFullName_s,authAlphaLastNameFirstNameId_fs,title_s,number_s,producedDate_s,producedDateY_i,files_s,label_s"; } $contents = file_get_contents("http://api.archives-ouvertes.fr/search/?q=collCode_s:".$collCode_s."%20AND%20docType_s:".$docType_s.$specificRequestCode."&rows=".$numFound."&fl=".$fields); //$contents = utf8_encode($contents); $results = json_decode($contents); //var_dump($results); foreach($results->response->docs as $entry){ $img=""; if($entry->files_s){ $img="files_s[0]."\">"; } $img.=" docid."&wt=bibtex\">"; $entryInfo = ""; //Adding authors: $initial = 1; foreach($entry->authFullName_s as $author){ if ($initial==1){ $entryInfo = $author; $initial=0; } else { $entryInfo = $entryInfo.", ".$author; } } //Adding title: $entryInfo = $entryInfo.", « ".$entry->title_s[0]." »"; //Adding bookTitle_s: if ($docType_s=="COUV"){ $entryInfo = $entryInfo.", ".$entry->bookTitle_s.""; } //Adding journalTitle_s: if ($docType_s=="ART"){ $entryInfo = $entryInfo.", ".$entry->journalTitle_s.""; } $hasVolumeOrNumber=0; $toAppear=0; //Adding volume_s: if ($docType_s=="ART"){ if(!is_array($entry->volume_s)){ if($entry->volume_s!="" and $entry->volume_s!=" " and $entry->volume_s!="-" and $entry->volume_s!="()"){ if(toAppear($entry->volume_s)){ $toAppear=1; } else { $entryInfo = $entryInfo." ".$entry->volume_s; $hasVolumeOrNumber=1; } } } } //Adding issue_s: if ($docType_s=="ART"){ if(!is_array($entry->issue_s)){ if($entry->issue_s!="" and $entry->issue_s!=" " and $entry->issue_s!="-" and $entry->issue_s!="()"){ if(toAppear($entry->issue_s)){ $toAppear=1; }else{ $entryInfo = $entryInfo."(".$entry->issue_s.")"; $hasVolumeOrNumber=1; } } } } //Adding scientificEditor_s: if ($docType_s=="OUV" or $docType_s=="DOUV" or $docType_s=="COUV"){ if(sizeof($entry->scientificEditor_s)>0){ $initial = 1; foreach($entry->scientificEditor_s as $editor){ if ($initial==1){ $entryInfo = $entryInfo.", ".$editor; $initial=0; } else { $entryInfo = $entryInfo.", ".$editor; } } } } //Adding publisher_s: if ($docType_s=="OUV" or $docType_s=="DOUV" or $docType_s=="COUV"){ if(!$entry->publisher_s[0]==""){ $entryInfo = $entryInfo.", ".$entry->publisher_s[0]; } } //Adding page_s: if ($docType_s=="ART" or $docType_s=="COUV"){ $page = $entry->page_s; $patterns = array(); $patterns[0] = '/--/'; $patterns[1] = '/Pages:/'; $patterns[2] = '/–/'; $patterns[3] = '/ - /'; $replacements = array(); $replacements[0] = '-'; $replacements[1] = ''; $replacements[2] = '-'; $replacements[3] = '-'; $page = preg_replace($patterns, $replacements, $page); if(substr($page,0,1)==" "){ $page=substr($page,-(strlen($page)-1)); } if(toAppear($page)){ $toAppear=1; } if($toAppear==1){ $entryInfo = $entryInfo.", to appear"; } else { if(!($page=="?" or $page=="-" or $page=="" or $page==" " or $page=="–")){ if($hasVolumeOrNumber==1){ $entryInfo = $entryInfo.":".$page; }else{ $entryInfo = $entryInfo." ".$page; } } } } //Adding conferenceTitle_s: if ($docType_s=="COMM" or $docType_s=="POSTER"){ $entryInfo = $entryInfo.", ".$entry->conferenceTitle_s; } //Adding comment: if (($docType_s=="COMM" and $specificRequestCode=="%20AND%20invitedCommunication_s:1") or ($docType_s=="OTHER") or ($docType_s=="OTHERREPORT")){ if ($entry->comment_s!="" and $entry->comment_s!=" " and $entry->comment_s!="-" and $entry->comment_s!="?"){ $entryInfo = $entryInfo.", ".$entry->comment_s; } } //Adding city_s: if ($docType_s=="COMM" or $docType_s=="POSTER"){ if($entry->city_s!=""){ $entryInfo = $entryInfo.", ".$entry->city_s; } } //Adding country_t: if ($docType_s=="COMM" or $docType_s=="POSTER"){ if($entry->country_s!=""){ $entryInfo = $entryInfo.", ".$countries[$entry->country_s]; } } //Adding conferenceStartDate_s: if ($docType_s=="COMM" or $docType_s=="POSTER"){ $entryInfo = $entryInfo.", ".$entry->conferenceStartDate_s; } //Adding patent number: if ($docType_s=="PATENT"){ $entryInfo = $entryInfo." ".$entry->number_s[0]; } //Adding producedDate_s: if ($docType_s=="PATENT"){ $entryInfo = $entryInfo." (".$entry->producedDate_s.")"; } //Adding producedDateY_i: if ($docType_s=="ART" or $docType_s=="OUV" or $docType_s=="DOUV" or $docType_s=="COUV" or $docType_s=="OTHER" or ($docType_s=="OTHERREPORT")){ $entryInfo = $entryInfo." (".$entry->producedDateY_i.")"; } //Adding the reference to the array array_push($infoArray,$entryInfo); array_push($sortArray,substr(10000-($entry->producedDateY_i),0,5)."-".$entry->authAlphaLastNameFirstNameId_fs[0]."-".$entry->title_s[0]."-".$entry->producedDateY_i); } $result=array(); array_push($result,$infoArray); array_push($result,$sortArray); return $result; } function toAppear($string){ $toAppear=0; if (strtolower($string)=="accepted" or strtolower($string)=="accepté" or strtolower($string)=="to appear" or strtolower($string)=="accepted manuscript"){ $toAppear=1; } return $toAppear; } function displayRefList($docType_s,$collCode_s,$specificRequestCode,$countries,$refType){ $infoArray = array(); $sortArray = array(); if ($docType_s=="COMPOSTER"){ //Request on a union of HAL types $result = getReferences($infoArray,$sortArray,"COMM",$collCode_s,$specificRequestCode,$countries); $infoArray = $result[0]; $sortArray = $result[1]; $result = getReferences($infoArray,$sortArray,"POSTER",$collCode_s,$specificRequestCode,$countries); $infoArray = $result[0]; $sortArray = $result[1]; } else { if ($docType_s=="VULG"){ //Request on a union of HAL types $result = getReferences($infoArray,$sortArray,"COUV",$collCode_s,$specificRequestCode,$countries); $infoArray = $result[0]; $sortArray = $result[1]; $result = getReferences($infoArray,$sortArray,"OUV",$collCode_s,$specificRequestCode,$countries); $infoArray = $result[0]; $sortArray = $result[1]; } else { if ($docType_s=="OTHER"){ //Request on a union of HAL types $result = getReferences($infoArray,$sortArray,"OTHER",$collCode_s,$specificRequestCode,$countries); $infoArray = $result[0]; $sortArray = $result[1]; $result = getReferences($infoArray,$sortArray,"OTHERREPORT",$collCode_s,$specificRequestCode,$countries); $infoArray = $result[0]; $sortArray = $result[1]; } else { //Request on a simple HAL type $result = getReferences($infoArray,$sortArray,$docType_s,$collCode_s,$specificRequestCode,$countries); $infoArray = $result[0]; $sortArray = $result[1]; } } } array_multisort($sortArray, $infoArray); $currentYear="99999"; $i=0; $yearNumbers = array(); foreach($infoArray as $entryInfo){ if (strcmp($currentYear,substr($sortArray[$i],-4))==0){ echo "

".$entryInfo."

"; $yearNumbers[substr($sortArray[$i],-4)]+=1; } else { echo "

".substr($sortArray[$i],-4)."

"; $yearNumbers[substr($sortArray[$i],-4)]=1; $currentYear=substr($sortArray[$i],-4); echo "

".$entryInfo."

"; } $i++; } return $yearNumbers; } ?> "Afghanistan", "za" => "Afrique du Sud", "al" => "Albanie", "dz" => "Algerie", "de" => "Allemagne", "ad" => "Andorre", "ao" => "Angola", "ai" => "Anguilla", "aq" => "Antarctique", "ag" => "Antigua et Barbuda", "an" => "Antilles Néerlandaises", "sa" => "Arabie Saoudite", "ar" => "Argentine", "am" => "Arménie", "aw" => "Aruba", "au" => "Australie", "at" => "Autriche", "az" => "Azerbaidjan", "bs" => "Bahamas", "bh" => "Bahrein", "bd" => "Bangladesh", "bb" => "Barbade", "be" => "Belgique", "bz" => "Belize", "bm" => "Bermudes", "bt" => "Bhoutan", "bo" => "Bolivie", "ba" => "Bosnie et Herzégovine", "bw" => "Botswana", "bv" => "Bouvet Island", "bn" => "Brunei", "br" => "Brésil", "bg" => "Bulgarie", "bf" => "Burkina Faso", "bi" => "Burundi", "by" => "Biélorussie", "bj" => "Bénin", "kh" => "Cambodge", "cm" => "Cameroun", "ca" => "Canada", "cv" => "Cap Vert", "cl" => "Chili", "cn" => "Chine", "cy" => "Chypre", "va" => "Cité du Vatican", "co" => "Colombie", "km" => "Comores", "cg" => "Congo, République", "cd" => "République Démocratique du Congo", "kp" => "Corée du Nord", "kr" => "Corée du Sud", "cr" => "Costa Rica", "hr" => "Croatie", "cu" => "Cuba", "cw" => "Curacao", "ci" => "Côte d'Ivoire", "dk" => "Danemark", "dj" => "Djibouti", "dm" => "Dominique", "eg" => "Egypte", "ae" => "Emirats Arabes Unis", "ec" => "Equateur", "er" => "Erythrée", "es" => "Espagne", "ee" => "Estonie", "us" => "Etats-Unis", "et" => "Ethiopie", "fj" => "Fidji", "fi" => "Finlande", "fr" => "France", "fx" => "France métropolitaine", "ga" => "Gabon", "gm" => "Gambie", "ps" => "Gaza", "gh" => "Ghana", "gi" => "Gibraltar", "gd" => "Grenade", "gl" => "Groenland", "gr" => "Grèce", "gp" => "Guadeloupe", "gu" => "Guam", "gt" => "Guatemala", "gn" => "Guinée", "gw" => "Guinée Bissau", "gq" => "Guinée Equatoriale", "gy" => "Guyane", "gf" => "Guyane Française", "ge" => "Géorgie", "gs" => "Géorgie du Sud et les îles Sandwich du Sud", "ht" => "Haïti", "hn" => "Honduras", "hk" => "Hong Kong", "hu" => "Hongrie", "im" => "Ile de Man", "ky" => "Iles Caïman", "cx" => "Iles Christmas", "cc" => "Iles Cocos", "ck" => "Iles Cook", "fo" => "Iles Féroé", "gg" => "Iles Guernesey", "hm" => "Iles Heardet McDonald", "fk" => "Iles Malouines", "mp" => "Iles Mariannes du Nord", "mh" => "Iles Marshall", "mu" => "Iles Maurice", "um" => "Iles mineures éloignées des Etats-Unis", "nf" => "Iles Norfolk", "sb" => "Iles Salomon", "tc" => "Iles Turques et Caïque", "vi" => "Iles Vierges des Etats-Unis", "vg" => "Iles Vierges du Royaume-Uni", "in" => "Inde", "id" => "Indonésie", "ir" => "Iran", "iq" => "Iraq", "ie" => "Irlande", "is" => "Islande", "il" => "Israël", "it" => "Italie", "jm" => "Jamaique", "jp" => "Japon", "je" => "Jersey", "jo" => "Jordanie", "kz" => "Kazakhstan", "ke" => "Kenya", "kg" => "Kirghizistan", "ki" => "Kiribati", "xk" => "Kosovo", "kw" => "Koweit", "la" => "Laos", "ls" => "Lesotho", "lv" => "Lettonie", "lb" => "Liban", "ly" => "Libye", "lr" => "Libéria", "li" => "Liechtenstein", "lt" => "Lituanie", "lu" => "Luxembourg", "mo" => "Macao", "mk" => "Macédoine", "mg" => "Madagascar", "my" => "Malaisie", "mw" => "Malawi", "mv" => "Maldives", "ml" => "Mali", "mt" => "Malte", "ma" => "Maroc", "mq" => "Martinique", "mr" => "Mauritanie", "yt" => "Mayotte", "mx" => "Mexique", "fm" => "Micronésie", "md" => "Moldavie", "mc" => "Monaco", "mn" => "Mongolie", "ms" => "Montserrat", "me" => "Monténégro", "mz" => "Mozambique", "mm" => "Birmanie", "na" => "Namibie", "nr" => "Nauru", "ni" => "Nicaragua", "ne" => "Niger", "ng" => "Nigeria", "nu" => "Niue", "no" => "Norvège", "nc" => "Nouvelle Calédonie", "nz" => "Nouvelle Zélande", "np" => "Népal", "om" => "Oman", "ug" => "Ouganda", "uz" => "Ouzbékistan", "pk" => "Pakistan", "pw" => "Palau", "pa" => "Panama", "pg" => "Papouasie Nouvelle Guinée", "py" => "Paraguay", "nl" => "Pays-Bas", "ph" => "Philippines", "pn" => "Pitcairn", "pl" => "Pologne", "pf" => "Polynésie Française", "pr" => "Porto Rico", "pt" => "Portugal", "pe" => "Pérou", "qa" => "Qatar", "ro" => "Romanie", "gb" => "Royaume-Uni", "ru" => "Russie", "rw" => "Rwanda", "cf" => "République Centraficaine", "do" => "République Dominicaine", "cz" => "République Tchèque", "re" => "Réunion", "eh" => "Sahara Occidental", "bl" => "Saint Barthelemy", "sh" => "Saint Hélène", "kn" => "Saint Kitts et Nevis", "mf" => "Saint Martin", "sx" => "Saint Martin", "pm" => "Saint Pierre et Miquelon", "vc" => "Saint Vincent et les Grenadines", "lc" => "Sainte Lucie", "sv" => "Salvador", "as" => "Samoa Americaines", "ws" => "Samoa Occidentales", "sm" => "San Marin", "st" => "Sao Tomé et Principe", "rs" => "Serbie", "sc" => "Seychelles", "sl" => "Sierra Léone", "sg" => "Singapour", "sk" => "Slovaquie", "si" => "Slovénie", "so" => "Somalie", "sd" => "Soudan", "lk" => "Sri Lanka", "ss" => "Sud Soudan", "ch" => "Suisse", "sr" => "Surinam", "se" => "Suède", "sj" => "Svalbard et Jan Mayen", "sz" => "Swaziland", "sy" => "Syrie", "sn" => "Sénégal", "tj" => "Tadjikistan", "tw" => "Taiwan", "tz" => "Tanzanie", "td" => "Tchad", "tf" => "Terres Australes et Antarctique Françaises", "ps" => "Territoires Palestiniens occupés", "th" => "Thaïlande", "tl" => "Timor-Leste", "tg" => "Togo", "tk" => "Tokelau", "to" => "Tonga", "tt" => "Trinité et Tobago", "tn" => "Tunisie", "tm" => "Turkmenistan", "tr" => "Turquie", "tv" => "Tuvalu", "io" => "Territoire Britannique de l'Océan Indien", "ua" => "Ukraine", "uy" => "Uruguay", "vu" => "Vanuatu", "ve" => "Venezuela", "vn" => "Vietnam", "wf" => "Wallis et Futuna", "ye" => "Yemen", "zm" => "Zambie", "zw" => "Zimbabwe"); $numbers=array(); echo "

Articles dans revues avec comité de lecture

"; $numbers["ACL"]=displayRefList("ART",$team,"%20AND%20peerReviewing_s:1",$countries,"ACL"); echo "

Articles dans revues sans comité de lecture

"; $numbers["ASCL"]=displayRefList("ART",$team,"%20AND%20peerReviewing_s:0",$countries,"ASCL"); echo "

Communication dans des conférences (avec et sans actes, posters)

"; $numbers["COMM"]=displayRefList("COMPOSTER",$team,"%20AND%20invitedCommunication_s:0",$countries,"COMM"); echo "

Conférences invitées

"; $numbers["INV"]=displayRefList("COMPOSTER",$team,"%20AND%20invitedCommunication_s:1",$countries,"INV"); echo "

Ouvrages scientifiques

"; $numbers["OUV"]=displayRefList("OUV",$team,"%20AND%20popularLevel_s:0",$countries,"OUV"); echo "

Direction d'ouvrages

"; $numbers["DOUV"]=displayRefList("DOUV",$team,"",$countries,"DOUV"); echo "

Chapitres d'ouvrages

"; $numbers["COUV"]=displayRefList("COUV",$team,"%20AND%20popularLevel_s:0",$countries,"COUV"); echo "

Brevets

"; $numbers["PATENT"]=displayRefList("PATENT",$team,"",$countries,"PATENT"); echo "

Ouvrages et chapitres de vulgarisation

"; $numbers["VULG"]=displayRefList("VULG",$team,"%20AND%20popularLevel_s:1",$countries,"VULG"); echo "

Séminaires, workshops

"; $numbers["SEM/WOR"]=displayRefList("OTHER",$team,"",$countries,"SEM/WOR"); echo "

Bilan quantitatif

"; //Find all years with publications $availableYears=array(); foreach($numbers as $rType => $yearNumbers){ foreach($yearNumbers as $year => $nb){ $availableYears[$year]=1; } } ksort($availableYears); //Display the table of publications by year (column) and by type (line) echo ""; echo ""; foreach($availableYears as $year => $nb){ echo ""; } echo ""; foreach($numbers as $rType => $yearNumbers){ echo ""; foreach($availableYears as $year => $nb){ if(array_key_exists($year,$yearNumbers)){ echo ""; } else { echo ""; } } echo ""; } echo "
".$year."
".$rType."".$yearNumbers[$year]."0
"; ?>