MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Using Mathematica to Grab RSS Feeds

  • To: mathgroup at smc.vnet.net
  • Subject: [mg116280] Re: Using Mathematica to Grab RSS Feeds
  • From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
  • Date: Wed, 9 Feb 2011 02:12:21 -0500 (EST)
  • References: <iir4e4$6h0$1@smc.vnet.net>

Never done this, but Import may be your tool of  choice:

xmlIn = Import["http://feeds.bbci.co.uk/news/world/europe/rss.xml";,
"XML" ]

get descriptions:

Cases[xmlIn,
 XMLElement["description", {}, {desc___}] -> desc, Infinity]

get links:

Cases[xmlIn, XMLElement["link", {}, {desc___}] -> desc, Infinity]

etc.

Cheers -- Sjoerd



On Feb 8, 11:03 am, Gregory Lypny <gregory.ly... at videotron.ca> wrote:
> Hello everyone,
>
> Wondering if anyone has used Mathematica to grab RSS feeds and curate the m in some sort of a database for later analysis.  Any tips on how this might be done?
>
> Regards,
>
> Gregory Lypny



  • Prev by Date: Another point about Mathematica 8.0
  • Next by Date: Re: ListCorrelate and Powers
  • Previous by thread: Using Mathematica to Grab RSS Feeds
  • Next by thread: Re: Using Mathematica to Grab RSS Feeds