<?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>Juggling Eggs &#187; wordpress</title>
	<atom:link href="http://sonnygill.net/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://sonnygill.net</link>
	<description>Priceless eggs, variable gravity</description>
	<lastBuildDate>Sun, 06 May 2012 19:47:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>WordPress Post-Notification &#8211; Show the author in email subject</title>
		<link>http://sonnygill.net/tech/wordpress-post-notification-author-subject/</link>
		<comments>http://sonnygill.net/tech/wordpress-post-notification-author-subject/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 05:30:57 +0000</pubDate>
		<dc:creator>sonnygill</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[post notification]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://sonnygill.net/?p=242</guid>
		<description><![CDATA[Show the post author in the email subject when sending email using the Post Notification plugin <a href="http://sonnygill.net/tech/wordpress-post-notification-author-subject/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I was trying to fix a WordPress Post Notification plugin to include the post author in the emails subject. Instead of inserting the author name it was leaving the @@author in the subject.</p>
<p>A little digging around found me the solution -</p>
<p>In sendmail.php-&gt;post_notification_create_email(), find -</p>
<pre class="brush: plain; title: ; notranslate">
$subject = get_option('post_notification_subject');
</pre>
<p>and add a new line after that -</p>
<pre class="brush: plain; title: ; notranslate">
$subject = str_replace('@@author', $post_author, $subject);
</pre>
<p>Ref &#8211; <a href="http://pn.strübe.de/forum.php?req=thread&amp;id=384">Post Notification forum</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sonnygill.net/tech/wordpress-post-notification-author-subject/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving a WordPress blog to new domain</title>
		<link>http://sonnygill.net/tech/wordpress-database-domain-name-site-url/</link>
		<comments>http://sonnygill.net/tech/wordpress-database-domain-name-site-url/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 14:05:34 +0000</pubDate>
		<dc:creator>sonnygill</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://sonnygill.net/?p=237</guid>
		<description><![CDATA[Instructions for moving your WordPress blog to a new domain or subdomain <a href="http://sonnygill.net/tech/wordpress-database-domain-name-site-url/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>WordPress</strong> documentation does a pretty good job of explaining the steps you have to take if you are <strong>moving your wordpress blog to a new domain</strong>.</p>
<p>See <a href="http://codex.wordpress.org/Changing_The_Site_URL#Domain_Name_Change">Changing The Site URL &#8211;    Domain Name Change</a></p>
<p>Even after you update the guid in your <strong>WordPress</strong> database&#8217;s posts table by following the instructions there, you may find that some of the images do not show up, and the image and other links are broken.</p>
<p>Run this command to see if the problem is in the post contents in the WordPress database&#8217;s posts table -</p>
<pre class="brush: plain; title: ; notranslate">
select id, post_title from wp_posts where post_content like '%exampleoldsiteurl%';
</pre>
<p>(Replace exampleoldsiteurl with the old url of your blog)</p>
<p>If this shows posts that are using the old url, you need to replace that url in the post_content just as you did for guid -</p>
<pre class="brush: plain; title: ; notranslate">
UPDATE wp_posts SET post_content = replace(post_content, 'exampleoldsiteurl','examplenewsiteurl');
</pre>
<p>Make sure to carefully read the instructions on the <strong>WordPress</strong> Codex link above, and absolutely make certain that you have a back-up of your <strong>database</strong> before you run these sql commands on it.</p>
]]></content:encoded>
			<wfw:commentRss>http://sonnygill.net/tech/wordpress-database-domain-name-site-url/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up WordPress on Ubuntu and Nginx</title>
		<link>http://sonnygill.net/blogging/wordpress-ubuntu-nginx/</link>
		<comments>http://sonnygill.net/blogging/wordpress-ubuntu-nginx/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 02:19:24 +0000</pubDate>
		<dc:creator>sonnygill</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://sonnygill.net/?p=142</guid>
		<description><![CDATA[Finally, after thinking about it many times and never giving it a try, I moved my blog over from wordpress.com to a hosted wordpress installation. Thanks to kind folks at mensk, the setup was a breeze. See Perfect Setup: Ubuntu &#8230; <a href="http://sonnygill.net/blogging/wordpress-ubuntu-nginx/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Finally, after thinking about it many times and never giving it a try, I moved my blog over from wordpress.com to a hosted wordpress installation.</p>
<p>Thanks to kind folks at <a title="mensk.com" href="http://www.mensk.com/">mensk</a>, the setup was a breeze.<br />
See <a title="Wordpress setup on Ubuntu and Nginx" href="http://www.mensk.com/webmaster-toolbox/perfect-ubuntu-hardy-nginx-mysql5-php5-wordpress">Perfect Setup: Ubuntu Hardy+Nginx+MySQL5+PHP5+Wordress<br />
</a></p>
<p>If you are following the instructions on that post though, be careful. The first instruction for</p>
<p>sudo ln -s /usr/local/nginx/sites-available/mydomain.com /usr/local/nginx/sites-enabled/mydomain.com</p>
<p>should be</p>
<p>sudo ln -s /usr/local/nginx/sites-available/default /usr/local/nginx/sites-enabled/default</p>
<p>Otherwise, you will get a <em>connection refused</em> error when you try to test just after completing the Nginx setup. Other than that, I was able to get everything up and running with minimal fuss.</p>
<p>This is the first time I am playing with Nginx, that was pretty cool. As soon as I have some time, I should see how well it works with Tomcat.</p>
<p>And, thanks to good people at <a title="jestro" href="http://www.jestro.com/">jestro</a> for writing the <a href="http://themes.jestro.com/vigilance/">Vigilance</a> WordPress theme. It is a minimalistic theme that lets you control many aspects of the blog. If you are going to customize any of the styles in the theme, make sure to read <a href="http://themes.jestro.com/vigilance/easy-upgrading-wordpress-child-themes/">Easy Upgrading With Child Themes</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://sonnygill.net/blogging/wordpress-ubuntu-nginx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress blogs &#8211; Source code syntax highlighting</title>
		<link>http://sonnygill.net/blogging/wordpress-code-syntax-highlighting/</link>
		<comments>http://sonnygill.net/blogging/wordpress-code-syntax-highlighting/#comments</comments>
		<pubDate>Fri, 05 Oct 2007 15:23:19 +0000</pubDate>
		<dc:creator>sonnygill</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://sonnygill.wordpress.com/2007/10/05/wordpress-blogs-source-code-syntax-highlighting/</guid>
		<description><![CDATA[Say goodbye to the code tag. Wordpress.com blogs have a new shortcode to post source code with syntax highlighting. http://wordpress.com/blog/2007/09/03/posting-source-code/ If you find that you can&#8217;t get it to work, make sure that you have typed in the shortcode, and &#8230; <a href="http://sonnygill.net/blogging/wordpress-code-syntax-highlighting/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Say goodbye to the <em>code</em> tag.<br />
Wordpress.com blogs have a new shortcode to post source code with syntax highlighting.<br />
<a href="http://wordpress.com/blog/2007/09/03/posting-source-code/">http://wordpress.com/blog/2007/09/03/posting-source-code/</a></p>
<p>If you find that you can&#8217;t get it to work, make sure that you have typed in the shortcode, and not copied the snippet from <a href="http://faq.wordpress.com/2007/09/03/how-do-i-post-source-code/">the FAQ entry</a>.</p>
<p>When copied, the snippet contains invalid markup. See if you can spot the difference -</p>
<pre>sourcecode language='css']...[/sourcecode
sourcecode language=’css’]...[/sourcecode</pre>
<p> <img src='http://sonnygill.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://sonnygill.net/blogging/wordpress-code-syntax-highlighting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

