FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Public Member Functions | |
Uncompress ($file) | |
FindInProjInfo ($name, $search_space) | |
XtractProjInfo ($rdf_file) | |
write2file ($array_var) | |
Public Attributes | |
$error_code = NULL | |
$error_out = array() | |
$uncompresser = 'bunzip2' | |
$uncompressed_file = NULL | |
Private Attributes | |
$project_info = array () | |
Class to deal with freshmeat rdfs.
To download a fresmeat rdf, see the class GetFreshMeatRdf.
Created on Jun 6, 2008
Definition at line 18 of file FreshmeatRdfs.php.
FreshmeatRdfs::FindInProjInfo | ( | $name, | |
$search_space | |||
) |
Given an array of projects, find a project in the array.
string | $name | package name |
array | $search_space | the array of packages |
string | $name | project name to find |
array | $search_space | the array to search |
NOTE: project names are not standard. The names Open Logic uses may not be the same as the name in freshmeat (for the same project).
Additionally, the names may not be spelled the same or have the same capitalization.
Definition at line 68 of file FreshmeatRdfs.php.
FreshmeatRdfs::XtractProjInfo | ( | $rdf_file | ) |
method: XtractProjInfo
Reads the input file into a structure and returns the structure sorted by project name. See the internal comments for the format of the structure.
The input file is expected to be in the FreashMeat rdf format.
string | $rdf_file | path to xml file in FM rdf format |
Definition at line 121 of file FreshmeatRdfs.php.