?

Log in

No account? Create an account
January 29th, 2005 - LiveJournal Development — LiveJournal [entries|archive|friends|userinfo]
LiveJournal Development

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

January 29th, 2005

Blogger API Question [Jan. 29th, 2005|12:06 pm]
LiveJournal Development

lj_dev

[grahams]

I am writing a little python automation script for the Sunday Night Film Club to ease the effort required to announce the week's movie in several different forums (LJ, MT, Craigslist, Newsletter).  I have been using the LJ Blogger API, and it's been working great, except I can't figure out how to turn on LJ's "preformatted" property for the event.  I've read this document, and based on that I've tried adding the following text to the beginning of the post:

  • lj-preformatted: true
  • lj-opt_preformatted: true
  • lj-preformatted: 1
  • lj-opt_preformatted: 1

Am I missing something, or is this prop not supported (or is there some completely seperate way of handling this property)?  Thanks

link4 comments|post comment

Multiple interest search [Jan. 29th, 2005|12:55 pm]
LiveJournal Development

lj_dev

[mpnolan]
Hi, I'm Mike. I wrote a comment statistics program a while ago, so some of you may love/hate me for that one. Now I've got another idea.

I'm planning on writing a program that, given two interests X and Y, returns all users with both interests. This would be very easy to do if I had something like interestdata.bml only returning usernames with an interest rather than interests by username. Since nothing like this seems to currently exist, I wrote a small script named userinterests.bml. I scrapped it together from reading interestdata.bml and interests.bml, so I'm not sure if it works/how efficient it is. But I figured I'd contribute something rather than just requesting such a page be created.

So what's the possibility of userinterests.bml being applied to the LJ source?
link7 comments|post comment

backdated entries with ATOM API [Jan. 29th, 2005|05:07 pm]
LiveJournal Development
lj_dev
[dblockdotorg]
It doesn't seem like it's possible to post backdated entries with ATOM API (at least from reading the code).

I am getting:

The remote server returned an error: (500) Internal Server Error. Server Error - Unable to post new entry. Protocol error: Incorrect time value: Your most recent journal entry is dated 2004-12-16 11:09, but you're trying to post one at 2003-10-15 04:10 without the backdate option turned on. Please check your computer's clock. Or, if you really mean to post in the past, use the backdate option.

My posted feed is of this format:

entry
generator
title
created
content

Did I miss something or can this be a feature request?

Thx
dB.
link7 comments|post comment

navigation
[ viewing | January 29th, 2005 ]
[ go | Previous Day|Next Day ]