[過去ログ]
【PHP】下らねぇ質問はここに書き込みやがれ 11 (1002レス)
【PHP】下らねぇ質問はここに書き込みやがれ 11 http://mevius.5ch.net/test/read.cgi/tech/1591334726/
上
下
前次
1-
新
通常表示
512バイト分割
レス栞
抽出解除
必死チェッカー(本家)
(べ)
自ID
レス栞
あぼーん
このスレッドは過去ログ倉庫に格納されています。
次スレ検索
歴削→次スレ
栞削→次スレ
過去ログメニュー
886: デフォルトの名無しさん (ワッチョイ 6f2c-ORmy) [sage] 2021/04/09(金) 09:13:24.55 ID:PljcoBP70 Ruby では、RSS::Parser で、RSS/ATOM をパースできる <?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> <title>サンプル</title> <updated>2003-12-13T18:30:02Z</updated> <author><name>あいう</name></author> <id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6</id> <entry> <title>タイトル 1</title> <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id> <updated>2003-12-13T18:30:02Z</updated> </entry> </feed> require 'rss' atom = File.read( "./input.atom" ) feed = RSS::Parser.parse( atom ) feed.items.each { |item| puts "#{ item.title.content }" } #=> タイトル 1 http://mevius.5ch.net/test/read.cgi/tech/1591334726/886
メモ帳
(0/65535文字)
上
下
前次
1-
新
書
関
写
板
覧
索
設
栞
歴
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.777s*