Organizational Research By

Surprising Reserch Topic

Unable to find node in xmlRoot Google RSS feed in RSS

want to scrape the news articles in my Google alerts RSS feed. This is my code in R using the XML package:


This is what I think the problem is:

The xmlRoot() function creates a list of 24 elements. If there was only 1 element, the xpathApply() function will be able to detect the nodes, as in this example here:

The urls for the news articles that I am looking for are hidden in a mess of html code.

I would greatly appreciate if anyone could help me with this issue, or give alternative approaches to the problem. Thank you.

asked May 7, 2015 in google by rajesh
0 votes

Related Hot Questions

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.