[JDEV] Meaning of "headline" messages

Yanming Xiao xiao at legatovideo.com
Thu Jan 9 14:35:14 CST 2003


Luis,

I don't think an "jabber:x:oob" ns is mandatory for 
"headline" message. 

I met the same problem as you did, some clients 
can't display "headline" message generated by my component.
Actually the reason is simple: some clients just ignore the 
<message/> if <body/> is empty. I filled <body/> with 
several blank spaces, then everything is OK.

-Yanming

----- Original Message ----- 
From: "Luis Peralta" <peralta at spisa.act.uji.es>
To: <jdev at jabber.org>
Sent: Thursday, January 09, 2003 2:29 PM
Subject: [JDEV] Meaning of "headline" messages


> Hi,
> 
>    What's the correct usage for "headline" type messages?
> 
>    Let me explain: I've written a component that notifies the user when
> some type of event has happened. I'm sending these messages as
> type="headline", with only <subject> and <body> tags.
> 
>    Exodus and jarl display the messages that my component sends
> correctly. On the other side, tkabber does not.
> 
>    When asking the author about it, he said that every headline message
> should have an x:oob ns with a <url> and <desc> tags. Maybe I
> misunderstood the meaning of the word "headline"... I understand it as a
> message that is just a notification and that you wouldn't reply to, as
> it's just an automatic generated message. Or maybe that is how I would
> like it to be.
> 
>    So, the question is, how should I send a notification to a user? A
> normal message? my version of the "headline" message? Anything else?
> -- 
>                                           luis peralta / jaxp
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> CS Student | peralta at spisa dot act dot uji dot es
>            | http://spisa.act.uji.es/~peralta/
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
> 



More information about the JDev mailing list