MacRuby
Register
Lost Password
Login
Projects
Apple Lossless Audio Codec
BridgeSupport
Calendar and Contacts Server
DCERPC
Darwin Streaming Server
DarwinBuild
FS Tools
MacPorts
MacRuby
SmartCard Services
WebKit
XQuartz
launchd
libdispatch
Wiki
New Ticket
View Tickets
Browse Source
Search:
Context Navigation
Back to Ticket #472
Ticket #472
: rss-parse.rb
File rss-parse.rb,
243 bytes
(added by sergio@…,
2 years
ago)
Line
1
require
'rss'
2
require
'open-uri'
3
4
rss_feed
=
"http://feeds.feedburner.com/WJasonGilmore"
5
rss_content
=
""
6
open
(
rss_feed
)
do
|
f
|
7
rss_content
=
f
.
read
8
end
9
rss
=
RSS
::
Parser
.
parse
(
rss_content
,
false
)
10
rss
.
items
.
each
do
|
i
|
11
puts
i
.
title
12
end
Download in other formats:
Original Format