Dev OpenID

From Dreamwidth Notes
Revision as of 21:15, 12 September 2008 by Foxfirefey (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Things To Do

Associated OpenID code

$LJ::IMGPREFIX/openid-profile.gif

This will get you the wee little OpenID profile icon.

ljconfig.pl

Configuration variables that enable or disable server and consumer support.

  • $OPENID_SERVER
  • $OPENID_CONSUMER

$LJ::SITEROOT/cgi-bin/LJ/OpenID.pm

$LJ::SITEROOT/cgi-bin/Net/OpenID/

$LJ::SITEROOT/cgi-bin/ljdefaults.pl

  • Sets the location of the OpenID server to $LJ::SITEROOT/openid/server.bml if $OPENID_SERVER is set to 1.

$LJ::SITEROOT/cgi-bin/talklib.pl

$LJ::SITEROOT/cgi-bin/ljviews.pl

Appears to put the OpenID autodiscovery information in the head:

  1. $lastn_page{'head'} .= $u->openid_tags;

$LJ::SITEROOT/cgi-bin/ljfeed.pl

create_view_foaf

The function create_view_foaf sets OpenID attributes for the user, but not a community:

$ret .= "    <foaf:openid rdf:resource=\"" . $u->journal_base . "/\" />\n"
        unless $comm;

create_view_yadis

The function create_view_yadis enables YADIS capability discovery.

$LJ::SITEROOT/cgi-bin/Apache/LiveJournal/Interface/ElsewhereInfo.pm

$LJ::SITEROOT/cgi-bin/LJ/ExternalSite.pm