110件ヒット
[1-100件を表示]
(0.041秒)
種類
- インスタンスメソッド (77)
- 文書 (22)
- ライブラリ (11)
ライブラリ
- rss (77)
クラス
-
RSS
:: Maker :: RSSBase (11) -
RSS
:: RDF (22) -
RSS
:: Rss (22)
モジュール
キーワード
- encoding (22)
-
output
_ encoding (11) -
output
_ encoding= (11) -
ruby 1
. 8 . 3 feature (11) -
ruby 1
. 9 feature (11)
検索結果
先頭5件
-
rss (39798.0)
-
RSS を扱うためのライブラリです。
...RSS を扱うためのライブラリです。
=== 参考
* RSS 0.91 http://backend.userland.com/rss091
* RSS 1.0 http://purl.org/rss/1.0/spec
* RSS 2.0 http://www.rssboard.org/rss-specification
* Atom 1.0 https://www.ietf.org/rfc/rfc4287.txt
=== 注意
RSS ParserはRSS 0.9x/1.0/2.0, A......utput_encoding=が使えます。
もし、変換できないエンコーディングを指定された場合は
RSS::UnknownConversionMethodError例外が発生します。
先程のprint_itemsをEUC-JPで出力するように書き換えてみましょう。
def print_items(feed)
rss10 = c......onvert_to_rss10(feed)
begin
rss10.output_encoding = "EUC-JP"
rescue RSS::UnknownConversionMethodError
end
rss10.items.each do |item|
puts "#{item.title} : #{item.description}"
end
end
==== サンプル2 - 更新順表示
次はDublin Coreモジュールのdate属... -
RSS
:: Maker :: RSSBase # encoding=() (38201.0) -
@todo 作成するXMLのエンコーディングを設定します.maker に設定する際のエンコーディングはここで指定したものにす る必要があります.
@todo
作成するXMLのエンコーディングを設定します.maker
に設定する際のエンコーディングはここで指定したものにす
る必要があります. -
RSS
:: Rss # encoding= (35203.0) -
@todo
@todo -
RSS
:: RDF # encoding= (32203.0) -
@todo
@todo -
RSS
:: RootElementMixin # output _ encoding= (20203.0) -
@todo
@todo -
RSS
:: Rss # encoding (20103.0) -
@todo
@todo -
RSS
:: RDF # encoding (17103.0) -
@todo
@todo -
RSS
:: RootElementMixin # output _ encoding (17103.0) -
@todo
@todo -
ruby 1
. 8 . 3 feature (60.0) -
ruby 1.8.3 feature *((<ruby 1.8 feature>)) *((<ruby 1.8.2 feature>))
...ctx, session_id=nil)
session_id を受け付けるようになりました。((<ruby-core:4663>))
=== 2005-05-19
: REXML::Encoding#decode_sjis [lib] [bug]
: REXML::Encoding#encode_sjis [lib] [bug]
decode_sjis と encode_sjis が
逆に定義されていたバグを修正しました。((<ruby......nvokeを呼び出して失敗するときには VT_EMPTYに変換して
再度 Invokeを呼び出すようにしました。
=== 2005-04-09
: rss [lib][new][compat]
複数のDublin Coreの要素を扱えるようになりました。
このためdc_#{Dublin Coreの要素名の複数形}......source.org/rss/1.0/modules/image/>))のサポート
=== 2005-02-03
: RSS::Element#convert(value) [lib] [new]
valueのエンコーディングを変換するメソッドを公開。
valueのエンコーディングは要素の内部エンコーディングからoutput_encoding=で設定... -
ruby 1
. 9 feature (48.0) -
ruby 1.9 feature ruby version 1.9.0 は開発版です。 以下にあげる機能は将来削除されたり互換性のない仕様変更がなされるかもしれません。 1.9.1 以降は安定版です。 バグ修正がメインになります。
...l(4) # => 4
x = (do |a| p a end)
x.call(9) # => 9
=== 2005-02-04
: RSS Parser/Maker [lib] [new]
((<Imageモジュール|URL:http://web.resource.org/rss/1.0/modules/image/>))のサポート
=== 2005-02-03
: RSS::Element#convert(value) [lib] [new]
valueのエンコーディングを......グからoutput_encoding=で設定したエンコーディングへ変換されます。
=== 2005-02-02
: ((<ripper/Ripper.slice>)) [ruby] [experimental]
追加。((<URL:http://i.loveruby.net/d/20050201.html#p02>))
=== 2005-01-15
: RSS::VERSION [lib]
0.1.2 -> 0.1.3
: RSS::Parser [lib] [bug]......IMIT_FSIZE
: Process::RLIMIT_NOFILE
: Process::RLIMIT_STACK
: Process::RLIMIT_AS
: Process::RLIMIT_MEMLOCK
: Process::RLIMIT_NPROC
: Process::RLIMIT_RSS
: Process::RLIMIT_SBSIZE
追加 ((<ruby-dev:24834>))
((<ruby 1.8.5 feature>)): 1.8.5 に backport ((<ruby-dev:28729>))
=== 2004-10-30
: Arr...