[ejabberd] Seeing users' genders: implementation opinions?
kirk.bateman at gmail.com
Thu Jun 18 02:12:27 MSD 2009
I was thinking something like vcard for storing the users gender as it
isn't likely to change often.
Could then store number of male and female contacts as either pubsub
or pep nodes. One issue though is, if a user changes gender at some
point then you need to recalculate the number of male and female
contacts for everyone that has that user on their roster. It might be
possible to force recalculation at login (during the get roster maybe).
On 17 Jun 2009, at 10:52 PM, Peter Saint-Andre <stpeter at stpeter.im>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> On 6/17/09 3:51 PM, Andy Skelton wrote:
>>> I can see some problems right now:
>> And more problems later on perhaps. I didn't give it more than ten
>> seconds thought. I just felt like brainstorming and that seemed like
>> something you hadn't thought of yet. :-)
> The VCARDDAV working group is adding a GENDER field to the next
> of the vCard standard, so you could use that.
> - --
> Peter Saint-Andre
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.8 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> -----END PGP SIGNATURE-----
> ejabberd mailing list
> ejabberd at jabber.ru
More information about the ejabberd