[xwiki-devs] http://webid.myxwiki.org/
A very basic implementation of foaf+ssl is up here: http://webid.myxwiki.org/ We put it up at its own wiki to allow us more freedom to try out new ideas. You can currently create an account there, then create your X509 certificate in one click which you can use to login to other sites. Some things that would be fun to put there: 1- cool homepage URLs ------------------- For example: http://webid.myxwiki.org/id/bblfish would be nice, and a lot better than http://webid.myxwiki.org/xwiki/bin/view/XWiki/hjs This would then allow us later to all have URLs like http://xwiki.org/id/bblfish Which makes for good OpenIds. 2- Add OpenId to the home pages ------------------------------ This is extremely easy. Just add <link rel="openid2.provider openid.server" href="http://openid4.me/index.php"/> to the header of the profile page. http://OpenId4.me/ automatically logs one in then if one has a WebId 3- Add Foaf+ssl login to xwiki ------------------------------ - using https://foafssl.org/srv/idp to start off with to get the basics right - by developing a module that fits into xwiki (more setup costs, but speeds things up a lot) 4- Somewhat more clever authentication policies ----------------------------------------------- Using foaf+ssl one can develop rules to give access to parts of the wiki to all the friends of one's friends, to all people working on a project (described by DOAP), etc... Many more ideas. But I'll be happy if the above work. I think that should get everyone here interested enough to develop more such cool examples. Social Web Architect http://bblfish.net/ Social Web Architect http://bblfish.net/
On 9 Mar 2010, at 20:40, Story Henry wrote:
A very basic implementation of foaf+ssl is up here:
While fixing Chrome [0], we found a bug with my previous implementation of webid.myxwiki.org, that made any services using http://foafssl.org/srv/idp unable to login users. Luckily Damian Steer, the author of the Java RDFa library [1] we are using, was here to help me out of this. He found that the cause of the problem was the invalid XHTML I had written on the xwiki homepages. I had placed a <div> inside a table, which the java html5 parsers - which the rdfa parser feeds on - saw as an error, and corrected in such a way as to make the RDFa graph invalid. I now replaced this with a <tbody> and it works fine. This goes to show the importance of validating ones XHTML early. Validating XHTML, which is much cleaner than html, is going to be much easier, than working out the details that html5 parsers have to deal with. Of course when popping something in a validator it helps to do the work correctly. It's easier to test for 0 bugs, than to decide which ones are legitimate and which ones not. So for XHTML+RDFa development, it would help if one could put the following at the top of the document <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"> Then the rdfa tags would no longer be flagged by http://validator.w3.org/ What is the best way to do this in XWiki? Henry PS. If you had trouble logging into http://foaf.me or http://nanoblog.me/ previously, try again. It should work now. [0] http://code.google.com/p/chromium/issues/detail?id=37765 [1] http://github.com/shellac/java-rdfa
participants (1)
-
Story Henry