Don't miss out Virtual Happy Hour today (April 26).

Try our conversational search powered by Generative AI!

Extending the RssControl class

Vote:
 

I'm new to both ASP.NET and EPiServer (5.2.).

I'd like to add a some of the optional fields from the RSS feed xml to be displayed. All I have found out so far is the the 'Container' object in the ItemTemplate doesn't have other rss feilds than "Description", "Link" and "Title". The closest I've got to a solution so far is that the Doc property seems to contain the complete feed document. But using that means parsing the entire doc by hand, right ?

Any ideas on how to display "category" and "pubDate" ?

#32499
Sep 04, 2009 13:06
Vote:
 
BTW, is it possible to get the source code for EPiServer RSSControl ?
#32741
Sep 15, 2009 15:43
Vote:
 

Now - are there other alternatives to display RSS feeds without having to write the entire ting myself ?

No ?

#32910
Sep 24, 2009 9:38
Vote:
 

Since that control was written Microsoft has added great support for working with feeds directly in .NET framework so you don't have to write the parsing yourself, see the SyndicationFeed class and if you google for it will find plenty of examples.

Hope that helps.

#32927
Sep 24, 2009 14:20
Vote:
 

Thanks, looks promising !

I'll look into it !

#33023
Edited, Sep 29, 2009 19:37
Vote:
 
Helo, we are working with the same problem. Could you please write what solution you end up with?
#33082
Oct 01, 2009 12:34
Vote:
 

Hi !

I will get back to this thread once I've got something done.

There are a few other more important tasks to be dealt with right now...

#33097
Oct 01, 2009 16:07
Vote:
 

Well, I finally made it !

What I'm a little uncertain of, is whether this solution is ok: I simply copied EPiServer source extracted by .NET Reflector, and modified this source into a new set of classes that contained the missing fields. I'm not gonna sell it or anything, but...

#36819
Feb 11, 2010 14:53
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.