<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Fun with PHP and Wordpress</title>
	<atom:link href="http://ottodestruct.com/blog/2006/05/26/fun-with-php-and-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://ottodestruct.com/blog/2006/05/26/fun-with-php-and-wordpress/</link>
	<description>Random meanderings you're probably not interested in</description>
	<pubDate>Thu, 28 Aug 2008 10:43:36 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7-hemorrhage</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Otto</title>
		<link>http://ottodestruct.com/blog/2006/05/26/fun-with-php-and-wordpress/#comment-187</link>
		<dc:creator>Otto</dc:creator>
		<pubDate>Thu, 15 Feb 2007 18:06:51 +0000</pubDate>
		<guid isPermaLink="false">http://ottodestruct.com/blog/2006/05/26/fun-with-php-and-wordpress/#comment-187</guid>
		<description>Actually, at the time I wrote this, doing it this way made sense. Nowadays, what with Yahoo's new Pipes service, it doesn't make as much sense. I created pipes to eliminate those ads from those feeds in about 15 seconds each. Now those feeds are available through Yahoo Pipes quite easily, to everybody.

Go over there and search for "scores" and you'll find them quite easily:
http://pipes.yahoo.com/search?q=scores&#038;x=0&#038;y=0</description>
		<content:encoded><![CDATA[<p>Actually, at the time I wrote this, doing it this way made sense. Nowadays, what with Yahoo&#8217;s new Pipes service, it doesn&#8217;t make as much sense. I created pipes to eliminate those ads from those feeds in about 15 seconds each. Now those feeds are available through Yahoo Pipes quite easily, to everybody.</p>
<p>Go over there and search for &#8220;scores&#8221; and you&#8217;ll find them quite easily:<br />
<a href="http://pipes.yahoo.com/search?q=scores&#038;x=0&#038;y=0" rel="nofollow">http://pipes.yahoo.com/search?.....0&#038;y=0</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://ottodestruct.com/blog/2006/05/26/fun-with-php-and-wordpress/#comment-181</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Wed, 14 Feb 2007 20:00:31 +0000</pubDate>
		<guid isPermaLink="false">http://ottodestruct.com/blog/2006/05/26/fun-with-php-and-wordpress/#comment-181</guid>
		<description>How is this actually displayed? I have saved this as sportscores.php but can not seem to add it to my site. 

Thanks,

Andrew</description>
		<content:encoded><![CDATA[<p>How is this actually displayed? I have saved this as sportscores.php but can not seem to add it to my site. </p>
<p>Thanks,</p>
<p>Andrew</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://ottodestruct.com/blog/2006/05/26/fun-with-php-and-wordpress/#comment-160</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Mon, 05 Feb 2007 21:14:23 +0000</pubDate>
		<guid isPermaLink="false">http://ottodestruct.com/blog/2006/05/26/fun-with-php-and-wordpress/#comment-160</guid>
		<description>nevermind, I figured it out... rss-functions.php has been replaced by rss.php, so I just had to change the file name in the code.

how would I go about formatting it a bit better though?

my site is http://www.firebettman.com

thanks!</description>
		<content:encoded><![CDATA[<p>nevermind, I figured it out&#8230; rss-functions.php has been replaced by rss.php, so I just had to change the file name in the code.</p>
<p>how would I go about formatting it a bit better though?</p>
<p>my site is <a href="http://www.firebettman.com" rel="nofollow">http://www.firebettman.com</a></p>
<p>thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://ottodestruct.com/blog/2006/05/26/fun-with-php-and-wordpress/#comment-154</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Fri, 02 Feb 2007 17:59:58 +0000</pubDate>
		<guid isPermaLink="false">http://ottodestruct.com/blog/2006/05/26/fun-with-php-and-wordpress/#comment-154</guid>
		<description>Thanks for this!

I'm trying to put it into my site... using WordPress and a K2 mod... trying to put it into my sidebar PHP module, but I'm not having any luck.

I'm thinking the paths aren't correct for my site? I tried messing around with them, but no luck. That rss-functions.php files is in wordpress/wp-includes ,but I'm not sure if it is being referenced properly.

any help would be appreciated! I'm (obviously) a PHP beginner.

thanks!!

-Matt</description>
		<content:encoded><![CDATA[<p>Thanks for this!</p>
<p>I&#8217;m trying to put it into my site&#8230; using WordPress and a K2 mod&#8230; trying to put it into my sidebar PHP module, but I&#8217;m not having any luck.</p>
<p>I&#8217;m thinking the paths aren&#8217;t correct for my site? I tried messing around with them, but no luck. That rss-functions.php files is in wordpress/wp-includes ,but I&#8217;m not sure if it is being referenced properly.</p>
<p>any help would be appreciated! I&#8217;m (obviously) a PHP beginner.</p>
<p>thanks!!</p>
<p>-Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Otto</title>
		<link>http://ottodestruct.com/blog/2006/05/26/fun-with-php-and-wordpress/#comment-111</link>
		<dc:creator>Otto</dc:creator>
		<pubDate>Wed, 17 Jan 2007 15:17:33 +0000</pubDate>
		<guid isPermaLink="false">http://ottodestruct.com/blog/2006/05/26/fun-with-php-and-wordpress/#comment-111</guid>
		<description>require_once = A require is like an include, but it stops the script if it can't find the file. The "once" part means that if it's already included the file, it won't try to include it again.

ABSPATH = Wordpress's variable to hold the location of the blog directory.

WPINC = Wordpress's variable to hold the location of the wp-include directory, relative to the blog directory.

/rss-functions.php = The name of the file we want.

The dots are string concatenation operations. So we're building the location of the file and then including it, basically. Pretty straightforward, really.</description>
		<content:encoded><![CDATA[<p>require_once = A require is like an include, but it stops the script if it can&#8217;t find the file. The &#8220;once&#8221; part means that if it&#8217;s already included the file, it won&#8217;t try to include it again.</p>
<p>ABSPATH = Wordpress&#8217;s variable to hold the location of the blog directory.</p>
<p>WPINC = Wordpress&#8217;s variable to hold the location of the wp-include directory, relative to the blog directory.</p>
<p>/rss-functions.php = The name of the file we want.</p>
<p>The dots are string concatenation operations. So we&#8217;re building the location of the file and then including it, basically. Pretty straightforward, really.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andy bailey</title>
		<link>http://ottodestruct.com/blog/2006/05/26/fun-with-php-and-wordpress/#comment-108</link>
		<dc:creator>andy bailey</dc:creator>
		<pubDate>Tue, 16 Jan 2007 21:48:42 +0000</pubDate>
		<guid isPermaLink="false">http://ottodestruct.com/blog/2006/05/26/fun-with-php-and-wordpress/#comment-108</guid>
		<description>thanks for explaining that so well.
I've just been playing with parsing files so I can put the latest results on my blog. I did it without going into the wordpress code other than using an include().

can you explain the require_once(ABSPATH . WPINC . ' 
parts? abspath is obvious, I'me sure i've seen that in the WP code, what do the dots and wpinc mean?</description>
		<content:encoded><![CDATA[<p>thanks for explaining that so well.<br />
I&#8217;ve just been playing with parsing files so I can put the latest results on my blog. I did it without going into the wordpress code other than using an include().</p>
<p>can you explain the require_once(ABSPATH . WPINC . &#8216;<br />
parts? abspath is obvious, I&#8217;me sure i&#8217;ve seen that in the WP code, what do the dots and wpinc mean?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
