Procedure to add RSS Feed in ASP.net pages

Asked By 30 points N/A Posted on -
qa-featured

Hi All!

I would like to design a forum site with ASP.net and SQL server 2000 as back-end.

I would also like to add RSS Feed, Google or any other Ads on the site, but I don't know how to go about it.

How can I go about it? If you know, please state the procedures to add RSS Feed in Asp.net pages.

Waiting to get the solution ASAP.

Thanks,

Garry Kirtsen

SHARE
Best Answer by Voldemort
Best Answer
Best Answer
Answered By 20 points N/A #95064

Procedure to add RSS Feed in ASP.net pages

qa-featured
Hi Garry kirtsen!
 
You can add RSS Feed in ASP.net through a couple of methods that I will be explaining below.
  1. Go to start menu
  2. Click on Programs
  3. Navigate to Microsoft Visual Web Developer 2005 Express Edition.
Follow the steps explained below and you will do just fine:
  • Go to file and click on the new website – then you have to select location as file system, language as Visual Basic and keep the website path as default
  • Go to the toolbox and click on the data and finally go to XMLDataSource to the blank Webform.
  • Then you have to go to XMLDataSource Tasks and click on the Configure Data Source link
  • Then you will see the:
(a)    Data file that your RSS Feed path will use
(b)   Transformation file that you have to leave blank.
(c)    Xpath Expression that will get specific RSS Feed link.
  •    Put the data list by going to toolbox and clicking on the Data and then Datalist to the webform.
  • Choose Data source from the DataList and select XMLDataS
  • Finally, you have to switch the HTML Source view and Paste the below code-
<ASP:DataList…>
<ItemTemplate>
</ItemTemplate>
</ASP:DataList>
 
I hope you will do this using the method above.
Answered By 0 points N/A #95065

Procedure to add RSS Feed in ASP.net pages

qa-featured

RSS is commonly used to share data with others. Sharing data among disparate platforms requires a platform-neutral data format that can be easily transmitted via standard Internet Protocols. For this reason, using XML fits very well to accomplish this task.

There are a number of ways to consume a syndication file. Someone who runs a .NET resource website might want to add the latest MSDN Magazine article headlines on their Web site. Syndication files are also commonly consumed by news aggregator applications, which are applications designed specifically to retrieve and display syndication files from a variety of sources. Here is a simple way to use RSS in your application:

https://msdn.microsoft.com/en-us/library/aa478968.aspx

I hope it helps you.

Regards,

John

Related Questions