Changeset 1964 for lang/perl/WWW-CommentGetter
- Timestamp:
- 11/24/07 14:41:06 (5 years ago)
- Location:
- lang/perl/WWW-CommentGetter/trunk/WWW-CommentGetter
- Files:
-
- 2 modified
-
share/siteinfo.json (modified) (1 diff)
-
t/01_basic.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/WWW-CommentGetter/trunk/WWW-CommentGetter/share/siteinfo.json
r1957 r1964 81 81 "author" : "/following-sibling::dd[1]/ul/li[1]" 82 82 } 83 }, 84 { 85 "url" : "^http://.*.vox.com/.*", 86 "context" : "//div[starts-with(@class,'comment comment-')]", 87 "attributes" : { 88 "body" : "//div[@class='comment-body']", 89 "date" : "//li[@class='asset-meta-datetime-issued item']", 90 "author" : "//li[@class='asset-meta-screenname item']/a" 91 } 83 92 } 84 93 ] -
lang/perl/WWW-CommentGetter/trunk/WWW-CommentGetter/t/01_basic.t
r1953 r1964 114 114 body: トクメイきボウナンス。ソウナンス。 115 115 116 === vox 117 --- input: http://tokuhirom.vox.com/library/post/idea-htmlfillenctype.html 118 --- expected 119 - 120 body: I wonder how it affects a performance each time we add these kinds of HTML parser based filters to the output every time the page loads. 121 author: miyagawa 122 date: Oct 31, 2006 123 - 124 body: yeah, I think so too.This module is just a experiment. 125 date: Nov 1, 2006 126 author: tokuhirom 127 - 128 body: I guess this command is very useful to remember what's the right tag.% perldoc -m CGI | grep multipart/ 129 author: miyagawa 130 date: Nov 2, 2006 131
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)