Results 1 to 15 of 15

Thread: how to create rss feed

  1. #1

    Thread Starter
    Member
    Join Date
    May 2007
    Posts
    32

    how to create rss feed

    hi guys,

    i just want to create an rss feed which each time i post an article in my asp.net site..it must automatically create the feeds..please tell me how do i create an rss feed for my website..

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: how to create rss feed

    Thread moved from CodeBank forum (which is for code examples, not questions)

  3. #3
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: how to create rss feed

    I hope any of these open source applications are good enough
    http://csharp-source.net/open-source/rss-rdf-tools
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  4. #4
    New Member
    Join Date
    May 2007
    Posts
    1

    Re: how to create rss feed

    try http://www.rsscreation.com to learn more rss-format, and then write a simple asp-script which will read a database and format an xml-output from it

  5. #5

    Thread Starter
    Member
    Join Date
    May 2007
    Posts
    32

    Re: how to create rss feed

    ok...its seems nothing but writing to an xml file in a valid rss format..

    soo guys is it something like this file should be created automatically after each post or aticle is made in my website?


    edit:- well in some website they give rss link something lik this
    www.yourdomain.com/rss?comments

    which only gives the rss for the comments and same page is used to generate different types of rss feeds..soo what is the logic behind this..does it returns...a link to pre generated rss feed file.or how does this work..
    Last edited by shadowcodes; May 16th, 2007 at 01:31 AM.

  6. #6
    Hyperactive Member
    Join Date
    Oct 2006
    Posts
    354

    Re: how to create rss feed

    Quote Originally Posted by shadowcodes
    ok...its seems nothing but writing to an xml file in a valid rss format..

    soo guys is it something like this file should be created automatically after each post or aticle is made in my website?


    edit:- well in some website they give rss link something lik this
    www.yourdomain.com/rss?comments

    which only gives the rss for the comments and same page is used to generate different types of rss feeds..soo what is the logic behind this..does it returns...a link to pre generated rss feed file.or how does this work..

    It is calling a server side script to generate the rss on the fly.

  7. #7

    Thread Starter
    Member
    Join Date
    May 2007
    Posts
    32

    Re: how to create rss feed

    Quote Originally Posted by superbovine
    It is calling a server side script to generate the rss on the fly.

    lolz...man i knw its a server side scripting ..i mean..i just want the mechanism how it create it on the fly..like does it create the rss to some file in the website and then display it or..is it returning some the xml through a funciton and displaying ..please explain the mechanism..

  8. #8
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: how to create rss feed

    When you add an article to your site, how are you saving it on server??
    Show Appreciation. Rate Posts.

  9. #9

    Thread Starter
    Member
    Join Date
    May 2007
    Posts
    32

    Re: how to create rss feed

    Quote Originally Posted by Harsh Gupta
    When you add an article to your site, how are you saving it on server??

    it saves in a database. with a articleID..

    i can actually create an rss whenever a new post happens..i can make that happen..but i want something which various feeds generated by one page ..

  10. #10

  11. #11

    Thread Starter
    Member
    Join Date
    May 2007
    Posts
    32

    Re: how to create rss feed

    ok thanx for the link friend..ill go through that and its indeed an awsum link..but i was trying to create my ownn..ehmm anyway thanx ill search too

  12. #12
    Hyperactive Member
    Join Date
    Oct 2006
    Posts
    354

    Re: how to create rss feed

    Quote Originally Posted by shadowcodes
    ok thanx for the link friend..ill go through that and its indeed an awsum link..but i was trying to create my ownn..ehmm anyway thanx ill search too

    If you look at the link in my sig, I have php app that will convert an ATOM feed to RSS on the fly.

    I used this site to create my RSS 2.0 to spec.

    http://cyber.law.harvard.edu/rss/rss.html

    The feedvalidtor will make sure you are on track.
    http://feedvalidator.org/

    The toolkit above already did that work for you, but you can jump in if you want.

  13. #13

    Thread Starter
    Member
    Join Date
    May 2007
    Posts
    32

    Re: how to create rss feed

    superbovine that was awsum...

    n last 1 question i have seen some rss pages with the extension of aspx or php..not .rss these pages display rss according to the various requests like comments only or top 10 articles or or last 10 updates ...

    i knw it displays dynamically... is it something like it process the request..and in formload event it displays the retrieved rss in the page or what does it do to process those...

    im clear with what is rsss and all...only thing is i just want to know how does dynamic pages display rss..for the various requests..

    ..i already created the some rss files which each time a new post happens my applicaiton writes it to the rss file..and its validated and working well.

    thanx to u all

  14. #14
    Hyperactive Member
    Join Date
    Oct 2006
    Posts
    354

    Re: how to create rss feed

    Ok, if it ends in aspx or php you are it is doing some processing. Without a specific example, I can't really tell you exactly. However, most likely it is a feed aggreator of some sort. It either pulls from a DB or some other datasource like XML file or a remote RSS feed then formats then and serves them to you. If it is a db it will just do the SQL query and format the text in RSS 2.0 format. If it is XML you can parse the XML them format it using a interative or recursive call, or use a XSLT transform. Thinks like XPATH, XmlDocuments, System.Xml, and XSL in general will help with this. However, the XML could be formated in RSS format so all you would have to do is redisplay it in your feed.


    You can find an example at http://sourceforge.net just search for RSS asp.net.
    Last edited by superbovine; May 17th, 2007 at 07:43 AM.

  15. #15

    Thread Starter
    Member
    Join Date
    May 2007
    Posts
    32

    Re: how to create rss feed

    ok man atlast i created what i wanted..my page process the reqesust and displays the relevent rss charm thanx to u all..

    hihi no i gotta try creating an rss reader..as well as atom.. if u guys have samples or ideas please do provide me..


    thanx for your helps

    regards
    Aneef

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width