<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Mark Wearing</title>
	
	<link>http://www.markwearing.co.uk</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Fri, 29 Apr 2011 16:36:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/markwearing" /><feedburner:info uri="markwearing" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>WordPress, WordPress, WordPress!</title>
		<link>http://feedproxy.google.com/~r/markwearing/~3/WPuqaSQLDWQ/wordpress-wordpress-wordpress</link>
		<comments>http://www.markwearing.co.uk/wordpress-wordpress-wordpress#comments</comments>
		<pubDate>Fri, 29 Apr 2011 16:25:59 +0000</pubDate>
		<dc:creator>Zordon</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.markwearing.co.uk/wordpress-wordpress-wordpress</guid>
		<description><![CDATA[OK, so I am just about to embark on the largest website build I have ever been involved with and it is going to be really exciting I am really looking forward to it. The website(s) are going to be created using WordPress &#8211; something that I am already very familiar with, but now the [...]]]></description>
			<content:encoded><![CDATA[<p>OK, so I am just about to embark on the largest website build I have ever been involved with and it is going to be really exciting I am really looking forward to it. </p>
<p>The website(s) are going to be created using WordPress &#8211; something that I am already very familiar with, but now the aim is to become an absolute expert!</p>
<p>I have just finished reading <strong>&#8216;Smashing WordPress&#8217;</strong> by Thord Daniel Hedengren &#8211; and it was very interesting. So now I am going to be trying out a lot of new techniques and I imagine this blog is going to fill up with countless posts dedicated to everything WordPress.</p>
<p>Wish me luck!</p>
<img src="http://feeds.feedburner.com/~r/markwearing/~4/WPuqaSQLDWQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.markwearing.co.uk/wordpress-wordpress-wordpress/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.markwearing.co.uk/wordpress-wordpress-wordpress</feedburner:origLink></item>
		<item>
		<title>Arkham Tattoo</title>
		<link>http://feedproxy.google.com/~r/markwearing/~3/uZludY5QTXg/arkham-tattoo</link>
		<comments>http://www.markwearing.co.uk/arkham-tattoo#comments</comments>
		<pubDate>Wed, 27 Apr 2011 16:52:06 +0000</pubDate>
		<dc:creator>Zordon</dc:creator>
				<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://www.markwearing.co.uk/?p=54</guid>
		<description><![CDATA[This is a new tattoo studio which needed an online presence. This site is powered by WordPress and I have used JavaScript to encorporate features that encourage the visitor to explore further. Check it out. Visit the actual website >>>]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.markwearing.co.uk/wp/wp-content/themes/mark-wearing/images/portfolio/arkham-graphic.png" alt="" /></p>
<p>This is a new tattoo studio which needed an online presence. This site is powered by WordPress and I have used JavaScript to encorporate features that encourage the visitor to explore further. Check it out.<br />
<a href="http://www.arkhamtattoo.co.uk" target="_blank">Visit the actual website >>></a></p>
<img src="http://feeds.feedburner.com/~r/markwearing/~4/uZludY5QTXg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.markwearing.co.uk/arkham-tattoo/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.markwearing.co.uk/arkham-tattoo</feedburner:origLink></item>
		<item>
		<title>Mark Pajak</title>
		<link>http://feedproxy.google.com/~r/markwearing/~3/wzL-nTiZuYQ/mark-pajak</link>
		<comments>http://www.markwearing.co.uk/mark-pajak#comments</comments>
		<pubDate>Wed, 27 Apr 2011 14:04:08 +0000</pubDate>
		<dc:creator>Zordon</dc:creator>
				<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://www.markwearing.co.uk/?p=57</guid>
		<description><![CDATA[This website serves a museum curator &#038; freelance writer. It serves as both a blog &#038; online portfolio with an attention grabbing front page loaded with JavaScript. The site is easily maintainablle using wordpress as a CMS. (The site is currently offline)]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.markwearing.co.uk/wp/wp-content/themes/mark-wearing/images/portfolio/pajak-graphic.png" alt="" /></p>
<p>This website serves a museum curator &#038; freelance writer. It serves as both a blog &#038; online portfolio with an attention grabbing front page loaded with JavaScript. The site is easily maintainablle using wordpress as a CMS. (The site is currently offline)</p>
<img src="http://feeds.feedburner.com/~r/markwearing/~4/wzL-nTiZuYQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.markwearing.co.uk/mark-pajak/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.markwearing.co.uk/mark-pajak</feedburner:origLink></item>
		<item>
		<title>Roy Wearing Brick Work</title>
		<link>http://feedproxy.google.com/~r/markwearing/~3/hF1zQmZZW7c/roy-wearing-brick-work</link>
		<comments>http://www.markwearing.co.uk/roy-wearing-brick-work#comments</comments>
		<pubDate>Tue, 26 Apr 2011 17:20:10 +0000</pubDate>
		<dc:creator>Zordon</dc:creator>
				<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://www.markwearing.co.uk/?p=72</guid>
		<description><![CDATA[This is a small website for a building business offering a wide range of services. They needed a simple website just to get a presence on the internet. The website is built using wordpress as a CMS. Visit the actual website >>>]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.markwearing.co.uk/wp/wp-content/themes/mark-wearing/images/portfolio/roy-graphic.png" alt="" /></p>
<p>This is a small website for a building business offering a wide range of services. They needed a simple website just to get a presence on the internet. The website is built using wordpress as a CMS.<br />
<a href="http://www.roywearing.co.uk" target="_blank">Visit the actual website >>></a></p>
<img src="http://feeds.feedburner.com/~r/markwearing/~4/hF1zQmZZW7c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.markwearing.co.uk/roy-wearing-brick-work/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.markwearing.co.uk/roy-wearing-brick-work</feedburner:origLink></item>
		<item>
		<title>Science Oxford</title>
		<link>http://feedproxy.google.com/~r/markwearing/~3/bnKS_dVAVa8/science-oxford</link>
		<comments>http://www.markwearing.co.uk/science-oxford#comments</comments>
		<pubDate>Mon, 25 Apr 2011 17:22:41 +0000</pubDate>
		<dc:creator>Zordon</dc:creator>
				<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://www.markwearing.co.uk/?p=75</guid>
		<description><![CDATA[This is the series of websites I looked after professionally for just over two years. They were created by One ltd, and although I did not make these websites I was solely responsible their maintenance and continued development until April 2011. Visit the actual website >>>]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.markwearing.co.uk/wp/wp-content/themes/mark-wearing/images/portfolio/so-graphic.png" alt="" /></p>
<p>This is the series of websites I looked after professionally for just over two years. They were created by <a href="http://www.oneltd.co.uk" target="_blank">One ltd,</a> and although I did not make these websites I was solely responsible their maintenance and continued development until April 2011.<br />
<a href="http://www.scienceoxford.com" target="_blank">Visit the actual website >>></a></p>
<img src="http://feeds.feedburner.com/~r/markwearing/~4/bnKS_dVAVa8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.markwearing.co.uk/science-oxford/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.markwearing.co.uk/science-oxford</feedburner:origLink></item>
		<item>
		<title>Uploading Database with phpmyadmin – Max file size exceeded</title>
		<link>http://feedproxy.google.com/~r/markwearing/~3/03ci-J69J-Q/uploading-database-with-phpmyadmin-max-file-size-exceeded</link>
		<comments>http://www.markwearing.co.uk/uploading-database-with-phpmyadmin-max-file-size-exceeded#comments</comments>
		<pubDate>Fri, 18 Jun 2010 14:12:49 +0000</pubDate>
		<dc:creator>Zordon</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.markwearing.co.uk/?p=38</guid>
		<description><![CDATA[I have been moving some of my websites around onto different servers. While uploading the sql database of a website I came across the following error message: &#8220;No data was received to import. Either no file name was submitted, or the file size exceeded the maximum size permitted by your PHP configuration. See FAQ 1.16.&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>I have been moving some of my websites around onto different servers. While uploading the sql database of a website I came across the following error message:<br />
&#8220;No data was received to import. Either no file name was submitted, or the file size exceeded the maximum size permitted by your PHP configuration. See FAQ 1.16.&#8221;</p>
<p>I checked the php.ini file and the maximum file upload size was set to 2MB. Having changed this to 6MB (which was plenty big enough for the database in question) I tried again.<br />
Same error message, so read a few forums and it seemed that this was going to be a bit of trouble to put right. Lots of people encounter this error and even with files that are lower than the limit set by the php.ini</p>
<p>So I used a different method to upload the database:</p>
<ul>
<li> While in phpMyAdmin, select the database that you want to import the data into from the left hand side.</li>
<li> Then press the SQL button.</li>
<li> In the pop up box paste in the contents of the sql file you want to upload.</li>
<li> Press GO! (This actually took a while for my computer to process, so be patient)</li>
<li> Job done!</li>
</ul>
<img src="http://feeds.feedburner.com/~r/markwearing/~4/03ci-J69J-Q" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.markwearing.co.uk/uploading-database-with-phpmyadmin-max-file-size-exceeded/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.markwearing.co.uk/uploading-database-with-phpmyadmin-max-file-size-exceeded</feedburner:origLink></item>
		<item>
		<title>Dynamic Drive – a Useful DHTML Script Library</title>
		<link>http://feedproxy.google.com/~r/markwearing/~3/T0Df-p6F7Ew/dynamic-drive-a-useful-dhtml-script-library</link>
		<comments>http://www.markwearing.co.uk/dynamic-drive-a-useful-dhtml-script-library#comments</comments>
		<pubDate>Sat, 29 May 2010 14:11:49 +0000</pubDate>
		<dc:creator>Zordon</dc:creator>
				<category><![CDATA[External Links]]></category>

		<guid isPermaLink="false">http://www.markwearing.co.uk/?p=36</guid>
		<description><![CDATA[This is a website I have used for a few years now. It&#8217;s by no means the best script library out there, but it has definitely provided me a few solutions in times of need. All scripts are categorised and clearly labelled for browser compatibility etc. Visit the Dynamic Drive website.]]></description>
			<content:encoded><![CDATA[<p>This is a website I have used for a few years now. It&#8217;s by no means the best script library out there, but it has definitely provided me a few solutions in times of need.</p>
<p>All scripts are categorised and clearly labelled for browser compatibility etc.</p>
<p>Visit the <a href="http://www.dynamicdrive.com/">Dynamic Drive</a> website.</p>
<img src="http://feeds.feedburner.com/~r/markwearing/~4/T0Df-p6F7Ew" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.markwearing.co.uk/dynamic-drive-a-useful-dhtml-script-library/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.markwearing.co.uk/dynamic-drive-a-useful-dhtml-script-library</feedburner:origLink></item>
		<item>
		<title>Theme Specific Functions</title>
		<link>http://feedproxy.google.com/~r/markwearing/~3/3gtLCdcChYo/theme-specific-functions</link>
		<comments>http://www.markwearing.co.uk/theme-specific-functions#comments</comments>
		<pubDate>Tue, 18 May 2010 14:09:54 +0000</pubDate>
		<dc:creator>Zordon</dc:creator>
				<category><![CDATA[Functions]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.markwearing.co.uk/?p=34</guid>
		<description><![CDATA[This is quite a simple thing. On the latest website I am building I had loads of different page templates for different sections of the site. On the templates there was a column of contact information that was common across them all. I therefore wanted to create a separate file with this information, just in [...]]]></description>
			<content:encoded><![CDATA[<p>This is quite a simple thing. On the latest website I am building I had loads of different page templates for different sections of the site. On the templates there was a column of contact information that was common across them all. I therefore wanted to create a separate file with this information, just in case it needed editing so I didn&#8217;t have to change every template.</p>
<p>To do this I created a new file (contactbar.php) and called for it in the various templates: &lt;?php get_contactbar(); ?&gt;</p>
<p>I then had to define this function in the functions.php file within the template I had just created:</p>
<p>function get_contactbar( $name = null ) {</p>
<p>do_action( &#8216;get_contactbar&#8217;, $name );</p>
<p>$templates = array();<br />
if ( isset($name) )<br />
$templates[] = &#8220;contactbar-{$name}.php&#8221;;</p>
<p>$templates[] = &#8220;contactbar.php&#8221;;</p>
<p>if (&#8221; == locate_template($templates, true))<br />
load_template( get_theme_root() . &#8216;/default/contactbar.php&#8217;);<br />
}</p>
<p>Works perfectly.</p>
<img src="http://feeds.feedburner.com/~r/markwearing/~4/3gtLCdcChYo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.markwearing.co.uk/theme-specific-functions/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.markwearing.co.uk/theme-specific-functions</feedburner:origLink></item>
		<item>
		<title>Active Navigation Elements</title>
		<link>http://feedproxy.google.com/~r/markwearing/~3/OUe3F8lX6iA/active-navigation-elements</link>
		<comments>http://www.markwearing.co.uk/active-navigation-elements#comments</comments>
		<pubDate>Tue, 20 Apr 2010 14:08:20 +0000</pubDate>
		<dc:creator>Zordon</dc:creator>
				<category><![CDATA[Menu]]></category>
		<category><![CDATA[Navigation]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.markwearing.co.uk/?p=32</guid>
		<description><![CDATA[I am currently building a website where it is very important to be able to mark the navigation elements as &#8216;active&#8217; when you are on the page. This is because, to a degree, the navigation creates the title of the page. The problem is that, using wordpress, the whole site shares the same navigation. This [...]]]></description>
			<content:encoded><![CDATA[<p>I am currently building a website where it is very important to be able to mark the navigation elements as &#8216;active&#8217; when you are on the page. This is because, to a degree, the navigation creates the title of the page.</p>
<p>The problem is that, using wordpress, the whole site shares the same navigation. This means it is difficult to mark an element as &#8216;active&#8217; as it would always be active.</p>
<p>I found a simple (and some might say dirty) solution. I used a server side PHP conditional to every item in the navigation, setting the anchor element’s class to “active” if that’s the page we’re on:</p>
<p><font><br />
&lt;div id=&#8221;navigation&#8221;&gt;</p>
<p>&lt;a href=&#8221;http://www.arkhamtattoo.co.uk&#8221; class=&#8221;&lt;?php if($_SERVER['REQUEST_URI'] == &#8216;/&#8217;) echo &#8216;active&#8217;; ?&gt;&#8221;&gt;HOME&lt;/a&gt; </p>
<p>&lt;a href=&#8221;/tattoo&#8221; class=&#8221;&lt;?php if($_SERVER['REQUEST_URI'] == &#8216;/tattoo&#8217;) echo &#8216;active&#8217;; ?&gt;&#8221;&gt;TATTOO&lt;/a&gt;</p>
<p>&lt;a href=&#8221;/studio-info&#8221; class=&#8221;&lt;?php if($_SERVER['REQUEST_URI'] == &#8216;/studio-info&#8217;) echo &#8216;active&#8217;; ?&gt;&#8221;&gt;STUDIO INFO&lt;/a&gt; </p>
<p>&lt;a href=&#8221;/artwork&#8221; class=&#8221;&lt;?php if($_SERVER['REQUEST_URI'] == &#8216;/artwork&#8217;) echo &#8216;active&#8217;; ?&gt;&#8221;&gt;ARTWORK&lt;/a&gt;</p>
<p>&lt;a href=&#8221;/about&#8221; class=&#8221;&lt;?php if($_SERVER['REQUEST_URI'] == &#8216;/about&#8217;) echo &#8216;active&#8217;; ?&gt;&#8221;&gt;ABOUT&lt;/a&gt; </p>
<p>&lt;a href=&#8221;/contact&#8221; class=&#8221;&lt;?php if($_SERVER['REQUEST_URI'] == &#8216;/contact&#8217;) echo &#8216;active&#8217;; ?&gt;&#8221;&gt;CONTACT&lt;/a&gt;</p>
<p>&lt;a href=&#8221;/links&#8221; class=&#8221;&lt;?php if($_SERVER['REQUEST_URI'] == &#8216;/links&#8217;) echo &#8216;active&#8217;; ?&gt;&#8221;&gt;LINKS&lt;/a&gt;</p>
<p>&lt;/div&gt; &lt;!&#8211; #navigation &#8211;&gt; </font></p>
<p>The &#8216;a&#8217; link would be marked as active on the correct page which then allows you to style it up however you like. </p>
<p>This solution does rely heavily on the URL in the browser, but I do not consider this an issue in this case.</p>
<p>Two potentially useful websites:<br />
<a href="http://benlancaster.wordpress.com/2008/06/05/html-css-design-patterns/">http://benlancaster.wordpress.com/2008/06/05/html-css-design-patterns/</a><br />
<a href="http://green-beast.com/blog/?p=157">http://green-beast.com/blog/?p=157</a></p>
<img src="http://feeds.feedburner.com/~r/markwearing/~4/OUe3F8lX6iA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.markwearing.co.uk/active-navigation-elements/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.markwearing.co.uk/active-navigation-elements</feedburner:origLink></item>
		<item>
		<title>A Simple Solution to Video Podcasts</title>
		<link>http://feedproxy.google.com/~r/markwearing/~3/sgnsItAtGnc/a-simple-solution-to-video-podcasts</link>
		<comments>http://www.markwearing.co.uk/a-simple-solution-to-video-podcasts#comments</comments>
		<pubDate>Thu, 25 Mar 2010 14:05:05 +0000</pubDate>
		<dc:creator>Zordon</dc:creator>
				<category><![CDATA[Podcasts]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.markwearing.co.uk/?p=30</guid>
		<description><![CDATA[For my current employer I established a complete video podcasting solution. This system allows people to subscribe to our feed using iTunes. Please note this page contains information on how this was done technically and is not concerned with the content of the podcasts. If you are interested to see the feed you can have [...]]]></description>
			<content:encoded><![CDATA[<p>For my current employer I established a complete video podcasting solution. This system allows people to subscribe to our feed using iTunes.<br />
Please note this page contains information on how this was done technically and is not concerned with the content of the podcasts. If you are interested to see the feed you can have a look in iTunes <a href="http://www.itunes.com/podcast?id=325810683">here.</a></p>
<p>Below I will outline the basic process used to create the feed:</p>
<p>Essentially I take a video recording using a normal Sony hand held video camera and edit this using- PowerDirector.<br />
I then export this file as an MPEG2 file and convert it to iPod format (MP4) using a free programme called Super.</p>
<p>In order for iTunes to be able to pick up your podcasts they need to be in a RSS feed. I use e-blogger as a place to list our new podcasts, as the title of the podcast can be the link to the video file (this was important for iTunes). The video files are hosted on Amazon S3 as it is a relatively cheap place to host videos.<br />
I then use Feedburner to convert the e-blogger listing into a RSS feed that iTunes can read to create our podcasting feed. </p>
<p>This process is pretty cheap as most software, and websites used are actually free. The most expensive element to the process is the hosting – which can vary hugely depending on how many people use your feed.</p>
<img src="http://feeds.feedburner.com/~r/markwearing/~4/sgnsItAtGnc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.markwearing.co.uk/a-simple-solution-to-video-podcasts/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.markwearing.co.uk/a-simple-solution-to-video-podcasts</feedburner:origLink></item>
	</channel>
</rss>

