?

Log in

No account? Create an account
February 17th, 2005 - LiveJournal Client Discussions — LiveJournal [entries|archive|friends|userinfo]
LiveJournal Client Discussions

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

February 17th, 2005

xmlrpc: lineendings? [Feb. 17th, 2005|01:55 pm]
LiveJournal Client Discussions

lj_clients

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

read:
...
lineendings(required):
[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?
link2 comments|post comment

navigation
[ viewing | February 17th, 2005 ]
[ go | Previous Day|Next Day ]