This project has moved. For the latest updates, please go here.

RSS2 Link property null using rssdl

Topics: Developer Forum, User Forum
Oct 28, 2009 at 1:26 AM

I'm trying to consume a wordpress rss2 feed using the rssdl.exe but the link property of each item is always null, checking the feed it's definitely there. Not sure if the project is still maintained but if anyone can help it'd be much appreciated.

Oct 28, 2009 at 9:18 AM

Managed to resolve this by manually changing the generated class to use List<string> instead of List<MyFeedLink> on the MyFeedItem class.

Mar 19, 2015 at 5:37 PM
I had the same problem where the Link property is null when reading the rss feed. The source rss xml did have a link element for each item. This feed did have an atom namespace.

I was able to resolve this by:
  1. changing the generated link (MyFeedLink in original post but will be custom to your class) to a string for every instance of MyFeedLink
  2. removing the atom namespace from the XmlElement attribute on the Link property. => [XmlElement("link")]
Dallas