February 17th, 2005


xmlrpc: lineendings?

I try to acces self journal via xmlrpc from python script.

[scalar](required) Specifies the type of line-endings you're using. Possible values are unix (0x0A (\n)), pc (0x0D0A (\r\n)), or mac (0x0D (\r) ). The default is not-Mac. Internally, LiveJournal stores all text as Unix-formatted text, and it does the conversion by removing all \r characters. If you're sending a multi-line event on Mac, you have to be sure and send a lineendings value of mac or your line endings will be removed. PC and Unix clients can ignore this setting, or you can send it. It may be used for something more in the future.

my primary platform - win32. In data, returned from getevents, I see 0d, 0d, 0a sequences.

Small script can be used with your login:password on your journal, with multiline event on top.
Get lastn three times? with other lineendings value - result equal.

Maybe I misunderstand something?