Re: Using XML and HTML in message content

Mark Baker <[email protected]> Mon, 6 Sep 2004 23:14:42 -0400
Newsgroups gmane.comp.web.mod-pubsub.devel
Message-ID <[email protected]>
On Sun, Sep 05, 2004 at 12:44:58AM -0700, Asynch Messaging wrote:
> I'm trying to send a list of links to a mod-pubsub client application - the
> knownews app.
> It appears that the server is stripping out data that appears to be HTML (or
> at least anchors).
> Is this true?
> 
> I'd also like to send XML via mod-pubsub (like an Atom entry or feed) - is
> this possible, or does the server only accept content-type of
> application/www-form-urlencoded ?

Both!  You know that kn_payload can carry anything, right?  The
urlencoded structure is used as you would a SOAP envelope.  The
"content-type" parameter should also be used.

I didn't have any trouble using XML in the playing around I did with
it a while ago, though I'm not using it in my work.

Mark.
-- 
Mark Baker.   Ottawa, Ontario, CANADA.        http://www.markbaker.ca


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click