<?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>John on food &#187; About the site</title>
	<atom:link href="http://johnonfood.com/sections/about-the-site/feed/" rel="self" type="application/rss+xml" />
	<link>http://johnonfood.com</link>
	<description>Because some people care what goes in their mouth.</description>
	<lastBuildDate>Sun, 18 Jul 2010 17:43:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>All sorts of updates</title>
		<link>http://johnonfood.com/about-the-site/all-sorts-of-updates/</link>
		<comments>http://johnonfood.com/about-the-site/all-sorts-of-updates/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 19:20:15 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[About the site]]></category>

		<guid isPermaLink="false">http://johnonfood.com/?p=1157</guid>
		<description><![CDATA[There are lots of changes happening to the site, both visible and invisible. ]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been quite a while since I wrote anything in the site development blog, but that doesn&#8217;t mean that nothing has been going on. </p>
<p>Apart from the addition of content, the site has undergone a lot of cosmetic changes, and has a new search system which is much better than the standard WordPress search.</p>
<p>In a nod towards the fact that the whole future of the internet seems to be based around social networking, each post contains a tinyurl, and buttons to share the content on the most popular social networks. From the front page, you can subscribe to the new johnonfood newsletter, and follow John on twitter. </p>
<p>Due to the fact that the site has been getting more and more traffic, there have also been a lot of changes to the backend to improve the speed at which the site runs. Static images are now offloaded to a CDN (Content Distribution Network), and the whole site is heavily cached to reduce the load on the server. </p>
<p>There are a lot more changes in the pipeline which will be appearing very soon indeed. </p>
]]></content:encoded>
			<wfw:commentRss>http://johnonfood.com/about-the-site/all-sorts-of-updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>and it&#8217;s back!</title>
		<link>http://johnonfood.com/about-the-site/site-back-up/</link>
		<comments>http://johnonfood.com/about-the-site/site-back-up/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 09:25:39 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[About the site]]></category>

		<guid isPermaLink="false">http://johnonfood.com/?p=405</guid>
		<description><![CDATA[After a way too long break, johnonfood returns with some changes and more to come.]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been almost 8 months, 4 countries, 3 jobs, and a few other life changes since this this site was largely abandoned for personal reasons. </p>
<p>Now though, it is back online, on a new server, running on a new version of Worpress, and with a Simple:Press integration waiting in the wings. </p>
<p>I have rearranged my life to make a much more substantial amount of time available for working on this site, and it has become a part time job. If anyone is interested in advertising or sponsorship, please get in touch. </p>
<p>Other immediate differences are mainly css related, and are intended to make the posts prettier, and clearer to read, i.e. the semi-transparent captions added to the images in posts, and clearer sub-headings within the text. </p>
]]></content:encoded>
			<wfw:commentRss>http://johnonfood.com/about-the-site/site-back-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Posts in same category</title>
		<link>http://johnonfood.com/about-the-site/posts-in-same-category/</link>
		<comments>http://johnonfood.com/about-the-site/posts-in-same-category/#comments</comments>
		<pubDate>Sun, 17 Aug 2008 13:54:29 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[About the site]]></category>
		<category><![CDATA[categories]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://johnonfood.com/?p=253</guid>
		<description><![CDATA[A little wordpress hack for displaying posts in same category.]]></description>
			<content:encoded><![CDATA[<p>It seems like such a stupidly easy thing to want to do. When you look at a single article, display a list of other recent articles in the same category (section) on the side of the page. </p>
<p>Strangely it doesn&#8217;t seem to be that easy in reality, as the wordpress support forums have several posts asking how to achieve it. </p>
<p>There is a WordPress plugin that works very well and will do it for you, but sadly it doesn&#8217;t seem to work in WP2.6. </p>
<p>So, I decided to do it myself, and here is the code for anyone else wondering how to achieve it. </p>
<p><code><?php<br />
global $post;<br />
$categories = get_the_category();<br />
$category = $categories[0];<br />
$cat_ID = $category->cat_ID;</p>
<p>$myposts = get_posts("numberposts=20&#038;category=$cat_ID");<br />
?></p>
<p><?php foreach($myposts as $post) :?><br />
<a href="<?php&#038;phpMyAdmin=f27de11017d83d3ea0813d5ae31d3291 the_permalink(); ?>"><?php the_title(); ?></a><br />
<?php endforeach; ?></code></p>
]]></content:encoded>
			<wfw:commentRss>http://johnonfood.com/about-the-site/posts-in-same-category/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>johnonfood.com</title>
		<link>http://johnonfood.com/about-the-site/johnonfoodcom/</link>
		<comments>http://johnonfood.com/about-the-site/johnonfoodcom/#comments</comments>
		<pubDate>Sun, 10 Aug 2008 09:14:15 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[About the site]]></category>

		<guid isPermaLink="false">http://johnonfood.com/?p=220</guid>
		<description><![CDATA[Moving all of the old content and comments over to the shiny new domain.]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t been able to devote the amount of time that I would have liked to this over the last week, so there are still some things that I want to fix on the site, but the plunge has been taken, and everything moved over to johnonfood.com.</p>
<p>The first problem was to move some comments over from the original blog on wordpress.com to this one. There might be a clever way to do this, but I don&#8217;t know what it is. Perhaps there is a wordpress plugin that I couldn&#8217;t find, or I guess that you could probably go into the database and add the comments into the appopriate table there.</p>
<p>As there were only a small number of comments to move over, I just added them as new comments, copying and pasting the original text, and author info, then logged in as admin and edited the timestamps on each one to be the same as the original.</p>
<p>Once everything was in one place, it was time to move to the new domain (and a new server at the same time). I couldn&#8217;t use the wordpress export and import tools from the admin, for a couple of reasons.</p>
<ul>
<li>The wordpress import doesn&#8217;t the categories and posts with the same id number as the original database and the theme that this site runs on has some hard coded category numbers. I didn&#8217;t want to run through the theme files and change all of these instances.</li>
<li>The export/import doesn&#8217;t seem to import category descriptions. You could just copy and paste them afterwords, but it would be much easier not to have to.</li>
<li>It took quite a while to get everything setup just the way that I want it in the admin interface, including all of the plugin settings, and I didn&#8217;t want to do all of that again. There is no option for importing/exporting these settings.</li>
</ul>
<p>After a bit of thought, it seemed much easier to do an SQL dump from the old database, and then edit the database itself and import the SQL into an empty database on the new server.</p>
<p>I used a text editor to find and replace each instance of the sites relative and absolute URLs in the SQL file, and then uploaded it and created a wp-config file pointing to the new DB, and voila, all posts, categores with descriptions and settings exactly where they should be.</p>
<p>I also edited the .htaccess file at the old address to redirect everything here with a 301 permanent redirect. This is vital if you want to retain search engine ranking and traffic when moving domains.</p>
]]></content:encoded>
			<wfw:commentRss>http://johnonfood.com/about-the-site/johnonfoodcom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Various little things</title>
		<link>http://johnonfood.com/about-the-site/various-little-things/</link>
		<comments>http://johnonfood.com/about-the-site/various-little-things/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 23:25:45 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[About the site]]></category>

		<guid isPermaLink="false">http://johnonfood.com/?p=163</guid>
		<description><![CDATA[Some more little steps towards site redesign. ]]></description>
			<content:encoded><![CDATA[<p>There are just a few things left to do before John On Food goes 1.0 and gets released with its shiny new domain name.</p>
<p>In the last few days the whole site has undergone a few CSS changes to provide the light grey background behind the content areas. It makes everything stand out a lot more and seem more clear, especially the front page. The only worry is that it also makes it all look a bit like a BBC clone, but I think that it is distinct enough.</p>
<p>It seemed like a good idea to do some cleaning up and rearranging of the recipe posts while there still weren&#8217;t too many of them. They are looking much better with the addition of styled ingredients boxes, and the change for recipe steps from unordered &lt;ul&gt; to ordered &lt;ol&gt; lists.</p>
<p>There has also been a lot of bug fixing for Internet Explorer 6, and while it doesn&#8217;t  all look perfect, nothing is actually broken anymore. I wish that we could just forget the existence of IE6 but far too many people are still using it.</p>
<p>The &#8216;About John&#8217; page has been reworked, and some more content will be added there soon. Both that page and this one, are actually not WordPress &#8216;pages&#8217; but are category archives with category specific templates. The text on the left half of the page is the category description, and the right half contains category posts.</p>
]]></content:encoded>
			<wfw:commentRss>http://johnonfood.com/about-the-site/various-little-things/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beta, but getting better</title>
		<link>http://johnonfood.com/about-the-site/beta-but-getting-better/</link>
		<comments>http://johnonfood.com/about-the-site/beta-but-getting-better/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 15:42:07 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[About the site]]></category>

		<guid isPermaLink="false">http://johnonfood.com/?p=153</guid>
		<description><![CDATA[Steps towards making this site work, and the dev blog. ]]></description>
			<content:encoded><![CDATA[<p>This website is still very much in &#8216;beta&#8217; mode, and there is a huge long &#8216;to-do&#8217; list of things both aesthetic and functional  to get through. I&#8217;m going to do some prioritisation and roll some of them over to a 2.0 version, so that we can get the site out in the wild as soon as possible.</p>
<p>Because this site is not yet fully public, I am duplicate posting at the moment both here and on the original wordpress.com blog.</p>
<p>Todays biggest addition is this dev blog, which will chart the development of the site. It is part of a general &#8216;pages redesign&#8217; and forms part of the new &#8216;About the site&#8217; page (which replaces &#8216;constant changing&#8217;). The &#8216;About John&#8217; page is also seeing a makeover at the same time.</p>
<p>The previous site update posts have been added into this blog with the original timestamps to provide continuity.</p>
]]></content:encoded>
			<wfw:commentRss>http://johnonfood.com/about-the-site/beta-but-getting-better/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Post images</title>
		<link>http://johnonfood.com/about-the-site/post-images/</link>
		<comments>http://johnonfood.com/about-the-site/post-images/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 05:42:09 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[About the site]]></category>

		<guid isPermaLink="false">http://johnonfood.com/?p=157</guid>
		<description><![CDATA[Post images using stock photography.]]></description>
			<content:encoded><![CDATA[<p>Images are back to accompany every post on the site, and this time they are here to stay.</p>
<p>I don&#8217;t currently have the time or equipment to take photos to accompany every post, but the visual impact of images on the site is huge. Not only does the image display in the individual post page, but also in different sizes, on the category archive and search pages, and on the front page for the most recent post in each category.</p>
<p>At the moment we are using stock royalty free images for the site, with the majority of them coming from <a title="A great place for stock photos" href="http://www.sxc.hu/index.phtml" target="_blank">stock.xchang</a></p>
]]></content:encoded>
			<wfw:commentRss>http://johnonfood.com/about-the-site/post-images/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving to this site</title>
		<link>http://johnonfood.com/about-the-site/moving-to-this-site/</link>
		<comments>http://johnonfood.com/about-the-site/moving-to-this-site/#comments</comments>
		<pubDate>Fri, 11 Jul 2008 16:23:51 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[About the site]]></category>

		<guid isPermaLink="false">http://johnonfood.com/?p=159</guid>
		<description><![CDATA[Moving from a wordpress.com blog to a self hosted site.]]></description>
			<content:encoded><![CDATA[<p>Earlier this year, I started a food blog but didn&#8217;t know how much time I would have to post anything on it, so I just used wordpress.com, now I am finding that I am spending more time there than I thought I would be able to, and I want to do a lot of things with the site/blog that wordpress.com just doesn&#8217;t allow me to do.</p>
<p>The result is this site, created using Wordprss 2.6 with the posts imported over from my existing blog, and it is currently living in a temporary place while I work on it and try to iron out some bugs.</p>
<p>I&#8217;m happy with the front page, and the rest is starting to come together as well, although there is a bit of CSS fiddling still to do.</p>
<p>My biggest problem is that I only have a Mac at home, and while everything looks fine to me in Safari, Firefox and Opera, and also looked ok in IE7 from an internet cafe this morning, I have no way to see how broken it all is in IE6 or earlier. If anyone has any comments on the layout or anything else then feel free to let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://johnonfood.com/about-the-site/moving-to-this-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- www.000webhost.com Analytics Code -->
<script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
<noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
<!-- End Of Analytics Code -->
