Home My Page Projects FusionForge
Summary Activity Forums Tracker Lists News SCM Files Mediawiki Hudson/Jenkins

FusionForge

FOAF Profiles Plugin

From FusionForge Wiki
(Redirected from Foaf Profiles Plugin)
Jump to: navigation, search
Name
FOAF Profiles Plugin
Description
The FOAF Profiles plugin ("foafprofiles") allows to serve a FOAF (Wikipedia) / FOAF (foaf-project.org) RDF+XML profile on /users/<login> URLs when using content-negociation, requesting application/rdf+xml
Directory
/plugins/foafprofiles
Plugin Changelog
Plugin Changelog for foafprofiles
Maintainer(s)
Status
maintained
Compatibility
Matrix by Fusionforge Version and by Linux Distribution
distribution\version 4.8.x 5.0.x 5.1.x 5.2.x 5.3.x 6.0.x master
Debian undefined undefined undefined undefined undefined undefined undefined
CentOS undefined undefined undefined undefined undefined undefined undefined



For instance, http://myforge/users/oberger/ would give (curl -H "Accept: application/rdf+xml" http://192.168.122.90/users/oberger/)

<?xml version="1.0"?>
<rdf:RDF
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
  xmlns:foaf="http://xmlns.com/foaf/0.1/"
  xmlns:sioc="http://rdfs.org/sioc/ns#">
     
 <foaf:OnlineAccount rdf:about="">
     <foaf:accountServiceHomepage rdf:resource="/"/>
     <foaf:accountName>oberger</foaf:accountName>
     <sioc:account_of rdf:resource="#person" />
     <foaf:accountProfilePage rdf:resource="" />
 </foaf:OnlineAccount>
   			
 <foaf:Person rdf:ID="person">
    <foaf:name>oberger</foaf:name>
    <foaf:holdsAccount rdf:resource="" />
    <foaf:mbox_sha1sum>f346a21b12a98f4a30a1d9861e16deaaebb17263</foaf:mbox_sha1sum>
 </foaf:Person>
   			
</rdf:RDF>

Cf. #235 provide OSLC (RDF+JSON, RDF+XML) content on .../user/ and .../project/ in FusionForge