form_body | .//textarea[@name="MESSAGE"] |
---|---|
comments_author | /.. |
comments_container | /.. |
form_form | (//form)[2] |
body | //dl[@class="thread"] |
title | /html/head/title |
requires | //textarea[@name="MESSAGE"] |
url | ^http://.+\.2ch\.net.+read\.cgi |
form_name | .//input[@name="FROM"] |
comments_body | /.. |
Database: CommentForm
コメントフォームに関するデータベースです。
url : 正規表現
requires : XPath (これがあるページでしか動きません)
title: XPath 記事のタイトル
body: XPath 記事の本文
comments_container: XPath 記事のコメント一つを囲うコンテナノードを指定します
comments_author: XPath comments_container の相対パスでコメントしたユーザを指定します
comments_body: XPath comments_container からの相対パスでコメント本文を指定します
form_form: XPath 投稿フォームの form 要素を指定します
form_name: XPath form_form からの相対パスで名前の input 要素を指定します (ない場合は空にしてください)
form_body: form_form からの相対パスで textarea/input 要素を指定します
Last Update: 2010-05-01T13:51:17+09:00 History
Item List
-
2ちゃんねる 2012-09-22T13:51:57+09:00
last update: 2008-07-24T15:28:32+09:00
-
hitori-goto 2012-09-22T13:51:57+09:00
comments_container /.. comments_author /.. form_body p/input[@name="comment"] title //h1[1] body id("board") form_form id("form") requires id("form") url http://hitori-goto\.appspot\.com/ comments_body /.. form_name /.. last update: 2012-09-22T13:51:57+09:00
-
はてなダイアリー 2012-09-22T13:51:57+09:00
form_body .//textarea comments_author /.. comments_container /.. form_form id('comment-form') body //div[@class='body'] title /html/head/title requires id('comment-form') url http://d.hatena.ne.jp/.* form_name /.. comments_body /.. last update: 2008-07-20T13:04:36+09:00
-
ミクシィ 2012-09-22T13:51:57+09:00
form_body .//textarea[@name='comment_body'] comments_author /.. comments_container /.. form_form //form[@name='comment_form'] body id('diary_body') title id('diary_body') requires //body url http://mixi.jp/view_diary.pl\?.+ form_name /.. comments_body /.. last update: 2008-07-20T13:04:59+09:00
-
twitter 2012-09-22T13:51:57+09:00
form_body id('status') comments_author /.. comments_container /.. form_form id('doingForm') body id('content') title /.. requires //body url https?://twitter.com/.+ form_name /.. comments_body /.. last update: 2008-07-20T14:44:31+09:00
-
sample 2012-09-22T13:51:57+09:00
comments_container //*[@class="comments"]//*[@class="comment"] comments_author .//span[@class="author"] form_body .//textarea title //*[@class="entry"]//h2 body //*[@class="entry"]/*[@class="body"] form_form //form requires //*[@class="entry"] url http://[^/]+/sample comments_body .//*[@class="body"] form_name .//input[@name="name"] last update: 2012-09-22T13:51:57+09:00