Log in

No account? Create an account
February 21st, 2010 - LiveJournal Development — LiveJournal [entries|archive|friends|userinfo]
LiveJournal Development

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

February 21st, 2010

XML-RPC response is truncated when trying to get large entries [Feb. 21st, 2010|11:37 pm]
LiveJournal Development
[Tags|, , , , , ]
[Current Location |Russian Federation, Moscow]
[mood |annoyedannoyed]

I am working on the project where I am importing community entries to the web site. I faced with strange behaviour of getevents method. I am getting truncated Xml response code when there is a large posts among the response list. The strange thing is that not the entry text is truncated but the whole response with three dots (...) in the end, even if the truncate parameter is omitted in the request.

I found, when I set  ver parameter  to 1, entries those contain more than 5106 symbols breaks the response. For ver=2 the length is about 10000. Does anyone face the same problem? Is this a bug? Or did I miss something?
link5 comments|post comment

[ viewing | February 21st, 2010 ]
[ go | Previous Day|Next Day ]