XRDS-Simple
This plugin has moved to WordPress extend.
This plugin allows the user to easily delegate their OpenID to their WordPress blog, and also allows other plugins to easily add XRDS-Simple services / XRDs to the document (such as an OAuth plugin easily adding OAuth discovery data).
The API
To add an XRDS-simple section from you own plugin (1) require that this one be installed (maybe even include it in the archive) (2) add data like so:
register_xrd_service('main', 'Service Name', array(
'Type' => array( array('content' => 'TYPE URI') ),
'URI' => array( array('content' => 'SERVICE URL' ) ),
) );
You can also add an XRD by registering it with register_xrd(‘id’) – and then using id instead of main in the register_xrd_service call.
One Response
Eros Pedrini โข
Dear Stephen,
I have a question for you ๐
I tried to use XRDS-Simple (v1.0), downloaded from WordPress extend, in conjunction with OpenID plugin (by DiSo Development Team) but I have a “small” problem ๐
It seems to work correctly with Firefox, Chrome, and Safari browsers… but IE (ver. 8 and 7) isn’t able to load the my blog when the plugin is active.
Do you have any ideas?
Thanks in advance for your help.
cheers,
Eros