33件ヒット
[1-33件を表示]
(0.025秒)
検索結果
-
rss (39804.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......ポートしていますが,RSS 0.90
はサポートしてません.ごめんなさい.
RSS のモジュールはそれぞれ、
* Dublin Core モジュール http://web.resource.org/rss/1.0/modules/dc/
* Syndication モジュール http://web.resource.org/rss/1.0/modules/syndication/
* C......feed = RSS::Parser.parse(feed_xml)
new_feed_xml = feed.to_feed("atom1.0").to_s
これを行うための便利なメソッドto_xmlがあります。to_xmlを使う
と以下のように書き直すことができます。
feed = RSS::Parser.parse(feed_xml)
new_feed_xml = feed.to_xml("atom1... -
RSS
:: RootElementMixin # to _ xml (29101.0) -
@todo
@todo -
ruby 1
. 8 . 5 feature (108.0) -
ruby 1.8.5 feature ruby 1.8.4 から ruby 1.8.5 までの変更点です。
...ty_inspect [new]
pp で追加
: RSS::TaxonomyTopicModel [new]
: RSS::TaxonomyTopicsModel [new]
: RSS::Maker::TaxonomyTopicModel [new]
: RSS::Maker::TaxonomyTopicsModel [new]
RSS Parser/RSS MakerがTaxonomyモジュールをサポートしました。
: RSS::Maker xxx.new_yyy(&block) [compat......りました。
: RSS::RootElementMixin#to_xml [new]
こんな風にすると、RSS 1.0からRSS 2.0に変換できます。
rss10 = RSS::Parser.parse(File.read("1.0.rdf"))
File.open("2.0.rss", "w") {|f| f.print(rss10.to_xml("2.0"))}
((<ruby-talk:197284>))
: RSS::VERSION
"0.1.5"......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:28729>))
=== 2006-06-11
: OptionParser#getopts [new]
: tempfile の生成するテンポラリフ...