Marnen Laibow-Koser wrote in post #968931:
> Kefan X. wrote in post #968930:
>> I am trying to parse both rss feed and atom feed using Nokogiri.
>
> There's probably a library that does this already; if there is, you
> should use it if possible. But read on for other ideas
I am trying to parse both rss feed and atom feed using Nokogiri. I'm
meeting a problem where i cannot use one query to universally select
both rss element and atom element.
E.g.
@item = "item"
root.xpath(//#...@item}) will select for rss
@item = "entry"
root.xpath(//#...@item}) will not select fo
2 matches
Mail list logo