<?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>Zero Mu Tech Articles &#187; wordpress</title>
	<atom:link href="http://www.techarticles.zeromu.net/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techarticles.zeromu.net</link>
	<description>Solutions to computer problems that were in my way.</description>
	<lastBuildDate>Sun, 09 May 2010 03:48:03 +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>Get rid of WordPress messing with your quotes while writing code</title>
		<link>http://www.techarticles.zeromu.net/programming/get-rid-of-wordpress-messing-with-your-quotes-while-writing-code/</link>
		<comments>http://www.techarticles.zeromu.net/programming/get-rid-of-wordpress-messing-with-your-quotes-while-writing-code/#comments</comments>
		<pubDate>Fri, 02 May 2008 06:45:15 +0000</pubDate>
		<dc:creator>Jake D</dc:creator>
				<category><![CDATA[Fixes/Hacks]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.techarticles.zeromu.net/?p=28</guid>
		<description><![CDATA[<a href="http://www.techarticles.zeromu.net/programming/get-rid-of-wordpress-messing-with-your-quotes-while-writing-code/"><img align="right" hspace="5" width="96" src="http://www.techarticles.zeromu.net/wp-content/uploads/2008/05/picture-2281.png" class="alignright wp-post-image tfe" alt="" title="badcode" /></a>Problem: Recently I was writing an article where I posted some python code.  Using WordPress, I was switching between HTML/Code view and &#8220;Visual&#8221; view.  Every time that I switched, the WordPress editor would change some of my code, namely the quotes.  I ended up with something that looked like this: Solution: Not exactly sure, but<br/><br/><a href="http://www.techarticles.zeromu.net/programming/get-rid-of-wordpress-messing-with-your-quotes-while-writing-code/">Read more...</a>]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong>: Recently I was writing <a href="http://www.techarticles.zeromu.net/programming/get-attributes-and-filter-out-methods-a-private-attributes/">an article where I posted some python code</a>.  Using WordPress, I was switching between HTML/Code view and &#8220;Visual&#8221; view.  Every time that I switched, the WordPress editor would change some of my code, namely the quotes.  I ended up with something that looked like this:</p>
<p><a href="http://www.techarticles.zeromu.net/wp-content/uploads/2008/05/picture-2281.png"><img class="alignnone size-full wp-image-31" title="badcode" src="http://www.techarticles.zeromu.net/wp-content/uploads/2008/05/picture-2281.png" alt="" width="500" height="30" /></a></p>
<p><strong>Solution</strong>: Not exactly sure, but it seems to have stopped.</p>
<p>There are <a href="http://en.forums.wordpress.com/tags.php?tag=sourcecode">several WordPress posts</a> that go over an issue of using the</p>
<pre class="brush: plain;">[/sourcecode]

tag to write sourcecode.

Personally, I was very frustrated because while writing in Python, where whitespace matters, my indents would all be lost when switching between the visual and HTML editor in WordPress.

My solution was to wrap my

[sourcecode]</pre>
<p>tags in &lt;pre&gt; tags.</p>
<h2>Check the plugin?</h2>
<p>I originally was using the</p>
<pre class="brush: plain;">[/sourcecode]

tag from &lt;a href=&quot;http://code.google.com/p/syntaxhighlighter/&quot;&gt;SyntaxHighlighter&lt;/a&gt;, then found another one, called SyntaxHilighter Plus.

I don't have time to go over all of this, but I disabled the Plus version, re-enabled the regular SyntaxHighlighter, and made sure to wrap my

[sourcecode]</pre>
<p>s in &lt;pre&gt; tags.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techarticles.zeromu.net/programming/get-rid-of-wordpress-messing-with-your-quotes-while-writing-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to split pages in WordPress 2.5 with nextpage</title>
		<link>http://www.techarticles.zeromu.net/programming/web/how-to-split-pages-in-wordpress-25-with-nextpage/</link>
		<comments>http://www.techarticles.zeromu.net/programming/web/how-to-split-pages-in-wordpress-25-with-nextpage/#comments</comments>
		<pubDate>Fri, 02 May 2008 04:50:53 +0000</pubDate>
		<dc:creator>Jake D</dc:creator>
				<category><![CDATA[HTML/XHTML]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[nextpage]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[WYSIWYG]]></category>

		<guid isPermaLink="false">http://www.techarticles.zeromu.net/?p=27</guid>
		<description><![CDATA[Problem: In WordPress 2.5.1, I was trying to make a multiple-page article using the &#60;!&#8211;nextpage&#8211;&#62; quicktag, but it wasn&#8217;t working. Quick Answer: When you want a page break, switch to HTML/Code view and then type &#60;!&#8211;nextpage&#8211;&#62;. Whole Story As simple as this sounds, it took me 20 minutes to get this to work.  My problem<br/><br/><a href="http://www.techarticles.zeromu.net/programming/web/how-to-split-pages-in-wordpress-25-with-nextpage/">Read more...</a>]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong>: In WordPress 2.5.1, I was trying to make a multiple-page article using the &lt;!&#8211;nextpage&#8211;&gt; quicktag, but it wasn&#8217;t working.</p>
<p><strong>Quick Answer:</strong> When you want a page break, switch to HTML/Code view and then type &lt;!&#8211;nextpage&#8211;&gt;.</p>
<h2>Whole Story</h2>
<p>As simple as this sounds, it took me 20 minutes to get this to work.  My problem was that I thought the usage was like other plugin quicktags, where you can just put it in anywhere.  But if you put in &lt;!&#8211;nextpage&#8211;&gt; while using the &#8220;Visual&#8221; or WYSIWYG editor, it will change your greater than and less than sign into the html entities.</p>
<p>The problem with having to switch to the HTML or code view is that I have to scroll down and find where my spot was in the article (if I am putting in page breaks after publishing).  It would be great if WordPress had a button on the writing toolbar, like the &#8220;More&#8221; tag, that would insert page breaks without having to switch to HTML or Code view, or worrying about whether you are in the right view or not.</p>
<p>This took me so much longer than it should have that this qualifies as a &#8220;computer problem that got in my way&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techarticles.zeromu.net/programming/web/how-to-split-pages-in-wordpress-25-with-nextpage/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>How to move WordPress to a subdomain</title>
		<link>http://www.techarticles.zeromu.net/fixeshacks/how-to-move-wordpress-to-a-subdomain/</link>
		<comments>http://www.techarticles.zeromu.net/fixeshacks/how-to-move-wordpress-to-a-subdomain/#comments</comments>
		<pubDate>Sat, 09 Feb 2008 23:29:47 +0000</pubDate>
		<dc:creator>Jake D</dc:creator>
				<category><![CDATA[Fixes/Hacks]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[subdomain]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.techarticles.zeromu.net/2008/02/09/how-to-move-wordpress-to-a-subdomain/</guid>
		<description><![CDATA[I recently made a WordPress blog for one of our clients. Everything was setup fine in a directory similar to www.thewebsite.com/blog/. Then I decided that I wanted the blog to have its own subdirectory, www.blog.thewebsite.com. The quick answer: export your data and reinstall WordPress. The whole story: So I used the cPanel interface of the<br/><br/><a href="http://www.techarticles.zeromu.net/fixeshacks/how-to-move-wordpress-to-a-subdomain/">Read more...</a>]]></description>
			<content:encoded><![CDATA[<p>I recently made a <a title="WordPress.org" href="http://wordpress.org/">WordPress</a> blog for one of our clients. Everything was setup fine in a directory similar to <code>www.thewebsite.com/blog/</code>.  Then I decided that I wanted the blog to have its own subdirectory, <code>www.blog.thewebsite.com</code>.</p>
<p><strong>The quick answer:</strong> export your data and reinstall WordPress.</p>
<p>The whole story:</p>
<p>So I used the cPanel interface of the web hoster and created a subdomain, blog, and set the document root to <code>/www/blog/</code>.  When I would try to pull up <code>www.blog.thewebsite.com </code>, the browser would just redirect to <code>www.thewebsite.com/</code>, and no blog would appear.</p>
<p>I was going to go through all of the things that I did to try to hack-up WordPress so that I would not have to reinstall, but then I realized that none of that actually worked. I could get far enough that the page would show up and about half of the links would work, but there ended up being an issue with the permalinks.</p>
<p>What I had to do was use the Manage-&gt;Export feature of the WordPress admin area to save my categories, posts, etc.  Then, to uninstall WordPress, I deleted all of the tables in my WordPress database, then ran the <code>install.php</code> script again.  I probably could have kept the <code>users</code> table, and perhaps a few other tables with the plugin settings, but I didn&#8217;t.  So I had to reactivate my plugins and all of the other options that I had changed from the default values.</p>
<p>If you have a better fix for this, please leave a comment!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techarticles.zeromu.net/fixeshacks/how-to-move-wordpress-to-a-subdomain/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
