<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>Stephen Philbin - Web Design and Development</title>
		<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
		<link rel="alternate" href="http://www.stephenphilbin.com/blog/2007-07-24/RSS 2.0 Feeds Added?media=xhtml" />
		<link rel="alternate" href="http://www.stephenphilbin.com/blog/2007-07-24/RSS 2.0 Feeds Added?media=text-xml" />
		<link rel="alternate" href="http://www.stephenphilbin.com/blog/2007-07-24/RSS 2.0 Feeds Added?media=html" />
		<link rel="alternate" href="http://www.stephenphilbin.com/blog/2007-07-24/RSS 2.0 Feeds Added?media=text-plain" />
		<style type="text/css" media="all">@import url(/themes/stephenphilbincom/default/css/readable_all.css);</style>
		<style type="text/css" media="screen">@import url(/themes/stephenphilbincom/default/css/readable_screen.css);</style>
		<style type="text/css" media="handheld">@import url(/themes/stephenphilbincom/default/css/readable_handheld.css);</style>
		<style type="text/css" media="print">@import url(/themes/stephenphilbincom/default/css/readable_print.css);</style>
	</head>
	<body>
		<div id="alternate_media_division">
			<dl>
				<dt>Alternative document/media types:</dt>
				<dd><a href="?media=xhtml" title="View this document in a application/xhtml+xml format.">xhtml</a></dd>
				<dd><a href="?media=text-xml" title="View this document in a text/xml format.">text-xml</a></dd>
				<dd><a href="?media=html" title="View this document in a text/html format.">html</a></dd>
				<dd><a href="?media=text-plain" title="View this document in a text/plain format.">text-plain</a></dd></dl></div>
		<div id="container">
			<div id="page_head">
				<h1>Web Design And Development By Stephen Philbin</h1>
				<p id="logreg"><a href="/login/">Log in</a> / <a href="/register/">Register</a></p>
				<ul id="navigation">
					<li>
						<a href="" title="Go back to the main page.">Home</a>
					</li>
					<li>
						<a href="/articles/" title="View web design related articles authored by myself. (Some time in the not too distant future.)"><del>Articles</del></a>
					</li>
					<li>
						<a href="/personal/" title="A bit less tech and more general.">Personal</a>
					</li>
				</ul>
			</div>
			<div id="content">
			<div id="entry_division"><h2>RSS 2.0 Feeds Added</h2><p class="summary">Seven days and several thousand expletives later I finally get my RSS feed generator built. Now all I need is some content...</p><p>A little later than planned and still not entirely satisfactory, my RSS 2.0 feed generator finally rolls out. Why is this such a big deal? Mostly because the filtering of my entries by category (in the database) was a complete nightmare to implement, but also because I didn't make my feed generator the conventional way.</p>

<p>Where most people would opt for pulling their entries out of their database and then loop through each row, echoing out the data into &lt;item&gt;s as they go, I took a rather different approach. Instead, I have the main landing-page created as per <q>normal</q> (a process which in its self is rather an unusual one that I'm sure few others would commonly consider) and then transform it on the server side with XSLT. I did originally intend to have the XSLT performed on the client side, but quickly realized that most browsers are pretty hopeless in one way or another when it comes to XML and its related technologies (Firefox in particular being an especially ignorant beast). So I decided to put all that extra load on my host machine instead. Oh what fun.</p>

<p>Almost as difficult as implementing my feed generator, is deciding what the hell I do next. I'm a bit tempted to add a stylesheet to generate Atom feeds. Actually implementing the <a href="http://cyber.law.harvard.edu/rss/rss.html" rel="nofollow external">RSS 2.0 specification</a> made me realize just how rough it is and makes me want to implement a much better sounding feed standard. Anyone that's become accustomed to the quality of the Recommendations that spew forth from the <abbr title="World Wide Web Consortium"><a href="http://www.w3.org/" rel="external">W3C</a></abbr> would probably find the RSS 2.0 specification to be somewhat vague and strange.</p>

<p>As tempting as it is to implement a decent feed standard, there's the glaringly obvious fact that there's plenty of other stuff to fix too. The <abbr title="Cascading Style Sheets">CSS</abbr> could certainly do with some major improvements and the functionality for people to be able to register and actually post comments are pretty high on the list too. I'm sure at least someone reading this stuff would welcome the opportunity to tell me what an idiot I am.</p>

<p>Well whichever I decide, I guess I'd better go and get on with it. Adios for now folks and perhaps, if I'm lucky, you'll see something amazing and spectacular appear here in the near future.</p><p class="author_info">Authored by <span class="author_name">Stephen Philbin</span>. Published on <span class="natural_publish_date">Tuesday the 24th of July 2007 at 16:49:14 BST</span></p><div class="alternate_publish_date_formats"><span class="rfc3339_publish_date">2007-07-24T16:49:14+01:00</span><span class="rfc2822_publish_date">Tue, 24 Jul 2007 16:49:14 +0100</span></div></div><dl id="related_category_list"><dt>Related Categories:</dt><dd>Web Development</dd><dd>XML</dd><dd>MySQL</dd></dl><div id="comments_division"><h3>0 comments for this entry.</h3></div></div>
			<div id="footer">
				|| © 2007 - 2008 All content and design copyright stephenphilbin.com and indicated contributors/authors.
				|| <a id="contributor_access" href="https://www.stephenphilbin.com/login">Contributor login</a>
			</div>
		</div>
	</body>
</html>
