Skip to content
Newer
Older
100644 107 lines (75 sloc) 3.27 KB
42548c3 @flavorjones Code Climate badge.
flavorjones authored Jul 19, 2012
1 = Nokogiri (鋸) {<img src="https://secure.travis-ci.org/sparklemotion/nokogiri.png?rvm=1.9.3" />}[http://travis-ci.org/sparklemotion/nokogiri] {<img src="https://codeclimate.com/badge.png" />}[https://codeclimate.com/github/sparklemotion/nokogiri]
801e7ce @tenderlove starting japanese documentation
tenderlove authored Oct 14, 2008
2
2a93976 @tenderlove updating the mailing list url
tenderlove authored Jun 15, 2009
3 * http://nokogiri.org/
9c857b8 @flavorjones tenderlove -> sparklemotion <3 <3 <3
flavorjones authored Jun 14, 2012
4 * http://github.com/sparklemotion/nokogiri/wikis
5 * http://github.com/sparklemotion/nokogiri/tree/master
50376b7 @tenderlove updating japanese readme
tenderlove authored Jun 15, 2010
6 * http://groups.google.com/group/nokogiri-list
9c857b8 @flavorjones tenderlove -> sparklemotion <3 <3 <3
flavorjones authored Jun 14, 2012
7 * http://github.com/sparklemotion/nokogiri/issues
801e7ce @tenderlove starting japanese documentation
tenderlove authored Oct 14, 2008
8
fde7b28 @tenderlove updating japanese docs
tenderlove authored Oct 14, 2008
9 == DESCRIPTION:
801e7ce @tenderlove starting japanese documentation
tenderlove authored Oct 14, 2008
10
92b5d8f @ujihisa Natural Japanese
ujihisa authored Jun 7, 2009
11 Nokogiri はHTMLとXMLとSAXとXSLTとReaderのパーサーです。とりわけ重要な特徴は、
12 ドキュメントをXPathやCSS3セレクター経由で探索する機能を持つことです。
64bbe74 @tenderlove updating readme and changelog
tenderlove authored Jun 7, 2009
13
14 XMLは暴力に似ている - XMLが君の問題を解決しないとしたら、君はXMLを十分に
a92fd4b @tenderlove updating japanese readme
tenderlove authored Jun 7, 2009
15 使いこなしていない事になる。
801e7ce @tenderlove starting japanese documentation
tenderlove authored Oct 14, 2008
16
17 == FEATURES:
18
973b714 @ujihisa Natural Japanese
ujihisa authored May 26, 2009
19 * XPath による探索
20 * CSS3 のセレクターによる探索
21 * XML/HTMLのビルダー
fde7b28 @tenderlove updating japanese docs
tenderlove authored Oct 15, 2008
22
973b714 @ujihisa Natural Japanese
ujihisa authored May 26, 2009
23 XML/HTMLの高速な解析と探索検索、ならびにCSS3セレクタとXPathをサポートしています。
221793e @tenderlove adding link to benchmark
tenderlove authored Oct 30, 2008
24
de4e7dd @tenderlove 日本語の README を最新のものにする
tenderlove authored Nov 12, 2008
25 == SUPPORT:
26
17df261 @tenderlove adding the japanese mailing list to the rdoc
tenderlove authored Dec 6, 2009
27 日本語でNokogiriの
28 {メーリングリスト}[http://groups.google.com/group/nokogiri-list]
de4e7dd @tenderlove 日本語の README を最新のものにする
tenderlove authored Nov 13, 2008
29
17df261 @tenderlove adding the japanese mailing list to the rdoc
tenderlove authored Dec 6, 2009
30 * http://groups.google.com/group/nokogiri-list
de4e7dd @tenderlove 日本語の README を最新のものにする
tenderlove authored Nov 13, 2008
31
9c857b8 @flavorjones tenderlove -> sparklemotion <3 <3 <3
flavorjones authored Jun 14, 2012
32 {バグ報告}[http://github.com/sparklemotion/nokogiri/issues]
de4e7dd @tenderlove 日本語の README を最新のものにする
tenderlove authored Nov 13, 2008
33
9c857b8 @flavorjones tenderlove -> sparklemotion <3 <3 <3
flavorjones authored Jun 14, 2012
34 * http://github.com/sparklemotion/nokogiri/issues
de4e7dd @tenderlove 日本語の README を最新のものにする
tenderlove authored Nov 13, 2008
35
fc4a8bc @ujihisa Natural Japanese
ujihisa authored May 28, 2009
36 IRCのチャンネルはfreenodeの #nokogiri です。
3cc3e29 @flavorjones Updated README with IRC channel information. My Japanese is only as g…
flavorjones authored May 27, 2009
37
8a593ae @tenderlove updating japanese readme
tenderlove authored Oct 26, 2008
38 == SYNOPSIS:
39
40 require 'nokogiri'
41 require 'open-uri'
42
43 doc = Nokogiri::HTML(open('http://www.google.com/search?q=tenderlove'))
44
45 ####
46 # Search for nodes by css
47 doc.css('h3.r a.l').each do |link|
48 puts link.content
49 end
50
51 ####
52 # Search for nodes by xpath
53 doc.xpath('//h3/a[@class="l"]').each do |link|
54 puts link.content
55 end
56
57 ####
58 # Or mix and match.
59 doc.search('h3.r a.l', '//h3/a[@class="l"]').each do |link|
60 puts link.content
61 end
62
63
64 == REQUIREMENTS:
65
66 * ruby 1.8 or 1.9
2af1774 @webmat List dependencies a little more accurately
webmat authored Mar 14, 2009
67 * libxml2
68 * libxml2-dev
061b157 @tenderlove more readme updates
tenderlove authored Nov 12, 2008
69 * libxslt
2af1774 @webmat List dependencies a little more accurately
webmat authored Mar 14, 2009
70 * libxslt-dev
8a593ae @tenderlove updating japanese readme
tenderlove authored Oct 27, 2008
71
72 == INSTALL:
73
74 * sudo gem install nokogiri
75
76 == LICENSE:
77
78 (The MIT License)
79
911a9ff @tenderlove annual year bump
tenderlove authored Feb 16, 2010
80 Copyright (c) 2008 - 2010:
8a593ae @tenderlove updating japanese readme
tenderlove authored Oct 27, 2008
81
82 * {Aaron Patterson}[http://tenderlovemaking.com]
219b0e5 @flavorjones added personal site url to 'README's
flavorjones authored Oct 29, 2008
83 * {Mike Dalessio}[http://mike.daless.io]
8ce3991 @yokolet Adds a license header to all Java files and names to two READMEs.
yokolet authored Oct 15, 2010
84 * {Charles Nutter}[http://blog.headius.com]
85 * {Sergio Arbeo}[http://www.serabe.com]
86 * {Patrick Mahoney}[http://polycrystal.org]
87 * {Yoko Harada}[http://yokolet.blogspot.com]
8a593ae @tenderlove updating japanese readme
tenderlove authored Oct 27, 2008
88
89 Permission is hereby granted, free of charge, to any person obtaining
90 a copy of this software and associated documentation files (the
91 'Software'), to deal in the Software without restriction, including
92 without limitation the rights to use, copy, modify, merge, publish,
93 distribute, sublicense, and/or sell copies of the Software, and to
94 permit persons to whom the Software is furnished to do so, subject to
95 the following conditions:
96
97 The above copyright notice and this permission notice shall be
98 included in all copies or substantial portions of the Software.
99
100 THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
101 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
102 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
103 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
104 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
105 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
106 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Something went wrong with that request. Please try again.