<?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>Sunrise Ruby &#187; technical</title>
	<atom:link href="http://sunriseruby.org/category/technical/feed/" rel="self" type="application/rss+xml" />
	<link>http://sunriseruby.org</link>
	<description>water is here somewhere</description>
	<lastBuildDate>Sat, 04 Feb 2012 18:03:42 +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>new theme</title>
		<link>http://sunriseruby.org/2009/11/21/new-theme/</link>
		<comments>http://sunriseruby.org/2009/11/21/new-theme/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 04:36:12 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[technical]]></category>

		<guid isPermaLink="false">http://sunriseruby.org/?p=521</guid>
		<description><![CDATA[Bri and I have been working on a new theme for this site for a few weeks now, and I&#8217;ve just switched it on.  The theme we&#8217;ve had for the past couple years we really liked, but we&#8217;d only made minor modifications and being a nice clean theme many other sites were using it too. [...]]]></description>
			<content:encoded><![CDATA[<p>Bri and I have been working on a new theme for this site for a few weeks now, and I&#8217;ve just switched it on.  The theme we&#8217;ve had for the past couple years we really liked, but we&#8217;d only made minor modifications and being a nice clean theme many other sites were using it too.  This time we&#8217;ve written <a href="http://sunriseruby.org/wp-content/themes/sandbox/style.css">our own stylesheet</a> for the <a href="http://www.plaintxt.org/themes/sandbox/">Sandbox</a> theme.</p>
<p>The page is 960 pixels wide with half that for main content and a quarter on each side for the sidebar content.  Throw in some 10-pixel margins and it looks suspiciously like the <a href="http://960.gs/">960 Grid System</a> although we&#8217;re not actually using that stylesheet.  However we are using the YUI <a href="http://developer.yahoo.com/yui/3/cssreset/">reset</a> and <a href="http://developer.yahoo.com/yui/3/cssfonts/">fonts</a> stylesheets to have a clean set of default styles to build on, and serving them from Yahoo! for efficiency.  Headings use the <a href="http://www.w3.org/TR/css3-fonts/#the-font-face-rule">CSS 3 @font-face rule</a> for something a bit more interesting than the usual set of web fonts.</p>
]]></content:encoded>
			<wfw:commentRss>http://sunriseruby.org/2009/11/21/new-theme/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Gallery Integration</title>
		<link>http://sunriseruby.org/2007/09/20/gallery-integration/</link>
		<comments>http://sunriseruby.org/2007/09/20/gallery-integration/#comments</comments>
		<pubDate>Fri, 21 Sep 2007 03:19:37 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[technical]]></category>

		<guid isPermaLink="false">http://sunriseruby.org/2007/09/20/gallery-integration/</guid>
		<description><![CDATA[I had thought to try to embed Gallery2 into this site, but after much frustration with the WPG2 plugin, I decided that full integration isn&#8217;t needed. Instead, I&#8217;ve manually added a link to the gallery at the top of the page, and a random image in the sidebar. Gallery2 provided everything I needed for the [...]]]></description>
			<content:encoded><![CDATA[<p>I had thought to try to embed Gallery2 into this site, but after much frustration with the <a href="http://wpg2.galleryembedded.com/">WPG2</a> plugin, I decided that full integration isn&#8217;t needed.</p>
<p>Instead, I&#8217;ve manually added a link to the gallery at the top of the page, and a random image in the sidebar.  <span id="more-6"></span>Gallery2 provided everything I needed for the random image, with me just copying this line into the sidebar code:</p>
<blockquote><p>&lt;?php @readfile(&#8216;http://sunriseruby.org/gallery/main.php?g2_view=imageblock.External&amp;g2_blocks=randomImage&#8217;); ?&gt;</p></blockquote>
<p>Once I got over my initial hesitation to edit the theme code, that was <em>much</em> easier for me than trying to figure out how to make the plugin behave as I wanted with a severe shortage of documentation.  I should note that my hesitation to edit the code was my uncertainty over best-practices with WordPress, not any squeamishness about PHP code.</p>
<p>The downsides of this simple approach are:</p>
<ul>
<li>separate accounts for each application</li>
<li>coordinating two different themes</li>
<li>no navigation from the gallery back to the main site
</ul>
<p>The third point is the one that most bothers me; I actually prefer to not have everyone who might post here also uploading photos to the gallery, and the styles for this part of the site might not be what looks best for the gallery.  So as I have time I&#8217;ll see about making an obvious link from the gallery back to the main site&emdash;the gallery header logo needs customization anyways.</p>
]]></content:encoded>
			<wfw:commentRss>http://sunriseruby.org/2007/09/20/gallery-integration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Website</title>
		<link>http://sunriseruby.org/2007/09/14/hello-world/</link>
		<comments>http://sunriseruby.org/2007/09/14/hello-world/#comments</comments>
		<pubDate>Fri, 14 Sep 2007 22:22:52 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[technical]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Welcome to our new website.  Our old site was based on MoinMoin but we&#8217;ve decided to use WordPress for this one and shift the emphasis from static content to articles.  In addition to these posts, we have a photo gallery.  I&#8217;m still working on integrating the two areas of the site together, so just use [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to our new website.  Our old site was based on <a href="http://moinmoin.wikiwikiweb.de/">MoinMoin</a> but we&#8217;ve decided to use <a href="http://wordpress.org/">WordPress</a> for this one and shift the emphasis from static content to articles.  In addition to these posts, we have a <a href="/gallery">photo gallery</a>.  I&#8217;m still working on integrating the two areas of the site together, so just use that link for now.</p>
<p>I intend to encourage our readers to leave comments, so I&#8217;ll make that as easy as I can while still keeping the spammers out.</p>
<p>Thanks again for visiting <img src='http://sunriseruby.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
 </p>
]]></content:encoded>
			<wfw:commentRss>http://sunriseruby.org/2007/09/14/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

