My favorites | Sign in
Project Home Downloads Issues Source
Project Information
Members
Featured
Downloads

The purpose of this module is to free user's social graph by the use of the foaf format. A user creates his profile in the editor, including relations, or directly imports his foaf file. The generated user profile will be available from the web as a foaf file. User's profiles are not locked anymore in a closed datastore but remains free and under user's control.

The version 0.1 is still a beta.

Features

  • Generic foaf viewer: can view any foaf file from an url
  • Builtin foaf editor
  • Import of foaf files
  • Relationship management
  • Discovery browsing through relations

Dependencies

Install

This software works with django 0.97 svn

  • Put the folder django_foaf in your python path
  • Copy and adapt the templates in your project
  • Copy the content of the templatetags folder in one of your registered app templatetags folder
  • Add this line to your urls.py:
 (r'^foaf/', include('django_foaf.urls')),
  • Add these lines to settings:
 FOAF_DATA='/var/www/mysite/rdf/foaf/'
 FOAF_URI='http://www.mysite.org/rdf/foaf/'
 FOAF_MAX_LINES=1200
  • FOAF_DATA is the local path where you want to store the user's foaf files. This directory must be accessible to your web server.
  • FOAF_URI is the external uri from where the user's foaf files will be accessible from the web.
  • FOAF_MAX_LINES is the maximum of lines a foaf file can have to be parsed. This can be used to preserve the ressources of your system.

Notes

This module does not use the database, all the data is stored and processed in rdf files.

The application is not yet internationalized: all the application messages are in french. Help welcome.

Use

Please report any bugs

Contribute and feedback

Feel free to improve the code or to come talk about the module: syntax_error in #django-fr on irc.freenode.net - Site: http://www.patrainet.com

Powered by Google Project Hosting