Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

navi2ch-machibbs: スレ立て時のエラーを解消

Suggested by http://hibari.2ch.net/test/read.cgi/unix/1265413075/353
353 :名無しさん@お腹いっぱい。:2011/04/20(水) 16:13:06.03
修正版でもスレが無いとかエラーが出たので、htmlソースと
navi2ch-jbbs-shitaraba.elを参考に
navi2ch-machibbs-send-messgaeの中を

(param-alist (list
(cons "submit" (if subject "書き込む" "新規書き込み"))
(cons "NAME" (or from ""))
(cons "MAIL" (or mail ""))
(cons "MESSAGE" message)
(cons "BBS" bbs)
(if subject (cons "SUBJECT" subject ) (cons "KEY" key))
(cons "TIME" time))))

といじったら立てられました。
  • Loading branch information...
commit eefa1f7bf9339a6aab982740705eeed45361ac97 1 parent e5ccdca
@naota authored
Showing with 8 additions and 2 deletions.
  1. +6 −0 ChangeLog
  2. +2 −2 navi2ch-machibbs.el
View
6 ChangeLog
@@ -1,3 +1,9 @@
+2011-05-12 Naohiro Aota <naota@elisp.net>
+
+ * navi2ch-machibbs.el (navi2ch-machibbs-send-message): スレ立て時の
+ エラーを解消 Suggested by
+ http://hibari.2ch.net/test/read.cgi/unix/1265413075/353
+
2011-04-08 Naohiro Aota <naota@elisp.net>
* navi2ch-machibbs.el (navi2ch-machibbs-send-message): スレ立て時に
View
4 navi2ch-machibbs.el
@@ -154,12 +154,12 @@ START, END, NOFIRST $B$GHO0O$r;XDj$9$k(B"
(let ((url (navi2ch-machibbs-get-writecgi-url board))
(referer (navi2ch-board-get-uri board))
(param-alist (list
- (cons "submit" "$B=q$-9~$`(B")
+ (cons "submit" (if subject "$B=q$-9~$`(B" "$B?75,=q$-9~$_(B"))
(cons "NAME" (or from ""))
(cons "MAIL" (or mail ""))
(cons "MESSAGE" message)
(cons "BBS" bbs)
- (cons "KEY" (or key ""))
+ (if subject (cons "SUBJECT" subject ) (cons "KEY" key))
(cons "TIME" time))))
(navi2ch-net-send-request
url "POST"
Please sign in to comment.
Something went wrong with that request. Please try again.