Ticket #43 (closed defect: fixed)
Won't parse Yahoo!! RSS
| Reported by: | kyle.c.maxwell@… | Owned by: | ser |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1.5 |
| Component: | DOM | Version: | 3.1.2 |
| Severity: | normal | Keywords: | |
| Cc: | Ruby version: | 1.8.2 | |
| Operating system: | Linux |
Description
#Sample rss feed:
url = http://news.search.yahoo.com/news/rss?p=market&ei=UTF-8&fl=0&x=wrt
#Whenever an item title has an apostrophe in it, the following returns nothing: Document.new(Kernel.open(url)).elements.each("//item")
#In addition, any text nodes with apostrophes below will be corrupted. Document.new(Kernel.open(url)).elements.each("//title").collect{|e| e.text}
Change History
Note: See
TracTickets for help on using
tickets.
