<?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>Andrew Guyton's Blog &#187; redesign</title>
	<atom:link href="http://disavian.no-ip.info/tag/redesign/feed/" rel="self" type="application/rss+xml" />
	<link>http://disavian.no-ip.info</link>
	<description>programming/photography/gaming/reviews</description>
	<lastBuildDate>Tue, 10 Nov 2009 06:03:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Redesign Part 2</title>
		<link>http://disavian.no-ip.info/redesign-part-2/</link>
		<comments>http://disavian.no-ip.info/redesign-part-2/#comments</comments>
		<pubDate>Tue, 10 Oct 2006 22:01:12 +0000</pubDate>
		<dc:creator>disavian</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[blogs]]></category>
		<category><![CDATA[redesign]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://disavian.no-ip.info/blog/?p=17</guid>
		<description><![CDATA[My website has a fairly decent design, but it is not without its flaws. I&#8217;ve been working over the past week to correct some of those and add new features that are expected on a serious website.
Social bookmarks
The way to promote websites these days tends to be through social networking; typically, sites like del.icio.us, digg, [...]]]></description>
			<content:encoded><![CDATA[<p>My website has a fairly decent design, but it is not without its flaws. I&#8217;ve been working over the past week to correct some of those and add new features that are expected on a serious website.<span id="more-17"></span></p>
<h3 id="toc-social-bookmarks">Social bookmarks</h3>
<p>The way to promote websites these days tends to be through social networking; typically, sites like <a href="http://del.icio.us/">del.icio.us</a>, <a href="http://www.digg.com/">digg</a>, <a href="http://www.reddit.com/">reddit</a>, etc. If a user enjoys what you write, it&#8217;s gotten incredibly easy for them to &#8220;spread the word.&#8221; Thus, I wrote a bit of php that takes the article name and generates handy bookmarks like you see on so many blogs today. I use my del.icio.us account pretty extensively, and if you haven&#8217;t tried it, you should. Nothing will replace having a good bookmarks toolbar, but for all of those &#8220;interesting&#8221; sites you don&#8217;t visit every day, del.icio.us is invaluable.</p>
<h3 id="toc-search-and-navigation">Search and Navigation</h3>
<p>As per my original goal, I wrote a search box that will search my blog using the google engine, and has an option to search the web instead. Unfortunately, squashing a css bug in the nav/search bar made the (previously working) search box not show for IE users until I came back to the problem a week later. The top bar would slide past the rest of the content when the screen size was narrower than the columns (about 870 pixels). One thing I learned is that putting &lt;div&gt; inside of a <code>&lt;p&gt;</code> element breaks xhtml compliance. Go figure.</p>
<h3 id="toc-css-debugging">CSS Debugging</h3>
<p>As a corollary to &#8220;Search and Navigation,&#8221; one of the most egregious problems I&#8217;ve had to deal with is buggy CSS; you change one thing, you break another. The afformentioned search bar bug was the most recent example. That took gutting the css for that section, and rebuilding it. The only problem? The search bar didn&#8217;t show up in IE. I called it a night, came back a couple days later, and knocked the problem out. Lesson learned: when you try and fail, take a break from the problem. It also taught me that I don&#8217;t know CSS as well as I thought I did. The code isn&#8217;t perfect, but it does what I want it to now.</p>
<h3 id="toc-rss">RSS</h3>
<p>Learning how to create a proper RSS feed has been interesting. Of great use was the <a href="http://feedvalidator.org/">Feed Validator</a>. I started out with the basic definition; a channel, an item, a link, and a description. Then the validator said I needed to fix a few things:</p>
<ul>
<li><a href="http://httpd.apache.org/docs/1.3/mod/mod_mime.html#addtype">Add</a> the string &#8220;<code>AddType application/rss+xml .rss</code>&#8221; (sans quotes) to my httpd.conf</li>
<li>Add the <code>&lt;guid&gt;</code> element to make sure rss readers didn&#8217;t misread entries. I wish <a href="http://www.thinkgeek.com/">ThinkGeek</a> would learn about that one, because I&#8217;d get what felt like three duplicate items from their feed every day.</li>
<li>Add the <code>&lt;pubDate&gt;</code> tag; without this, a newsreader identifies the feed item as dated whenever it was downloaded. It&#8217;s not required for valid rss, but it&#8217;s nice to have.</li>
<li>Add the <code>&lt;ttl&gt;</code> tag; it specifies how often a newsreader should check a feed. As I don&#8217;t update that often, it&#8217;s unnessasary for a newsreader to check every four seconds.</li>
</ul>
<p>To see all of these improvements in action, take a look at the source of <a href="../../index.rss">my rss feed</a>.</p>
<h3 id="toc-whats-next">What&#8217;s next?</h3>
<p>I&#8217;ve definitely been saving the harder things for last:</p>
<ul>
<li><strong>SQL back-end.</strong> I know that the more interesting modern websites are front-ends to databases, but I don&#8217;t really know where to begin on this one. I know it will involve creating a database and placing my articles in it, and then using PHP to load the articles from the database upon request.</li>
<li><strong>Comments.</strong> Comments are sort of a collary of the SQL problem. Once you&#8217;ve got a database of articles, each article can have its own database of comments.</li>
<li><strong>Flash.</strong> I&#8217;d like to find something that looks as nice as the static flash text, but doesn&#8217;t require a plugin. Images will probably work, but that will take time to do. Also, I&#8217;m not keen on generating an image for every article that I write.</li>
<li><strong>CSS Cleanup.</strong> I&#8217;m not using all of that crap, so it&#8217;d probably be a good idea to clean up and comment the code wherever possible.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://disavian.no-ip.info/redesign-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Redesign</title>
		<link>http://disavian.no-ip.info/redesign/</link>
		<comments>http://disavian.no-ip.info/redesign/#comments</comments>
		<pubDate>Sun, 10 Sep 2006 02:13:26 +0000</pubDate>
		<dc:creator>disavian</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[blogs]]></category>
		<category><![CDATA[redesign]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://disavian.no-ip.info/blog/?p=16</guid>
		<description><![CDATA[I&#8217;ve known that my website design has been lacking for a while, but never cared. Behold, the new and improved, css-based website.
Design
After months of reading about the death of tables for formatting, I decided to redo the website I made in &#8220;Computing for Engineers.&#8221; This time, it&#8217;d be beautiful. There&#8217;s not a single table in [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve known that my website design has been lacking for a while, but never cared. Behold, the new and improved, css-based website.<span id="more-16"></span></p>
<h3 id="toc-design">Design</h3>
<p>After months of reading about the <a href="http://www.stopdesign.com/articles/throwing_tables/">death of tables</a> for formatting, I decided to redo the website I made in &#8220;Computing for Engineers.&#8221; This time, it&#8217;d be beautiful. There&#8217;s not a single table in this website so far. While it&#8217;s true that I did borrow some, the website you see now is relatively close to the way I pictured it.</p>
<p>One of the most difficult choices was between two and three columns. Ideally, I will make a two-column layout and use it for articles; there just aren&#8217;t that many uses for the other two columns on article pages.</p>
<h3 id="toc-graphics">Graphics</h3>
<p>For the banner/title graphic, I went through my <a href="http://disavian.deviantart.com/gallery/">deviantArt gallery</a> looking for an image I feel represents me. Eventually, I settled on the female wallpaper &#8220;<a href="http://www.deviantart.com/deviation/4308810/">Fractal Goddess</a>.&#8221; Careful cropping and coloring to fit the black/green color scheme has given me something that works well. Other graphics were created or (more likely) borrowed as needed.</p>
<h3 id="toc-code-reuse">Code reuse</h3>
<p>There are a few things I don&#8217;t know how to do yet. I&#8217;m relatively new to PHP, but I was able to use it to simplify development. Throughout the website, the header, footer, right column, and &#8220;quick links&#8221; are each included at the server. Maintaining a &#8220;quick links&#8221; section spread across several pages is simply bad design. Ideally, all of the common elements of each page would be included from some file or another. Ideally, I&#8217;ll find and read a guide to good webpage design using PHP.</p>
<h3 id="toc-whats-next">What&#8217;s next?</h3>
<p><strong>Search Upgrades.</strong> The search box searches google for whatever you put into it. There&#8217;s an empty space that I intented on putting a &#8220;web/this site&#8221; radio button in, but that&#8217;s in a separate div section. Anyone who can figure that one out gets a cookie. <em>Update 10.02.2006: This has been fixed.</em></p>
<p><strong>Social networking.</strong> Quick links to post an article or page to del.icio.us, digg, etc would be a good use for the middle column. <em>Update 10.03.2006: This has been fixed.</em></p>
<p><strong>Comments.</strong> I think that a way for users to comment on articles would drastically supplement this blog. Unfortunately, I don&#8217;t know where to go on that one. That might be a potential use of the second column in articles.</p>
<h3 id="toc-a-new-day-has-dawned">A new day has dawned.</h3>
<p>Literally, it&#8217;s one in the morning. Figuratively, I&#8217;ve got the framework to share (and learn) knowledge in things I hold dear to me.</p>
]]></content:encoded>
			<wfw:commentRss>http://disavian.no-ip.info/redesign/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
