 |
Recent
Articles | ASP.NET and IIS Serve More Fortune 1000 Sites Than any Other Web Server Technologies
A new survey of the 2005 Fortune 1000 Web sites reports that Microsoft's ASP.NET, ASP, and Internet Information Services (IIS) serve the majority of leading U.S. corporate sites.
The Top 1000 Application Servers Survey conducted last month by Port80 Software, a developer of tools for IIS Web servers, was the first to examine application server and scripting engine deployments among the Fortune 1000.
Remote
and Local ASP Debugging Tool Debugging ASP (Active Server Pages) can be a real challenge these days. With virtually no software tools on the market most web developers have to struggle with manually finding ASP errors as they appear, one at a time, by inserting additional special statements (i.e. \'Response.Write\' statement) into their code in order to have any control over the ASP debugging process.
Microsoft’s
Doom: Open Source
Microsoft may be in trouble. Right now, Windows dominates the PC market and it
has for a while but Linux has developed its following that following may grow
if the British government has its way. Open source is becoming quite popular because
it doesn't cost the user money to get at it and use it.
Using
ASP.NET to Prompt a User to Save When Leaving a Page
Previously I wrote an article titled Prompting a User to Save When Leaving a Page, which looked at how to use the client-side onbeforeunload event to display a confirmation messagebox when a user attempted to leave a data-entry page after having modified the data's contents without explicitly saving the data.
Industry
Partners Build Password-Reset Solutions on Microsoft Speech Server 2004
Password resets are the second most common reason workers call help desks, accounting for about one in four help desk requests, according to the Gartner Group, an IT research company....
|
|
| 07.21.05
Syndicating Your Web Site's
Content With RSS And ASP.NET
By Scott Mitchell
About a year ago I wrote an article titled, Syndicating Your Web Site's Content
with RSS.
In that article, I looked at how you can provide programmatic access to your site's latest content through an XML-formatted syndication standard known as RSS. The code in Syndicating Your Web Site's Content with RSS used classic ASP to generate the appropriately formatted RSS content. I decided that it was time to update the previous article, and illustrate how an RSS feed can be generated using ASP.NET!
The History of RSS
RSS is a standardized, XML-formatted means for syndication Web site content. The
history of RSS can be traced back to the Resource
Description Framework (RDF), a W3C standard first drafted in October 1997.
The purpose of RDF, in a nutshell, was to provide a standard means representing
information about resources on the Web, such as information like the title, author,
the date published, a description, copyright notices, and other metadata for online
articles, message board posts, FAQs, etc.
Write 10,000 lines of code in 10 minutes!
Iron Speed Designer – Free Evaluation |
|
In 1999, Netscape created a watered-down version of the W3C's RDF called RSS 0.9, or RDF Site Summary. RSS 0.9 adheres to RDF specification. Shortly afterwards the official RSS 1.0 is released. (The official specification for RSS 1.0 can be found at http://www.purl.org/rss/1.0/spec.) In 2000, Dave Winer introduces RSS 0.92, which breaks from the reliance on RDF, adding some new features. Dave changes the RSS acronym's meaning to Really Simple Syndication. In August 2002, RSS 2.0 is released, an upgrade from RSS 0.92. (The official RSS 2.0 specification can be found at http://blogs.law.harvard.edu/tech/rss.)
The point is, RSS 1.0 and RSS 2.0 are different from one another. Some sites (like SlashDot.org) syndicate their content using RSS 1.0. Others (like MSDN's latest headlines), uses RSS 2.0. Virtually all RSS aggregators can read both valid RSS 1.0 and RSS 2.0 feeds. Since I am more familiar with RSS 2.0, for this article, we'll create an RSS syndication feed that adheres to the RSS 2.0 specification.

Examining the Structure of RSS 2.0
Understand that RSS is intended to provide information about a Web site's latest
content. For example, Yahoo! News provides
RSS feeds of the latest news headlines.
Here on 4Guys there is an RSS
feed for the latest articles. Notice that RSS provides a synopsis for the
recent articles or news items. It does not provide the complete content for all
of the news items or articles. With this in mind, let's look at the RSS format.
The root element of an RSS document is <rss>. It has precisely one child element, <channel>. The <channel> element contains information about the syndicated content, as well as information about each content item being syndicated. There are three required channel elements:
- <title> - provides a title for the channel. For the 4Guys RSS feed this
is: "4GuysFromRolla.com Headlines"
- <link> - a URL to the channel (http://www.4guysfromrolla.com for the 4Guys
feed)
- <description> - a short description of the channel. For 4Guys this is:
"Headlines for 4GuysFromRolla.com. 4Guys is an online resource site for ASP and
ASP.NET information!"
Read
the rest of the article.
About the Author:
Scott Mitchell,
author of five ASP/ASP.NET books and founder of 4GuysFromRolla.com,
has been working with Microsoft Web technologies for the past five years. For
more inoformation check out Scott's book ASP.NET Data Web Controls Kick Start
(ISBN: 0672325012). |