Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# clevster 9/27/2007 7:13 PM
I am attempting to add the following feed to the an instance of the RemoteContent module and when I do so I get an "object not set to an instance of an object" error.
Yippee, my favorite error message.

Feed URL: http://rss.slashdot.org/Slashdot/slashdot

After examining the source. It appears the problem is on line 323 in XmlContentToFeed method of RemoteContentModule.cs
Line 323: feed.Title = doc.SelectSingleNode("//channel/title").InnerText;

Apparently it is not able to select the node correctly with the specified XPath. My XPath skills are lacking can someone help me fix this problem and hopefully fix it for all possible RSS feeds. There may be other places were XPath needs to change as well but since I couldn't get past verify I have not encountered them yet.

Any help would be appreciated
# martijnb 9/28/2007 12:12 PM
Slashdot has an RDF feed and the RemoteContent module has only been tested with RSS 2.0 feeds.

I can't see directly what the exact issue is though. The XPath //channel/title also exists in RDF. Maybe some namespace issue?

Any experts?