print "ERROR getting the Freshmeat RDF file\n"; print "ERROR code was:{$gRdf->error_code}\n"; print "command output was:"; print_r($gRdf->error_out); } $FRdf = new FreshMeatRdfs($gRdf->rdf_name); if (!$FRdf->Uncompress($gRdf->rdf_name)) { print "Could not uncompress the file {$gRdf->rdf_name}\n"; print "return code from uncompress:{$FRdf->error_code}\n"; print "Output from uncompress:{$FRdf->error_out}\n"; } $FMprojects = $FRdf->XtractProjInfo($FRdf->uncompressed_file); //print "We got the following from the rdf\n"; //var_dump($FMprojects); print "starting read and search\n"; while ($line = $INF->GetLine($INF->file_resource)) { // Convert to lower case, as FM does not capitalize.... $lc_proj = strtolower($line); //print "DB-TRAC: Looking for $lc_proj\n"; $found_it = $FRdf->FindInProjInfo($lc_proj, $FMprojects); //print "DB: TRAC: found_it is:\n"; //var_dump($found_it); if (!is_null($found_it)) { //print "Found a match in Freshmeat: $found_it\n"; $found["{$lc_proj}"] = $found_it; } } //print "DB: TRAC: After while: found in FM is:\n"; //var_dump($found); /* * at this point, need to determine if there is something to get, then