http://gitorious.org/laconica/mainline/commit/baec1320abf95cce4af49b92506de1
402a95298a.patch


I'll quote an email from last week, from Zach:

Paul Willard wrote:
>
> But I have a problem with xmloutputter.php
>
> _http://squeak.im/api/statuses/public_timeline.xml_
>
> XMLWriter::text() expects parameter 1 to be string, array given in 
> <b>/PAUL-WWW/squeak.im/lib/xmloutputter.php</b> on line <b>137</b><br 
> />
>
> Any ideas?
>
> Bit of a bummer coz it stops many API based apps (LaTwit for instance) 
> from working.
>
Hey Paul,

Looks like we weren't handling attachments in the plain XML output.  
Fixed in the 0.8.x branch.

http://gitorious.org/laconica/mainline/commit/baec1320abf95cce4af49b92506de1
402a95298a

Zach


Paul Willard
-------------------------------------------------
Web Site:              www.mcrides.co.nz
Where New Zealand motorcyclists go

for the latest internet IM experience
check out Squeak.IM
-------------------------------------------------

-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Mister Risk
Sent: Wednesday, 22 July 2009 11:01 a.m.
To: [email protected]
Subject: [Laconica-dev] API problems

After installing the latest version 0.80, I found that the
public_timeline.xml does not work properly in the API.

I get the following error reported in the browser.

XML Parsing Error: junk after document element
Location: http://www.mysite.com/myroot/api/statuses/public_timeline.xml
Line Number 2, Column 1:<b>Warning</b>:  XMLWriter::text() expects
parameter 1 to be string, array given in
<b>/home/investor/public_html/mysite.com/myroot/lib/xmloutputter.php</b>
on line <b>137</b><br />
^

Has anyone encountered this problem or know how to fix it?

Thanks
_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev

_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev

Reply via email to