<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Andy Fletcher &#187; Wordpress</title>
	<atom:link href="http://www.tomcatuk.net/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tomcatuk.net</link>
	<description>Do, or do not, there is no try</description>
	<lastBuildDate>Thu, 02 Sep 2010 19:49:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to use a PHP include with WordPress</title>
		<link>http://www.tomcatuk.net/how-to-use-a-php-include-with-wordpress/</link>
		<comments>http://www.tomcatuk.net/how-to-use-a-php-include-with-wordpress/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 18:45:59 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.tomcatuk.net/?p=64</guid>
		<description><![CDATA[This took longer than I thought to figure out. I wanted to use a server side include so I can use files on my webserver, but that are not within my WordPress installation. I tried a bunch of stuff, but luckily was able to see the error messages when it failed by viewing the source [...]]]></description>
			<content:encoded><![CDATA[<p>This took longer than I thought to figure out. I wanted to use a server side include so I can use files on my webserver, but that are not within my WordPress installation. I tried a bunch of stuff, but luckily was able to see the error messages when it failed by viewing the source code of the WordPress blog. For instance, I got &#8220;syntax error, unexpected T_STRING&#8221;. This is the right code (assuming, of course, that the file you want is on the same server, but just in a directory outside the WordPress installation):</p>
<p>&lt;?php include(ABSPATH . &#8216;/filename.html&#8217;); ?&gt;</p>
<p>ABSPATH means, as you can no doubt imagine, absolute path. So if the file you wanted was in a sub directory such as &#8220;myfiles&#8221; you&#8217;d change the above to:</p>
<p>&lt;?php include(ABSPATH . &#8216;/myfiles/filename.html&#8217;); ?&gt;</p>
<p>You&#8217;d typically be calling for a file with an extension such as .html, .htm or .php. I need to do this as I plan to merge a new WordPress blog into an existing site, and the site has CSS style menus driven with an unordered list of links in a separate html file which I only want to have to edit in the one place.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tomcatuk.net/how-to-use-a-php-include-with-wordpress/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Time for WordPress</title>
		<link>http://www.tomcatuk.net/time-for-wordpress/</link>
		<comments>http://www.tomcatuk.net/time-for-wordpress/#comments</comments>
		<pubDate>Sat, 18 Jul 2009 19:17:53 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.tomcatuk.net/?p=53</guid>
		<description><![CDATA[Got bored with using Blogger &#8211; seems to be a total headache to maintain and doesn&#8217;t give enough control, so I&#8217;ve migrated the blog over to WordPress. For now I&#8217;ve added a theme, and messed about with it a little. I intend to mess about with it a lot as (while it looks quite nice) [...]]]></description>
			<content:encoded><![CDATA[<p>Got bored with using Blogger &#8211; seems to be a total headache to maintain and doesn&#8217;t give enough control, so I&#8217;ve migrated the blog over to WordPress. For now I&#8217;ve added a theme, and messed about with it a little. I intend to mess about with it a lot as (while it looks quite nice) the guy who wrote it left it littered with errors, and the layout isn&#8217;t quite &#8220;right&#8221;. Didn&#8217;t bother doing any 301&#8242;s for it, unlike the <a href="http://www.tomcatuk.net/archives/46">TKD site</a>.</p>
<p>Made my comments now to have &#8220;Nofollow&#8221; removed by default as I don&#8217;t agree with the whole nofollow thing. I moderate comment, and I do check what the comment links to. Regardless of the quality of the comment, if it loks like it&#8217;s purpose is to promote some &#8220;bad&#8221; area of the web it just doesn&#8217;t get published. So There.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tomcatuk.net/time-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
