MicroID
Component ID
Component name
Component type
Component security advisory coverage
Downloads
Component created
Component changed
Component body
The MicroID Module - Dynamicly generates a MicroID hash from a node authors email and the URL of the node. This module currently uses version 0.3 of the MicroID Spec. The module generates some JavaScript that attaches a class to each node with the unique MicroID for that node. It also add's a metatag to the header of each node view. The module also provides the facility to turn off the 2 types of MicroID generation at both the site level, and at the user level to (so your contributors can switch it off if they like). If you would like to see this in action, check it out on my site using Firefox.
This module contains code originally released under the Apache 2.0 License and developed by Will Norris.
To use this module, you require one small change to your node.tpl.php file. Where is reads:
<div class="node<?php if ($sticky) { print " sticky"; } ?><?php if (!$status) { print " node-unpublished"; } ?>">
Change this to:
<div id="node-<?php print $node->nid ?>" class="node<?php if ($sticky) { print " sticky"; } ?><?php if (!$status) { print " node-unpublished"; } ?>">
This allows the jQuery script to be run that attaches the microID to the specific node. If not applied, only a <META> tag will be added.