Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3804516
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T14:31:51+00:00 2026-05-19T14:31:51+00:00

Im creating an rss feed for my site and going with this way of

  • 0

Im creating an rss feed for my site and going with this way of building it:
http://www.developerzen.com/2009/01/11/aspnet-mvc-rss-feed-action-result/

Im just not sure how do new feed get pushed to it though?

eg for a site like digg.com suppose everyday you want to publish the top 5 most dugg items in the last 24 hours everyday at 8am.. how would i go about doing something like that?

thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T14:31:51+00:00Added an answer on May 19, 2026 at 2:31 pm

    It’s up to you to generate those SyndicationItem instances and return them. In the example they have hardcoded a SyndicationFeed and a SyndicationItem but in a real application you would fetch this information from your database and generate multiple SyndicationItem dynamically. For example:

    public ActionResult Feed()
    {
        var feed = new SyndicationFeed(
            "Test Feed",
            "This is a test feed",
            new Uri("http://Contoso/testfeed"),
            "TestFeedID",
            DateTime.Now
        );
        IEnumerable<YourModel> topItems = _repository.GetTopItems();
        IEnumerable<SyndicationItem> syndicationItems = topItems.Select(
            item => new SyndicationItem(
                item.Title,
                item.Description,
                new Uri(item.Url),
                item.Id,
                DateTime.Now
            )
        );
        feed.Items = syndicationItems;
        return new RssActionResult() { Feed = feed };
    }
    

    Now the subscribers of your syndication feed /somecontroller/feed will always get the latest information directly from your data store.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I followed this tutorial on creating a simple rss reader... http://www.kieranmcgrady.com/blog/2012/4/25/tutorial-how-to-create-a-simple-rss-reader-for-ios.html The problem is
I just downloaded the code from http://cocoadevblog.com/iphone-tutorial-creating-a-rss-feed-reader to see how to implement rss feeder
Followed http://damieng.com/blog/2010/04/26/creating-rss-feeds-in-asp-net-mvc to create RSS for my blog. Everything fine except html tags in
Adding CSS to RSS is quite simple as shown in here: http://www.petefreitag.com/item/208.cfm Creating RSS
First, I'm not looking a way to parse an RSS-feed. I am creating an
I am trying to serve an RSS feed from my ASP.net MVC site. Everything
I'm creating an RSS feed for a site. I am using SimpleXML to create
I am creating an RSS feed. I get this error in view: ActionController::RoutingError in
I'm creating an RSS feed out of some articles using CakePHP, but it doesn't
I'm creating an Android application that requires the following: Data from RSS feed gets

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.