|
-
May 14th, 2007, 08:11 AM
#1
Thread Starter
Member
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..
-
May 14th, 2007, 12:37 PM
#2
Re: how to create rss feed
Thread moved from CodeBank forum (which is for code examples, not questions)
-
May 14th, 2007, 02:14 PM
#3
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
-
May 15th, 2007, 02:29 AM
#4
New Member
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
-
May 15th, 2007, 10:49 PM
#5
Thread Starter
Member
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.
-
May 16th, 2007, 08:51 AM
#6
Hyperactive Member
Re: how to create rss feed
 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.
-
May 16th, 2007, 10:38 AM
#7
Thread Starter
Member
Re: how to create rss feed
 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..
-
May 16th, 2007, 12:35 PM
#8
Re: how to create rss feed
When you add an article to your site, how are you saving it on server??
-
May 16th, 2007, 12:43 PM
#9
Thread Starter
Member
Re: how to create rss feed
 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 ..
-
May 16th, 2007, 12:47 PM
#10
Hyperactive Member
Re: how to create rss feed
-
May 16th, 2007, 01:09 PM
#11
Thread Starter
Member
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
-
May 16th, 2007, 03:05 PM
#12
Hyperactive Member
Re: how to create rss feed
 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.
-
May 17th, 2007, 12:15 AM
#13
Thread Starter
Member
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
-
May 17th, 2007, 07:40 AM
#14
Hyperactive Member
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.
-
May 17th, 2007, 11:16 AM
#15
Thread Starter
Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|