?

Log in

No account? Create an account
February 2nd, 2009 - LiveJournal Development — LiveJournal [entries|archive|friends|userinfo]
LiveJournal Development

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

February 2nd, 2009

LJ formatting ATOM posted HTML? [Feb. 2nd, 2009|12:09 am]
LiveJournal Development
lj_dev
[mcepl]
[Tags|, , ]

Hi, I am trying to develop simple XSLT/Python system for publishing Docbook blog on Livejournal, but I have couple of problems which I haven’t found a way how to resolve:
  1. After every three to five posts, authentication fails -- which is weird, because obviously the same login and same password is used.
  2. Of course I have everything in utf-8 (seems kind of natural in the XML age), but seemingly LJ returns to me values in ISO 8859-1, even though I have set HTTP header Accept-Charset to utf-8.
  3. Even though I am sending pure HTML in <atom:content>, LJ still tries to reformat my text, which causes grotesquely misformatted entries, like this one. Why the hell LJ tries to format HTML as a plain text (<atom:content> has clearly set type to text/html and it is in html namespace)?
Any ideas about these questions?

Thanks for any response.

Matěj Cepl

link3 comments|post comment

navigation
[ viewing | February 2nd, 2009 ]
[ go | Previous Day|Next Day ]