[ejabberd] Service Discovery...

Bill VonDane bill at vondane.com
Fri Feb 4 18:49:25 MSK 2005

I don't have that file...

sorry, I forgot to mention I am running this on Win2K...


----- Original Message ----- 
From: "James Tait" <james.tait at morse.com>
To: <ejabberd at jabber.ru>
Sent: Friday, February 04, 2005 8:31 AM
Subject: RE: [ejabberd] Service Discovery...

That would be this section in mod_vcard.erl:

process_local_iq(_From, _To, #iq{type = Type, lang = Lang, sub_el = SubEl} =
IQ) ->
    case Type of
        set ->
            IQ#iq{type = error, sub_el = [SubEl, ?ERR_NOT_ALLOWED]};
        get ->
            IQ#iq{type = result,
                  sub_el = [{xmlelement, "vCard",
                             [{"xmlns", ?NS_VCARD}],
                             [{xmlelement, "FN", [],
                               [{xmlcdata, "ejabberd"}]},
                              {xmlelement, "URL", [],
                              {xmlelement, "DESC", [],
                                   "Erlang Jabber Server\n"
                                   "Copyright (c) 2002-2005 Alexey
                              {xmlelement, "BDAY", [],
                               [{xmlcdata, "2002-11-16"}]}

It's hard-coded, so you'd need to modify the source to change it.


James Tait
Developer, Morse Professional Services
Business aligned IT that helps our customers get more from less.  We call
it A2e.  If you want to know more, I'll take you there.
Morse Group Ltd
Tel: +44 (0)1332 826037 Fax: +44 (0)1332 826044

This email and any attachments are confidential and are intended only for
the addressee.  If you are not the intended recipient of this email and
have received it in error, you are hereby notified that the email and any
attachments must not be copied, stored or further disseminated or
distributed.  If you have received this email and its attachments in error,
please notify the sender immediately and then delete it from your system.
Internet communications are not secure and Morse makes no representation
and accepts no responsibility or liability as to the completeness and
accuracy of the information contained in this message.  Any information,
opinions or advice contained within the email or any attachments are not
necessarily those of the Morse Group.

Email communications sent and/or received by Morse staff are stored and

Orders for hardware and software are accepted subject to Morse's Standard
Terms and Conditions of Sale.  Orders for services are accepted subject to
Morse's Standard Terms and Conditions for the Provision of Consultancy
Services.  Copies are available at http://www.morse.com and on request from
legal at morse.com or your account manager.

> -----Original Message-----
> From: Bill VonDane [mailto:bill at vondane.com]
> Sent: 04 February 2005 15:01
> To: ejabberd at jabber.ru
> Subject: [ejabberd] Service Discovery...
> Using PSI...  when I open the service discovery window and I
> query the server for it's vcard I get back some
> information...  Where is this info stored?  I would like to
> change it to reflect the contact information for the server admin...
> Thanks!
> -Bill
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
ejabberd mailing list
ejabberd at jabber.ru

More information about the ejabberd mailing list