MicroID howto
DjangoID supports MicroID resource claiming. See the MicroID webpage for more information.
The system uses 2 key values to generate the ID's:
- Your DjangoID user page (eg. http://id.nicolast.be/nicolas/)
- The email address you're registered with in the Django auth system
You can claim pages by creating ClaimedUri? objects in the admin view for specific users. The URI will be displayed on the user page, including the corresponding MicroID values.
You could for example claim your last.fm account page, by adding
http://www.last.fm/user/username/
You can claim any other page (eg. your blog) by adding a corresponding meta header on it's index page. If you want to claim http://myblog.be, add this URI to the list of your claimed URI's, go to your user page, copy one of the MicroID values corresponding to http://myblog.be, and add this tag inside the head section of the index page of http://myblog.be:
<meta name="microid" content="microid_value_goes_here" />
Do notice the URI is used verbatim, so adding a "/" at the end would change it's MicroID too!
At last you got to run a script which checks all MicroID's in the system for their validity. Just go into the djangoid project directory, and run
python bin/checkmicroids.py
This script could be run from cron every few days, depending on your setup (eg. if you host other people).
