<?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>supercres.net &#187; wordpress</title>
	<atom:link href="http://supercres.net/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://supercres.net</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Tue, 08 Jun 2010 23:58:20 +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>Widgetizing</title>
		<link>http://supercres.net/2009/09/20/widgetizing/</link>
		<comments>http://supercres.net/2009/09/20/widgetizing/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 17:16:38 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://supercres.net/?p=2113</guid>
		<description><![CDATA[I&#8217;m making some apparently much-needed upgrades to my WordPress theme. Since I downloaded, modified, and installed this theme, WP has developed &#8220;widgets&#8221;, which seem to function as drag-and-drop objects for common things like recent posts, comments, archives, etc. Plus, my new plugins like WP-Cumulus and Fotobook have available widgets. So this site might look a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m making some <a href="http://codex.wordpress.org/Widgetizing_Themes">apparently much-needed upgrades</a> to my WordPress theme. Since I downloaded, modified, and installed this theme, WP has developed <a href='http://codex.wordpress.org/Widgets_API'>&#8220;widgets&#8221;</a>, which seem to function as drag-and-drop objects for common things like recent posts, comments, archives, etc.  Plus, my new plugins like <a href="http://supercres.net/2009/09/18/testing-tag-cloud/">WP-Cumulus</a> and <a href="http://supercres.net/2009/09/18/photos-galore/">Fotobook</a> have available widgets.</p>
<p>So this site might look a little messy for a while. I currently have widgets installed on the right toolbar. I&#8217;m going to modify their CSS to get them looking the same (they&#8217;re pretty close already) and then finish up the installation. I&#8217;m hoping that it&#8217;ll make the whole setup a little more modular, so I can move things around a little without getting elbow-deep in CSS theme sewage.</p>
<p>So stay tuned. A prettier supercres.net coming right up, hopefully.</p>
]]></content:encoded>
			<wfw:commentRss>http://supercres.net/2009/09/20/widgetizing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wget considered harmful</title>
		<link>http://supercres.net/2009/09/18/wget-considered-harmful/</link>
		<comments>http://supercres.net/2009/09/18/wget-considered-harmful/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 19:25:09 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[nerd]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://supercres.net/?p=2051</guid>
		<description><![CDATA[&#8230;Considered harmful to WordPress, anyway. I was trying to type my previous entry, about getting Fotobook working, especially the second bit about getting the update script running automatically through my crontab. The problem was&#8230; I couldn&#8217;t type wget! It&#8217;s kind of an important part of the crontab line; that&#8217;s the command that has Unix load [...]]]></description>
			<content:encoded><![CDATA[<p>&#8230;<a href="http://en.wikipedia.org/wiki/Go_To_Statement_Considered_Harmful">Considered harmful</a> to WordPress, anyway.</p>
<p>I was trying to type my previous entry, about getting Fotobook working, especially the second bit about getting the update script running automatically through my <code>crontab</code>.  The problem was&#8230; <em>I couldn&#8217;t type <code>wg<strong></strong>et</code>!</em></p>
<p>It&#8217;s kind of an important part of the <code>crontab</code> line; that&#8217;s the command that has Unix load the given page. But for some reason, every time the word <code>wg<strong></strong>et</code> was in the post, I got an error when I tried to publish my edits. I&#8217;m guessing that WordPress tries to execute <code>wg<strong></strong>et</code> when it finds it (for reasons unknown; a bug?).  So I spent longer than I care to recount trying to figure out how to disguise <code>wg<strong></strong>et</code> in my code, but have it appear normally on the entry so it could be copy-pasted into Terminal.</p>
<p>The first solution I looked for was an HTML tag like <code></code><code></code> to make it not interpreted, and just presented literally. Didn&#8217;t work.  And my search for a better tag was fruitless, though <a href="http://www.w3schools.com/xmL/xml_cdata.asp">CDATA</a> looked good for a while. (Guess it doesn&#8217;t interpret in XML.)</p>
<p>Then I tried inserting things inside <code>wg<strong></strong>et</code>. Putting a &#8220;|&#8221; in the middle obviously worked, but it&#8217;s ugly, and I&#8217;d have to explain it. So I looked for some latin-1 character that would be invisible. &amp;#127; was close, but for some reason, when it copy-pasted into Terminal, it eliminated the &#8220;<code>g</code>&#8220;. A 0&#215;0 .gif image would&#8217;ve worked, but my stylesheet gives every image padding plus a border, so it looked like a white box in the middle.</p>
<p>Then the lightbulb&#8212; <em>any HTML tag</em> that wouldn&#8217;t get rendered into something visible would work.  I tried <code><></code>. That showed up as <code><></code> (weird). <code>&#60;/&#62;</code> was invisible, but when I went back to edit, WP had gotten rid of it as obviously useless. So then I just used bold tags.</p>
<p><strong><code>wg&#60;b&#62;&#60;/b&#62;et</code> worked.</strong> Hurrah.</p>
<p>Kludgy, but it works. If you have a better, more elegant solution, I would love to hear it.</p>
]]></content:encoded>
			<wfw:commentRss>http://supercres.net/2009/09/18/wget-considered-harmful/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Photos galore</title>
		<link>http://supercres.net/2009/09/18/photos-galore/</link>
		<comments>http://supercres.net/2009/09/18/photos-galore/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 15:21:47 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[photos]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://supercres.net/?p=2011</guid>
		<description><![CDATA[Oh, this is so so cool. I got the Fotobook plugin for WordPress, and now my Photos page is automatically populated with all my Facebook photo albums. And since I installed Lightbox plugin, clicking on the photo enlarges it in a cool Flash (?) overlay. Very fun. Highly recommended. Update: And now I have my [...]]]></description>
			<content:encoded><![CDATA[<p>Oh, this is so so cool.</p>
<p>I got the <a href="http://www.aaronharp.com/dev/wp-fotobook/">Fotobook plugin</a> for WordPress, and now <a href="http://supercres.net/photos/">my Photos page</a> is automatically populated with all my Facebook photo albums. And since I installed <a href="http://wordpress.org/extend/plugins/lightbox-2-wordpress-plugin/">Lightbox</a> plugin, clicking on the photo enlarges it in a cool Flash (?) overlay.</p>
<p>Very fun. Highly recommended.</p>
<p><strong>Update:</strong><br />
And now I have my cron job working. (On the hour, it repopulates the <a href="photos/">Photos page</a> with all my most recent Facebook albums and photos.) For the benefit of future Googlers, you&#8217;ll want to put something like this in your <a href="http://benr75.com/pages/using_crontab_mac_os_x_unix_linux">crontab</a>.</p>
<blockquote><p><code>0 * * * * wg<strong></strong>et --delete-after "http://supercres.net/wp-content/plugins/fotobook/cron.php?secret=************&#038;update"</code></p></blockquote>
<p>&#8230;Making sure, of course, that it&#8217;s all one line and that you replace my URL with the one given in your Fotobook settings.  Also note that <code>wg<strong></strong>et</code> is not included with OS X; they have <code>curl</code>, but I didn&#8217;t try that.  (I&#8217;m putting it in my local machine&#8217;s <code>crontab</code> since my website server has shell access but not <code>crontab</code>.)</p>
<p>AND FINALLY&#8230; you have no idea how hard it was to get the word <code>wg<strong></strong>et</code> in a post. For some reason, WordPress tries to execute it when I click the &#8220;Update Post&#8221; button. Another post about that coming soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://supercres.net/2009/09/18/photos-galore/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
