print '<br />'. sprintf( _('Preview <a href="%1$s">ADMS.SW meta-data</a> about the project'), util_make_url ('/plugins/'. $this->name .'/projectturtle.php?group_id='.$group_id));
}
-
//
// Utility functions
//
$types = array('doap:Project', 'admssw:SoftwareProject');
rdfutils_setPropToUri($res, 'rdf:type', $types);
-
// Handle project tags
$tags_list = NULL;
if (forge_get_config('use_project_tags')) {
// same as for trove's full list
$projects = get_public_active_projects_asc();
-
if ( isset($chunk) && isset($chunksize) ) {
// TODO : do some checks on $chunk $chunksize values
// if ( ($chunk < 1) && ($chunksize >= 1) ) {
return $p;
}
-
/**
* Provides either an HTML preview looking like turtle, or plain RDF of the ADMS.SW SoftwareRepository meta-data
*
$doc .= $graph->dump();
- $doc .= _('To access this RDF document, you may use, for instance :<br />');
+ $doc .= _('To access this RDF document, you may use, for instance:');
+ $doc .= '<br />';
$doc .= '<tt>$ curl -L -H "Accept: text/turtle" '. $documenturi .'</tt><br />';
- $doc .= _('This may redirect to several pages documents in case of too big number of results (observing the LDP paging specifications).<br /><br />');
+ $doc .= _('This may redirect to several pages documents in case of too big number of results (observing the LDP paging specifications).');
+ $doc .= '<br /><br />';
- $doc .= _('Alternatively, if you are sure you want the full dump in one single document, use :<br />');
+ $doc .= _('Alternatively, if you are sure you want the full dump in one single document, use:');
+ $doc .= '<br />';
$doc .= '<tt>$ curl -H "Accept: text/turtle" "'. $documenturi .'?allatonce"</tt>';
}
*/
public function content_negociated_projects_list (&$params) {
-
$accept = $params['accept'];
// we are asked for RDF either as RDF+XML or Turtle
}
}
-
//
// Trove related methods
//