ASP 101 - Active Server Pages 101 - Web06
The Place ASP Developers Go!



Windows Technology Windows Technology
15 Seconds
4GuysFromRolla.com
ASP 101
ASP Wire
VB Forums
VB Wire
WinDrivers.com
internet.commerce internet.commerce
Partners & Affiliates
ASP 101 is an
internet.com site
ASP 101 is an internet.com site
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

ASP 101 News Flash ASP 101 News Flash



 Top ASP 101 Stories Top ASP 101 Stories
Connections, Commands, And Procedures
What is ASP?
VBScript Classes: Part 1 of N

QUICK TIP:
Comparing Strings in VBScript
Show All Tips >>
ASP 101 RSS Feed ASP 101 Updates


Quick Tips


Make Your Site's RSS Feed Shine

RSS is a way of life these days, but there's no reason your site's RSS feed needs to look like it was written by a computer. Sure, in order for an RSS feed to be read by most RSS readers it needs to be valid XML, but who says you have to stop there?

That's one of the many great things about XML, you can make your data look any way you want when people view it by simply specifying a stylesheet. And the best part is that all the RSS readers and feed consumers out there could care less... they still see the plain old XML that they know and love.

Take a look at some of these examples:

Underneath, they're all just XML (as you can see by doing a "View Source" with your browser), but right after the XML declaration on the first line you'll see a link to a stylesheet that looks something like this:

<?xml-stylesheet type='text/xsl' href='rsspretty.xsl' version='1.0'?>

The stylesheet you use will determine what the resulting page looks like, but to get started take a look at the stylesheets used by the feeds listed above.

Taking a look at those examples should get you well on your way to creating a look and feel that works for your site's RSS feeds. Finally humans and RSS readers can peacefully coexist!

If you're still confused about this whole RSS thing, you might want to take a look at Microsoft's About MSDN's RSS Feeds page or peruse the RSS section over at XML Files.


Previous      Show All Tips      Next

If you have a tip you would like to submit, please send it to: webmaster@asp101.com.


Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers