別のキーワード
種類
- インスタンスメソッド (120)
- ライブラリ (24)
- 特異メソッド (12)
クラス
検索結果
先頭5件
-
RSS
:: Rss :: Channel :: Item :: Enclosure # url= (18101.0) -
@todo
@todo -
RSS
:: RDF :: Image # url= (15101.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Image # url= (15101.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Item :: Source # url= (15101.0) -
@todo
@todo -
RSS
:: Maker :: ImageBase # url=() (15100.0) -
@todo
@todo -
RSS
:: Maker :: RSS20 :: Items :: Item :: Enclosure # url=() (15100.0) -
@todo
@todo -
RSS
:: Maker :: RSS20 :: Items :: Item :: Source # url=() (15100.0) -
@todo
@todo -
rss (30.0)
-
RSS を扱うためのライブラリです。
...item.title = "Sample Article2"
item.date = Time.parse("2004/11/2 10:10")
end
maker.image.title = "Example Site"
maker.image.url = "http://example.com/logo.png"
end
===== 検索ページの指定
もし,
* http://example.com/search.cgiに
* keywordというパラメ......item.title = "Sample Article2"
item.date = Time.parse("2004/11/2 10:10")
end
maker.image.title = "Example Site"
maker.image.url = "http://example.com/logo.png"
maker.textinput.title = "Search Example Site"
maker.textinput.description = "Search Example Site's all text... -
net
/ http (18.0) -
汎用データ転送プロトコル HTTP を扱うライブラリです。 実装は 2616 に基きます。
...quire 'net/http'
require 'uri'
url = URI.parse('http://www.example.com/index.html')
res = Net::HTTP.start(url.host, url.port) {|http|
http.get('/index.html')
}
puts res.body
//}
//emlist[例4: 上の例よりさらに汎用的な例][ruby]{
require 'net/http'
url = URI.parse('http://www.example......www.example.com/todo.cgi'),
{'from'=>'2005-01-01', 'to'=>'2005-03-31'})
puts res.body
#例3: より細かく制御する
url = URI.parse('http://www.example.com/todo.cgi')
req = Net::HTTP::Post.new(url.path)
req.basic_auth 'jack', 'pass'
req.set_form_data({'from'=>'2005-01...