Chris Fairfield (thorshammer) wrote in lj_dev,
Chris Fairfield
thorshammer
lj_dev

Weird Key and Response

I also posted this over in lj_clients, but post it here also since it has to deal with your side of the server also...

I'm adding in the ability to edit posts you made to a shared journals in the next version of Phoenix. However for some reason it spits back the unedited version of the entry and the normal "Edit Event" response. As Shown Here...%
HTTP/1.1 200 OK

Date: Sat, 12 Oct 2002 21:09:33 GMT

Server: Apache/1.3.26 (Unix) Debian GNU/Linux mod_perl/1.26

Content-length: 1748

Content-Type: text/plain

X-Cache: MISS from www.livejournal.com

Connection: close


events_1_anum
17
events_1_event
[Entry's Text Was Here]
events_1_eventtime
2002-09-06 01:16:00
events_1_itemid
338
events_1_subject
A Peak at the New Version and Solicitation of Comments
events_count
1
prop_1_itemid
338
prop_1_name
current_mood
prop_1_value
productive
prop_2_itemid
338
prop_2_name
current_moodid
prop_2_value
89
prop_3_itemid
338
prop_3_name
current_music
prop_3_value
Astreaux World
prop_4_itemid
338
prop_4_name
picture_keyword
prop_4_value
Thor
prop_count
4
success
OK
HTTP/1.1 200 OK

Date: Sat, 12 Oct 2002 21:09:37 GMT

Server: Apache/1.3.24 (Unix) Debian GNU/Linux mod_gzip/1.3.19.1a mod_perl/1.26

Content-length: 30

Content-Type: text/plain

X-Cache: MISS from www.livejournal.com

Connection: close

anum
17
itemid
338
success
OK



This was my request . here.:
POST /interface/flat HTTP/1.0
Cookie: ljfastserver=1;
Host: www.livejournal.com
Content-type: multipart/form-data
Content-length: 145

mode=editevent&user=thorshammer&hpassword=[cut]&itemid=338&event=[event text here]&lineendings=mac&subject=A Peak at the New Version and Solicitation of Comments&security=public&year=2002&mon=9&day=6&hour=1&min=16&prop_current_mood=productive&prop_current_moodid=89&prop_picture_keyword=Thor&prop_current_music=Astreaux World&prop_opt_preformatted=0&prop_opt_nocomments=0&prop_opt_backdated=0&prop_opt_noemail=0&usejournal=phoenix_lj


I also don't know what the key "anum" is for or if it's relevant.
Any words of wisdom?
~Chris
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 1 comment