[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: ssl暗号化通信を採用しているサイトでの画像表示



野宮です.

山岡さん,青田さん,本当に有難うございます.m(_ _)m

>>>>> In the Message: [emacs-w3m ML: No.09790]
>>>>>   with the date of Thu, 29 Nov 2007 12:18:06 +0900
>>>>> [山岡さん] == Katsumi Yamaoka <yamaoka@xxxxxxx> has written:

山岡さん> 野宮さん、試してみて下さいますか?
 
反応が悪くてスミマセン.m(_ _)m

序でに,と思い,,件のサイトの shimbun backend を作成しました.

で,テストしましたところ,

>>>>> In the Message: [emacs-w3m ML: No.09788]
>>>>>   with the date of Tue, 27 Nov 2007 19:48:13 +0900
>>>>> [山岡さん] == Katsumi Yamaoka <yamaoka@xxxxxxx> has written:

山岡さん> とりあえず、こうすれば動きます。

山岡さん> --- w3m.el~	2007-11-27 09:58:35 +0000
山岡さん> +++ w3m.el	2007-11-27 10:45:33 +0000
山岡さん> @@ -4908,9 +4908,9 @@
山岡さん>  		(insert-buffer-substring temp-buffer))
山岡さん>  	      (goto-char (point-min))
山岡さん>  	      ;; Hatena diary sometimes specifies Content-Type mistakenly,
山岡さん>  	      ;; so we cannot help trusting the data itself.
山岡さん> -	      (if (and (string-match "^image/" (cadr attr))
山岡さん> +	      (if (and t
山岡さん>  		       (prog2
山岡さん>  			   (setq case-fold-search nil)
山岡さん>  			   (looking-at
山岡さん>  			    "\\(GIF8\\)\\|\\(\377\330\\)\\|\211PNG\r\n")

だけが,emacs-w3m 上,shimbun の何れでも OKでした.

つまり,

>>>>> In the Message: [emacs-w3m ML: No.09790]
>>>>>   with the date of Thu, 29 Nov 2007 12:18:06 +0900
>>>>> [山岡さん] == Katsumi Yamaoka <yamaoka@xxxxxxx> has written:

山岡さん> 結局 w3m-create-image() にパーサを入れてみました (w3m-ems.el と
山岡さん> w3m-xmas.el)。似たものがあちこちにあるのは気持ち悪いんですが。

と,青田さんがパッチを作成して下さったものですと,emacs-w3m 上では OK ですが,
shimbun では,画像部が

  [FileDownload]

となります.

ここで,青田さんが作成して下さったパッチを適用されたものでは,

  [FileDownload]

の部分をクリックすると画像が表示されますが,その記事を Refile して観ますと,
画像データが含まれていません.

プライベートな backend で物を言うな,と言われるそれまでですが.... m(_ _)m

---
  野宮