Monday, November 08, 2010 at 12:04 AM.

system.verbs.builtins.opmlEditor.prefs.validateIdenticaLogin

on validateIdenticaLogin () {
	<<Changes
		<<8/6/08; 7:50:26 AM by DW
			<<Created. 
	local (pta = html.getpagetableaddress ());
	if pta^.method == "POST" {
		if identica.authenticate (user.identica.prefs.username, user.identica.prefs.password) {
			s = "<font color=\"green\">The username/password combination checks out with Identi.ca.</font>"}
		else {
			s = "<font color=\"red\">Identi.ca rejected the username/password combination.</font>"};
		return (s)}
	else {
		return ("")}}



This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.