Displaying 1 result from an estimated 1 matches for "boxscor".
Did you mean:
boxscore
2010 Mar 07
8
Parsing XML file with no style info with Hpricot
...;'http://www.sportingnews.com/stories/sportingnews/MLB/rss.xml''
@page1 = Hpricot(open(@url1))
<%= @page 1 %>
#This does not work, and I''m scratching my head
@url1 =
''http://gd2.mlb.com/components/game/mlb/year_2010/month_03/day_06/gid_2010_03_06_anamlb_oakmlb_1/boxscore.xml''
@page1 = Hpricot(open(@url1))
<%= @page 1 %>
The gd2.mlb.com XML file does not have any style information according
to Firefox. I can read it using Oxygen. Can somebody provide me with a
hint on how to parse the mlb.com XML? Thanks!
-A
--
Posted via http://www.ruby-forum.co...