RSS
-
Does anybody know how to generate an RSS feed? As I understand it, the xml file generated is static. It is not a dynamic script. i.e., that it is generated once and then available for read by feeders. Is this true? Would I generate it each time a 'latest update' has occured? Does anyone have a sample script that generates RSS?
-
Does anybody know how to generate an RSS feed? As I understand it, the xml file generated is static. It is not a dynamic script. i.e., that it is generated once and then available for read by feeders. Is this true? Would I generate it each time a 'latest update' has occured? Does anyone have a sample script that generates RSS?
There is no rule that says the feed need be dynamic or static. Much like any other file available over the net it can be either. Depends on your requirements. There are as many ways of making an RSS feed as there are ways to make a webpage. Here are two methods; Create a valid RSS 2.0 document using XmlTextWriter and Google to RSS. regards, Paul Watson Bluegrass South Africa Brian Welsch wrote: "blah blah blah, maybe a potato?" while translating my Afrikaans. Crikey! ain't life grand? Einstein says...
-
There is no rule that says the feed need be dynamic or static. Much like any other file available over the net it can be either. Depends on your requirements. There are as many ways of making an RSS feed as there are ways to make a webpage. Here are two methods; Create a valid RSS 2.0 document using XmlTextWriter and Google to RSS. regards, Paul Watson Bluegrass South Africa Brian Welsch wrote: "blah blah blah, maybe a potato?" while translating my Afrikaans. Crikey! ain't life grand? Einstein says...
Thanks, If I was to make an RSS of the 'latest updates'. How would the dynamic rule work? When I first thought of it, it seemed like only when I press the RSS icon the file is generated - but that can't be true. It has to be generated before hand so that you can use feeders to read the data.... So when will be the right time to export the 'latest update' rss feed? Thanks in advance.
-
Thanks, If I was to make an RSS of the 'latest updates'. How would the dynamic rule work? When I first thought of it, it seemed like only when I press the RSS icon the file is generated - but that can't be true. It has to be generated before hand so that you can use feeders to read the data.... So when will be the right time to export the 'latest update' rss feed? Thanks in advance.
You naturally don't want your RSS file being re-generated everytime someone hits it, rather you only want it re-generating on update to content on your website. So I would put the RSS updater code in the same block as the code that saves/updates your website. That way the RSS is only updated when the site updates. regards, Paul Watson Bluegrass South Africa Brian Welsch wrote: "blah blah blah, maybe a potato?" while translating my Afrikaans. Crikey! ain't life grand? Einstein says...
-
You naturally don't want your RSS file being re-generated everytime someone hits it, rather you only want it re-generating on update to content on your website. So I would put the RSS updater code in the same block as the code that saves/updates your website. That way the RSS is only updated when the site updates. regards, Paul Watson Bluegrass South Africa Brian Welsch wrote: "blah blah blah, maybe a potato?" while translating my Afrikaans. Crikey! ain't life grand? Einstein says...
-
You naturally don't want your RSS file being re-generated everytime someone hits it, rather you only want it re-generating on update to content on your website. So I would put the RSS updater code in the same block as the code that saves/updates your website. That way the RSS is only updated when the site updates. regards, Paul Watson Bluegrass South Africa Brian Welsch wrote: "blah blah blah, maybe a potato?" while translating my Afrikaans. Crikey! ain't life grand? Einstein says...
Something doesn't sit right... I noticed the RSS on codeproject and on other sites as well. It seems that it is not a static file, but instead it is generated on demand. The file is of '.asp' or '.aspx' extension. I figured it should be '.xml'. Am I wrong? What is the prefered method by RSS feeders? Also, Weird thing - I can't view the source of the RSS page on codeproject.