Download current blog style

May 30, 2013 09:35

Hi.
How I can download my current blog style?
I create desktop application for lj and I want to do a preview in blog style.
Thx.

client, *unanswered

Leave a comment

Comments 6

(The comment has been removed)

lord_baskervil June 19 2013, 11:23:57 UTC
I tryed your advice and now I have some problems. First problem - this variant works for me only with english in subject and event. If I try to use russian letters - I get Internal Server Error and the second problem: this way doesn't work on some PC without common features.
For example: this is http://bpaste.net/show/tOHhBFPydT7el10XZBWo/ a packet was sent by browser when I click preview button
and this is http://codepad.org/yW1c82ly a packet which was sent by my application. When I get reply from server this reply doesn't contains any info. Only one new line. But on my home pc all works fine with english-only events.

May be you have any ideas about this.

Reply

pauamma June 19 2013, 12:04:53 UTC
Hmm. "Works for English but not for Russian" sounds like some kind of encoding or character set problem, perhaps because you didn't specify the correct character set (probably UTF8). Also, check that the line you replaced by == in both captures is an empty line in what you send, just in case. (IIRC, it must be completely empty - if it contains spaces, that won't work.)

When I feed the data part *after the ==) of http://codepad.org/yW1c82ly/raw.txt to wc, I get:

24 24 1132
but you pass "Content-Length: 1108", which looks like you don't include the end-of-line characters (\n) in your count. (1108 + 24 lines = 1132).

Reply

lord_baskervil June 19 2013, 12:48:36 UTC
This 2 links - is not full packets. I copy html header and data from wireshark. "==" - this is only my symbol for division html header from data header for you.

I use percentage encoding for non ascii symbols but it doesn't help.

Reply


lord_baskervil August 9 2013, 11:53:50 UTC
So. I try to up this post ( ... )

Reply


Leave a comment

Up