locked
rss feed RRS feed

  • Question

  • User-1657455852 posted

    hi to all ....

    what is rss feed ?and how it works...

    plzz give me some code in asp.net using visual C#  for understand the rss feed ..

    thanks...

    Tuesday, February 8, 2011 11:17 AM

Answers

  • User1587450652 posted

    A RSS feed is simply a XML document and there are several ways to work with XML documents built into the .NET Framework.

    There's at least one open source project for it, RSS.NET, and several code examples you can find with a little bit of searching. If you're using the .NET Framework 4.0 there's the SyndicationFeed class that provides this functionality.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, February 8, 2011 1:15 PM
  • User896700311 posted

    Hi, 

    a rss feed is simply a xml document created with a special structure so that it can be read and recognized by rss readers.

    a rss feed have some defined tags as title, description, image, url, link, etc...

    You can build your own rss feed with c#

    http://www.dotnettutorials.com/tutorials/advanced/rss-feed-asp-net-csharp.aspx

    Any doubt, post your comment.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, February 8, 2011 1:48 PM

All replies

  • User-1657455852 posted

    plzz reply ...


    Tuesday, February 8, 2011 11:37 AM
  • User1401801381 posted

    Hi


    RSS stands for Really Simple Syndication

    It's not a .net technology


    Check this link :

     http://www.rss-specifications.com/what-is-rss.htm





    Tuesday, February 8, 2011 11:40 AM
  • User-1657455852 posted

    Creating-an-RSS-Feed-with-ASP-Net-Written-in-C-Sharp

    ?????????

    it is not possible ???

    Tuesday, February 8, 2011 12:16 PM
  • User1587450652 posted

    A RSS feed is simply a XML document and there are several ways to work with XML documents built into the .NET Framework.

    There's at least one open source project for it, RSS.NET, and several code examples you can find with a little bit of searching. If you're using the .NET Framework 4.0 there's the SyndicationFeed class that provides this functionality.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, February 8, 2011 1:15 PM
  • User896700311 posted

    Hi, 

    a rss feed is simply a xml document created with a special structure so that it can be read and recognized by rss readers.

    a rss feed have some defined tags as title, description, image, url, link, etc...

    You can build your own rss feed with c#

    http://www.dotnettutorials.com/tutorials/advanced/rss-feed-asp-net-csharp.aspx

    Any doubt, post your comment.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, February 8, 2011 1:48 PM
  • User1401801381 posted

    hi


    you can also use the .net syndication namespace


    http://msdn.microsoft.com/en-us/library/system.servicemodel.syndication.syndicationitem.aspx


    example from this page :

    SyndicationItem item = new SyndicationItem("My Item", "This is some content", new Uri("http://SomeServer/MyItem"), "Item ID", DateTime.Now);
    item.Authors.Add(new SyndicationPerson("jesper@contoso.com", "Jesper Aaberg", "http://contoso/jesper"));
    item.Categories.Add(new SyndicationCategory("Category One"));
    item.Contributors.Add(new SyndicationPerson("lene@contoso.com", "Lene Aaling", "http://contoso/lene"));
    item.Copyright = new TextSyndicationContent("Copyright 2007");
    item.Links.Add(new SyndicationLink(new Uri("http://OtherServer/Item"), "alternate", "Alternate Link", "text/html", 1000));
    item.PublishDate = new DateTime(2007, 2, 23);
    item.Summary = new TextSyndicationContent("this is a summary for my item");
    XmlQualifiedName xqName = new XmlQualifiedName("itemAttrib", "http://FeedServer/tags");
    item.AttributeExtensions.Add(xqName, "ItemAttribValue");
    
    SyndicationFeed feed = new SyndicationFeed();
    Collection<SyndicationItem> items = new Collection<SyndicationItem>();
    items.Add(item);
    feed.Items = items;
    


    Friday, February 11, 2011 5:14 AM
  • Saturday, February 12, 2011 5:28 PM