Log in

Dan Brickley

Finding a community maintainer ID without html scraping?

Finding a community maintainer ID without html scraping?

Previous Entry Share Next Entry
Hi folks

Recently I've had a number of conversations with various parties about use of FOAF with OpenID for communities (eg. in context of apps such as http://jyte.com/profile/danbri.org or http://doxory.com/ or combining MediaWiki's OpenID support with WikiTravel's FOAF support), or the various efforts around the SIOC format.

I see that LJ now has FOAF descriptions of groups, alongside OpenID support, and wonder whether it might be possible to tweak the output to indicate which of the group members are admins, for each group. This would allow external sites to offer extra features for the group by authenticating over OpenID and taking LJ's FOAF feed as an indicator for who amongst the group members to offer admin-related functionality to.

For example, http://community.livejournal.com/ljfoaf/profile in HTML tells me that Chris is a maintainer of this group.

I have an experimental MediaWiki + OpenID installation for the FOAF project (an external site on the same topic as this group) at http://wiki.foaf-project.org/Special:OpenIDLogin

Currently, this allows folk here to login via their OpenID-hosted LJ IDs. And we could figure out from LJ Community FOAF descriptions who was in which group. But we don't know who is a maintainer.

Example use case: 3rd party sites might want to add a "create a page for your group" function, but only open this up for the group maintainers, rather to any random group member.


http://community.livejournal.com/ljfoaf/data/foaf currently lists the maintainer amongst the members, eg. as

(angle brackets removed for postability, writted as "{" and "}" here instead)...

{rdfs:seeAlso rdf:resource="http://crschmidt.livejournal.com/data/foaf" /}
{foaf:weblog rdf:resource="http://crschmidt.livejournal.com/"/}

There are various ways the Maintainer role could be represented. Simplest for now might be to add
<ya:adminuser>crschmidt</ya:adminuser> to the foaf:Group element in the FOAF feed. This might be suboptimal (eg. there are various roles one might have in a group, and various ways that the userid could be indicated). But it would be progress enough to open up some new kinds of app without resorting to HTML parsing.

Thanks for any thoughts!

  • my quiz for all

    You are The Best!!!

Powered by LiveJournal.com