132,6 → 132,7 |
$url_max = $illustration['about']; |
|
$value=array($url_miniature,$url_max); |
|
// Priorite aux images en png |
if (strstr($fichier, '.png')) { |
break; |
140,8 → 141,7 |
|
} |
|
$json = new Services_JSON(); |
$output = $json->encode($value); |
$output = json_encode($value); |
print($output); |
} |
|
154,9 → 154,6 |
|
function analyserFichierRdf($chemin) |
{ |
|
//print $chemin; |
|
$aso_info = array(); |
$dom = new DOMDocument(); |
$dom->validateOnParse = true; |
190,10 → 187,7 |
$aso_info['dcterms:licence'] = utf8_decode($rdf_description->getAttribute('licence')); |
$tab_infos[$rdf_description->getAttribute('identifier')] = $aso_info; |
} |
//echo '<pre>'.$chemin.print_r($tab_infos, true).'</pre>'; |
|
|
//print_r($tab_infos); |
return $tab_infos; |
} |
|