<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Set a Body Id Using PHP</title>
	<atom:link href="http://trevordavis.net/blog/tutorial/set-a-body-id/feed/" rel="self" type="application/rss+xml" />
	<link>http://trevordavis.net/blog/tutorial/set-a-body-id/</link>
	<description>Doing That Web Standards Thing</description>
	<pubDate>Fri, 21 Nov 2008 09:32:25 +0000</pubDate>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>By: Links of Interest - CSS-Tricks</title>
		<link>http://trevordavis.net/blog/tutorial/set-a-body-id/#comment-804</link>
		<dc:creator>Links of Interest - CSS-Tricks</dc:creator>
		<pubDate>Wed, 14 May 2008 12:45:43 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=195#comment-804</guid>
		<description>[...] ID about a million times here on CSS-Tricks, so I figured this was highly appropriate. Trevor Davis shares his technique on how he sets this using PHP. Basically it analyzes the URL to see what sub-directory you are in [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] ID about a million times here on CSS-Tricks, so I figured this was highly appropriate. Trevor Davis shares his technique on how he sets this using PHP. Basically it analyzes the URL to see what sub-directory you are in [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ozh</title>
		<link>http://trevordavis.net/blog/tutorial/set-a-body-id/#comment-783</link>
		<dc:creator>Ozh</dc:creator>
		<pubDate>Sat, 10 May 2008 12:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=195#comment-783</guid>
		<description>Yet another code snippet killed by WP :)
If you're posting code, consider using plugins such as iG Syntax Hiliter. Otherwise, all we get is curly quotes that crash code :)</description>
		<content:encoded><![CDATA[<p>Yet another code snippet killed by WP :)<br />
If you&#8217;re posting code, consider using plugins such as iG Syntax Hiliter. Otherwise, all we get is curly quotes that crash code :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor</title>
		<link>http://trevordavis.net/blog/tutorial/set-a-body-id/#comment-778</link>
		<dc:creator>Trevor</dc:creator>
		<pubDate>Fri, 09 May 2008 17:36:13 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=195#comment-778</guid>
		<description>@Mark-
Nice, thanks for the PHP tips.</description>
		<content:encoded><![CDATA[<p>@Mark-<br />
Nice, thanks for the PHP tips.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark James</title>
		<link>http://trevordavis.net/blog/tutorial/set-a-body-id/#comment-777</link>
		<dc:creator>Mark James</dc:creator>
		<pubDate>Fri, 09 May 2008 08:23:39 +0000</pubDate>
		<guid isPermaLink="false">http://trevordavis.net/?p=195#comment-777</guid>
		<description>Body IDs can be absolute lifesavers, I'll certainly attest to that.

Just a few notes on the PHP side…

You could get away with just using stripos checks against the URI rather than ereg. If you do feel the need to use regular expressions (i.e. for more complicated URI-matching), then you'd do well to replace eregi with the pcre-compatible preg_match function (see http://php.net/pcre), which is faster and not prone to being discontinued any time soon (ereg will not be in the PHP core as of PHP6).</description>
		<content:encoded><![CDATA[<p>Body IDs can be absolute lifesavers, I&#8217;ll certainly attest to that.</p>
<p>Just a few notes on the PHP side…</p>
<p>You could get away with just using stripos checks against the URI rather than ereg. If you do feel the need to use regular expressions (i.e. for more complicated URI-matching), then you&#8217;d do well to replace eregi with the pcre-compatible preg_match function (see <a href="http://php.net/pcre" rel="nofollow">http://php.net/pcre</a>), which is faster and not prone to being discontinued any time soon (ereg will not be in the PHP core as of PHP6).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
