Next in thread → Next in month →

Re: [xml-dev] RE: Web site that emits a continuous stream of XML?

From
Peter Hunsberger <>
To
Date
2014-05-22T19:46:37Z
ID
<CAKsvBp_zgK+FcMNqEmcy1Mii=>
Thread
Re: [xml-dev] RE: Web site that emits a continuous stream of XML?
I think if I had to produce a closing tag I'd do this with a wrapper on the connection on the client side: store the first element sent after the connection establishes.  Forward a closing version of that same tag when the connection drops...

Peter Hunsberger


On Thu, May 22, 2014 at 1:21 PM, Liam R E Quin <[email protected]> wrote:
On Thu, 2014-05-22 at 12:52 +0000, Costello, Roger L. wrote:
> Oops! I forgot to mention one requirement: the web site must provide its data stream for free.

It would be easy to write a CGi script that produced an endless stream
of XML. Note that you don't get an end tag for the outermost element if
you disconnect, of course - true for all these protocols.

When the Jabber people contacted me early on I suggested they use a
stream of smaller documents, one per message.

Another approach is to have a second URI that, when accessed, will end
the stream and disconnect from the server end.

Liam

--
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml


_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: [email protected]
subscribe: [email protected]
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

Next in thread → Next in month →