From: Bjoern V. <bj...@cs...> - 2006-03-27 11:18:50
|
Hello all! > > (2) explain the user that this is a Jabber server comment > >=20 > > (something like: _("Jabber server comment: ") + instructions) >=20 > (2) is superior to (1). I've just committed something like that. We'll > see how people like that. Ok, I tested my committed change and think, it's ok. > > (3) don't use the server comment, only use Gaim's own comment >=20 > I don't like this; it throws away useful data. My question to Jabber experts is: How useful are these search comments for Gaim? The example comment from users.jabber.org was: | Find a contact by entering the search criteria in the given | fields. Note: Each field supports wild card searches (%) The search fields (First Name, Last Name, Nickname and E-Mail) are hard-coded in Gaim (see src/protocols/jabber/buddy.c). It's relatively clear that the user has to fill one or more of this fields to search. The only interesting information is, that wild card searches (with "%") are possible. =20 There is not much documentation about JUD (Jabber User Directory). Look at this README file from http://modzer0.cs.uaf.edu/wiki/index.php/Jabber/JUD: | JUD - Jabber User Directory | --------------------------- | http://jud.jabberstudio.org/ |=20 | This is the ANSI C implementation of a simple JUD (Jabber User Directory= ). | There are other implementations that handle a large user base better, | see the website above for links. |=20 | Unpack it into your jabberd 1.4.x server folder, and type 'make' to | build the jud.so. |=20 | Then add the following to your jabber.xml configuration file: |=20 | <service id=3D"jud"> | <host>jud.localhost</host> | <load><jud>./jud/jud.so</jud></load> | <jud xmlns=3D"jabber:config:jud"> | <vCard> | <FN>Local User Directory</FN> | <DESC>This service provides a simple user directory service.</DESC= > | <URL>http://jud.jabberstudio.org/</URL> | </vCard> | =20 | <!-- Enable full user listing retrieval by browsing to | 'jud.localhost/users' with your Jabber client. | Definitely not suitable for large user bases. | <userbrowse/> --> |=20 | <!-- You only need this section if you want customized | instructions or database fields | <register> | <instructions>Fill in the fields to register</instructions> | <name/> | <age/> | <colour/> | </register> --> |=20 | <!-- You only need this section if you want to customize | the search dialog | <search> | <instructions>Enter values to search</instructions> | <age/> | <colour/> | </search> --> |=20 | </jud> | </service> If I read the README right the search instruction section is only needed for customized searches (here with age and colour).=20 What's with the following situation: An example Jabber User Directory allows a search for additional fields like age and says this in it's search comment field. Then the user wonders about the missing field "Age:". Greetings, Bj=F6rn |