Currently the spritzer stream looks like:

<?xml version="1.0" encoding="UTF-8"?>
<status> .... </status>
\n
<?xml version="1.0" encoding="UTF-8"?>
<status> .... </status>
\n
...

I'm wondering why it contains a stream of XML documents instead of
just one never ending document with the same format as the public
timeline:

<?xml version="1.0" encoding="UTF-8"?>
<statuses>
<status>...</status>
<status>...</status>
<status>...</status>
...

To me it seems like it would be a lot easier just passing a stream
like this to a parser. Instead, with the current stream of documents
one has to look out for new prologs, split the stream at that point,
parse that doc, reset the parser and continue. Not an insurmountable
problem, but it seems like a lot of extra work that shouldn't really
be needed.

Just wondering what everyone else thinks.

Ianiv Schweber

Reply via email to