pulling external rss feed and display in blog engine

Topics: ASP.NET 2.0, Business Logic Layer, Controls, Themes
Nov 25, 2011 at 11:55 AM

hi all,

i have a question regarding blog engine,

what i need to do is i need to pull this http://lubnarafiq.posterous.com/rss.xml    

and display in my blog engine site,

 

is it possible with the current features ?  or do i need to write custom control to do this ? any idea guys ?

thanks

regards

suis_fdo

Coordinator
Nov 25, 2011 at 5:03 PM

You can use BlogRoll widget to subscribe to this feed and display descriptions of latest posts in the sidebar.

It it not exactly what you need, modifying this widget instead of doing custom control would probably be easier.

Nov 25, 2011 at 5:08 PM

is there any sample document that i can see how to do this ? much appriciate if some one can help me on this

Nov 26, 2011 at 3:22 AM

Here is the BlogRoll control  source code:

Its located at:  Root/App_Code/Controls/Blogroll.cs

You can view the latest code below:

Source Code

You can modify this code to make it work for you.

Currently there is no "Document" for BlogEngine.Net on how to do this.

But, BlogEngine.Net uses Asp.Net and with that you can do it.

Here are some useful posts on how to use Asp.net to consume an RSS feed.

http://weblogs.asp.net/scottgu/archive/2006/02/22/Awesome-ASP.NET-2.0-RSS-Tool_2D00_Kit-Released.aspx

http://www.wduffy.co.uk/blog/how-to-consume-an-xml-feed-in-aspnet-rss/

http://www.dotnetcurry.com/ShowArticle.aspx?ID=137

http://www.4guysfromrolla.com/articles/031809-1.aspx

http://www.4guysfromrolla.com/articles/031903-1.aspx

Hopfully one of these posts will help you out.

If you have any other questions please ask.

Keep us updated on how this is working for you.

I am also interested in this.

 

Have a great day!

Brian Davis