<?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>eruANNA &#187; Blogging</title>
	<atom:link href="http://www.eruanna.net/category/blogging/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.eruanna.net</link>
	<description>The blog of a multimedia technology student based in the UK.</description>
	<lastBuildDate>Sat, 19 Nov 2011 13:47:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>My google reader list</title>
		<link>http://www.eruanna.net/my-google-reader-list/</link>
		<comments>http://www.eruanna.net/my-google-reader-list/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 10:14:41 +0000</pubDate>
		<dc:creator>Nnax</dc:creator>
				<category><![CDATA[Blogging]]></category>

		<guid isPermaLink="false">http://www.eruanna.net/?p=557</guid>
		<description><![CDATA[Inspired by a kwip by Mayank I thought I&#8217;d share with you my google reader list. Click to Download. My RSS list is very diverse but nicely categorised &#8211; all you need to do is import it to your RSS feed! If you feel like sharing your RSS feed list feel free to link to [...]]]></description>
			<content:encoded><![CDATA[<p>Inspired by a <a href="http://www.kwippy.com/mayank/kwips/2008/oct/30/091044/">kwip</a> by <a href="http://mayank.name/blog/">Mayank</a> I thought I&#8217;d share with you my google reader list.</p>
<p><a href="http://www.box.net/shared/0c63vij8po">Click to Download</a>.</p>
<p>My RSS list is very diverse but nicely categorised &#8211; all you need to do is import it to your RSS feed!</p>
<p>If you feel like sharing your RSS feed list feel free to link to it in the comments &#8211; I&#8217;m always on the lookout for new blogs!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eruanna.net/my-google-reader-list/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to write your own wordpress theme</title>
		<link>http://www.eruanna.net/how-to-write-your-own-wordpress-theme/</link>
		<comments>http://www.eruanna.net/how-to-write-your-own-wordpress-theme/#comments</comments>
		<pubDate>Mon, 20 Aug 2007 05:00:53 +0000</pubDate>
		<dc:creator>Nnax</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.eruanna.net/x/?p=130</guid>
		<description><![CDATA[Rhys suggested I write some design tutorials &#8211; so thats just what I&#8217;m going to do. I&#8217;m going to teach you how to design your blog, graphics, CSS, HTML and all! This is effectively a rewrite of my previous tutorial on how to customise WordPress, only in much greater detail. You can view the final [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.gospelrhys.co.uk">Rhys</a> suggested I write some design tutorials &#8211; so thats just what I&#8217;m going to do. I&#8217;m going to teach you how to design your blog, graphics, CSS, HTML and all! This is effectively a rewrite of my previous tutorial on how to customise WordPress, only in much greater detail.</p>
<p>You can view the final theme <a href="http://www.eruanna.net/themes/index.php?wptheme=eruannatutorial">here</a>.</p>
<p>I&#8217;m going to assume you have basic skills when it comes to web design or at least some concept of design! No tiny fonts and clashing colours here please! You&#8217;ll also need to have <a href="http://www.wordpress.org">wordpress</a> installed. Please also keep <a href="http://codex.wordpress.org/Template_Tags">this</a> page open, its the most useful thing when making themes!</p>
<p>Some other useful pages are <a href="http://codex.wordpress.org/Using_Themes">Using Themes</a>, <a href="http://codex.wordpress.org/Theme_Development">Theme Development</a> and <a href="http://codex.wordpress.org/Templates">Templates</a>.<br />
<span id="more-130"></span><br />
Navigation</p>
<ul>
<li><a href="#initialdesign">Initial Design</a></li>
<li>CSS fundamentals</li>
<ul>
<li><a href="#2column">2 column layout</a></li>
<li><a href="#3column">3 column layout</a></li>
</ul>
<li><a href="#makestyle">style.css</a></li>
<li><a href="#headerdotphp">header.php</a></li>
<li><a href="#indexdotphp">index.php</a></li>
<li><a href="#footerdotphp">footer.php</a></li>
<li><a href="#sidebardotphp">sidebar.php</a></li>
<ul>
<li><a href="#listpages">List Pages</a></li>
<li><a href="#includesearch">Search Bar</a></li>
<li><a href="#listarchives">Archives</a></li>
<ul>
<li><a href="#listarchivesmonthly">Monthly</a></li>
<li><a href="#listarchivesrecently">Recent Posts</a></li>
</ul>
<li><a href="#listcategories">List Categories</a></li>
<li><a href="#listlinks">List Links</a></li>
<li><a href="#displaycalendar">Display Calendar</a></li>
</ul>
<li><a href="#commentsdotphp">comments.php</a></li>
<li><a href="#pagedotphp">page.php</a></li>
<ul>
<li><a href="#custompage">Custom Pages</a></li>
</ul>
<li><a href="#styling">Styling the Template</a></li>
<ul>
<li><a href="#stylepositioning">Positioning</a></li>
<li><a href="#finalstyle">Final Stylesheet</a></li>
</ul>
<li><a href="#finished">Download the finished product</a></li>
</ul>
<p>I&#8217;m working with wordpress here but the design concepts and the coding remain the same for all platforms, the only things that differ are the template tags, but we&#8217;ll get onto those later.</p>
<div class="title">Initial Design</div>
<p>First you need to know what you want your blog to look like. I usually do a mock up in Photoshop, its easy to modify and expand upon. (If you don&#8217;t have Photoshop you can use paint shop pro or <a href="http://www.gimp.org/">the gimp</a>)</p>
<p>For some ideas have a look at my <a href="http://del.icio.us/xhan104/inspiration">inspiration</a> tag on del.icio.us.</p>
<p>Open Photoshop and Create a new document, I usually make mine 1000&#215;700, it helps having a widescreen laptop here! Because this is a blog I&#8217;m going to go for a simple two column layout with a header on the top.</p>
<div class="postimg"><a href="http://www.flickr.com/photos/25677180@N02/2416893042/" title="layout by eruannax, on Flickr"><img src="http://farm3.static.flickr.com/2370/2416893042_afe03cb681_o.gif" width="500" height="350" alt="layout" /></a></div>
<p>Now I have a rough idea of what I want my site to look like, I&#8217;m going to start coding it.</p>
<div></div>
<p>First though I need to explain a bit about the structure of the site. I find it really helps to visualise CSS.</p>
<div class="postimg"><a href="http://www.flickr.com/photos/25677180@N02/2416893102/" title="css by eruannax, on Flickr"><img src="http://farm4.static.flickr.com/3105/2416893102_66f0f52b10_o.gif" width="500" height="350" alt="css" /></a></div>
<p>This is effectively the stylesheet I&#8217;ll be using, in graphical form. A great way to understand CSS layouts is to mess around with the <a href="http://csscreator.com/?q=tools/layout">CSS Creator</a>, Its a great starting point for any website.</p>
<div></div>
<p>A <b>3 Column</b> layout uses the same &#8216;container&#8217; principal.</p>
<div class="postimg"><a href="http://www.flickr.com/photos/25677180@N02/2416893182/" title="css2 by eruannax, on Flickr"><img src="http://farm3.static.flickr.com/2172/2416893182_1af0b98a7b_o.gif" width="500" height="350" alt="css2" /></a></div>
<div></div>
<p>Login to your FTP and navigate to your wordpress installation directory, go to <b>wp-content/themes</b> and create a new folder, call it whatever you want. This is the folder where we will start building your site.</p>
<p>Firstly make a file called style.css and add the following to it.</p>
<pre>
	&#47;*
	Theme Name&#58; eruanna.net
	Theme URI&#58; http&#58;&#47;&#47;www.eruanna.net
	Description&#58; eruanna.net theme tutorial
	Author&#58; Hannah
	Author URI&#58; http&#58;&#47;&#47;www.eruanna.net
	*&#47;
</pre>
<p>These is needed in order for you to be able to select the working theme in wp admin.</p>
<p>The first section of the theme we&#8217;re going to work on is the main page, this is the section people see first.</p>
<div class="title">header.php</div>
<p>This is &#8216;included&#8217; in all pages using a php include. It helps to maintain consistency throughout the site. Everything in this file will be included in the site &#8211; this can be very useful.</p>
<p>Create a new file in your folder, call it header.php. Add this to your header.php page.</p>
<pre>
	&lt;!DOCTYPE html PUBLIC &quot;-&#47;&#47;W3C&#47;&#47;DTD HTML 4.01&#47;&#47;EN&quot;
	   &quot;http&#58;&#47;&#47;www.w3.org&#47;TR&#47;html4&#47;strict.dtd&quot;&gt;

	&lt;html lang=&quot;en&quot;&gt;
	&lt;head&gt;
</pre>
<p>This is called a doctype, it tells a validator which type of markup your using. In order to have valid markup this must be present, you can find out more about doctypes <a href="http://www.alistapart.com/articles/doctype/">here</a></p>
<pre>
   &lt;title&gt;&lt;?php wp_title()&#59; ?&gt; &lt;?php bloginfo(&#39;name&#39;)&#59; ?&gt;&lt;&#47;title&gt;
</pre>
<p>This is our first example of a template tag. This is wordpress&#8217;s way of calling up a set of variables you have defined in the various options in the wordpress admin.</p>
<pre>
	&lt;!-- Meta Data --&gt;
	   &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text&#47;html&#59; charset=&lt;?php bloginfo(&#39;charset&#39;)&#59; ?&gt;&quot; &#47;&gt;
	   &lt;meta name=&quot;generator&quot; content=&quot;WordPress &lt;?php bloginfo(&#39;version&#39;)&#59; ?&gt;&quot; &#47;&gt;
	   &lt;meta name=&quot;description&quot; content=&quot;This is a tutorial on how to create a wordpress theme&quot; &#47;&gt;
	  &lt;meta name=&quot;keywords&quot; content=&quot;keywords, that, descibe, your, blog&quot; &#47;&gt;
</pre>
<p>Meta tags, Some people say their useless and that search engines ignore them, but I think their vital. They give search engines data to index your site.</p>
<pre>
	&lt;!-- CSS --&gt;
	&lt;link type=&quot;text&#47;css&quot; rel=&quot;stylesheet&quot; href=&quot;&lt;?php bloginfo(&#39;template_url&#39;)&#59; ?&gt;&#47;style.css&quot; &#47;&gt;
</pre>
<p>CSS, cascading style sheets should be the only thing applying style to your website. Without CSS a site should have a white background, black text and horrible blue links in a solid block of text.</p>
<pre>
	&lt;!-- RSS Feeds --&gt;
	   &lt;link rel=&quot;alternate&quot; type=&quot;application&#47;rss+xml&quot; title=&quot;RSS&quot; href=&quot;&lt;?php bloginfo(&#39;rss_url&#39;)&#59; ?&gt;&quot; &#47;&gt;

	&lt;!-- Ping URL --&gt;
	   &lt;link rel=&quot;pingback&quot; href=&quot;&lt;?php bloginfo(&#39;pingback_url&#39;)&#59; ?&gt;&quot; &#47;&gt;

	&lt;!-- Get Archives Tag--&gt;
	   &lt;?php wp_get_archives(&#39;type=monthly&amp;format=link&#39;)&#59; ?&gt;

	&lt;!-- Call to various plugin data --&gt;
	   &lt;?php wp_head()&#59; ?&gt;

	&lt;&#47;head&gt;
</pre>
<p>The rest of the information in the head tag, allows browsers to auto detect your RSS feed, your ping URL, archives and a little tag some plugins use.</p>
<p>Everything after this is setting up the content to be formatted with CSS.</p>
<pre>
&lt;body&gt;

&lt;!--main width definition--&gt;
&lt;div id=&quot;container&quot; &gt;

&lt;div id=&quot;Header&quot;&gt;
&lt;div class=&quot;name&quot;&gt;&lt;a href=&quot;&lt;?php bloginfo(&#39;blog_url&#39;)&#59; ?&gt;&quot;&gt;&lt;?php bloginfo(&#39;name&#39;)&#59; ?&gt;&lt;&#47;a&gt;&lt;&#47;div&gt;
&lt;div class=&quot;description&quot;&gt;&lt;?php bloginfo(&#39;description&#39;)&#59; ?&gt;&lt;&#47;div&gt;
&lt;&#47;div&gt;&#9;

&lt;!--right container--&gt;
&lt;div id=&quot;main&quot; &gt;
</pre>
<p>As a general rule id is used for positioning and class is used within id, to customise text and links, etc.</p>
<p>So here is our header.php, save it to your theme folder.</p>
<pre>
	&lt;!DOCTYPE html PUBLIC &quot;-&#47;&#47;W3C&#47;&#47;DTD HTML 4.01&#47;&#47;EN&quot;
	   &quot;http&#58;&#47;&#47;www.w3.org&#47;TR&#47;html4&#47;strict.dtd&quot;&gt;

	&lt;html lang=&quot;en&quot;&gt;
	&lt;head&gt;
	   &lt;title&gt;&lt;?php wp_title()&#59; ?&gt; &lt;?php bloginfo(&#39;name&#39;)&#59; ?&gt;&lt;&#47;title&gt;

	&lt;!-- Meta Data --&gt;
	   &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text&#47;html&#59; charset=&lt;?php bloginfo(&#39;charset&#39;)&#59; ?&gt;&quot; &#47;&gt;
	   &lt;meta name=&quot;generator&quot; content=&quot;WordPress &lt;?php bloginfo(&#39;version&#39;)&#59; ?&gt;&quot; &#47;&gt;
	   &lt;meta name=&quot;description&quot; content=&quot;This is a tutorial on how to create a wordpress theme&quot; &#47;&gt;
	  &lt;meta name=&quot;keywords&quot; content=&quot;keywords, that, descibe, your, blog&quot; &#47;&gt;

	&lt;!-- CSS --&gt;
	&lt;link type=&quot;text&#47;css&quot; rel=&quot;stylesheet&quot; href=&quot;&lt;?php bloginfo(&#39;template_url&#39;)&#59; ?&gt;&#47;style.css&quot; &#47;&gt;

	&lt;!-- RSS Feeds --&gt;
	   &lt;link rel=&quot;alternate&quot; type=&quot;application&#47;rss+xml&quot; title=&quot;RSS&quot; href=&quot;&lt;?php bloginfo(&#39;rss_url&#39;)&#59; ?&gt;&quot; &#47;&gt;

	&lt;!-- Ping URL --&gt;
	   &lt;link rel=&quot;pingback&quot; href=&quot;&lt;?php bloginfo(&#39;pingback_url&#39;)&#59; ?&gt;&quot; &#47;&gt;

	&lt;!-- Get Archives Tag--&gt;
	   &lt;?php wp_get_archives(&#39;type=monthly&amp;format=link&#39;)&#59; ?&gt;

	&lt;!-- Call to various plugin data --&gt;
	   &lt;?php wp_head()&#59; ?&gt;

	&lt;&#47;head&gt;

	&lt;body&gt;

	&lt;!--main width definition--&gt;
	&lt;div id=&quot;container&quot; &gt;

	&lt;div id=&quot;Header&quot;&gt;
	&lt;div class=&quot;name&quot;&gt;&lt;a href=&quot;&lt;?php bloginfo(&#39;blog_url&#39;)&#59; ?&gt;&quot;&gt;&lt;?php bloginfo(&#39;name&#39;)&#59; ?&gt;&lt;&#47;a&gt;&lt;&#47;div&gt;
	&lt;div class=&quot;description&quot;&gt;&lt;?php bloginfo(&#39;description&#39;)&#59; ?&gt;&lt;&#47;div&gt;
	&lt;&#47;div&gt;&#9;

	&lt;!--right container--&gt;
	&lt;div id=&quot;main&quot; &gt;
</pre>
<div class="title">index.php</div>
<p>This is a bog standard index.php page, the main purpose of the index page is to display your posts. You&#8217;ll notice &lt;?php get_header()&#59; ?&gt; this calls your header.php page and displays it as if it was there all along.</p>
<p>I started some div tags in the header, the content of the div is in the index.php page and the div tag is closed in the footer.php file. This is particularly helpful with the other pages in the template, single.php, page.php etc.</p>
<p>index.php is where &#8216;the loop&#8217; comes in. Its just a fancy way of showing more than one post.</p>
<p>Again you&#8217;ll want to refer to <a href="http://codex.wordpress.org/Template_Tags">The Template Tags</a> for things you can add to your index page, I&#8217;ve included the most common ones, date, category, edit this link and comments.</p>
<pre>
	&lt;?php get_header()&#59; ?&gt;

	&lt;!--this is the loop--&gt;
	&lt;?php if (have_posts()) &#58; while (have_posts()) &#58; the_post()&#59; ?&gt;

	&lt;div class=&quot;postHead&quot;&gt;

	&lt;div class=&quot;title&quot;&gt;
	&lt;h2 id=&quot;post-&lt;?php the_ID()&#59; ?&gt;&quot;&gt;
	&lt;a class=&quot;title&quot; href=&quot;&lt;?php the_permalink() ?&gt;&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link to &lt;?php the_title(&#39;&#39;)&#59; ?&gt;&quot;&gt;&lt;?php the_title(&#39;&#39;)&#59; ?&gt;&lt;&#47;a&gt;&lt;&#47;h2&gt;
	&lt;&#47;div&gt; &lt;!--end title--&gt;

	&lt;div class=&quot;postinfo&quot;&gt;
	Posted in &lt;em&gt;&lt;?php the_category(&#39;, &#39;) ?&gt;&lt;&#47;em&gt; on &lt;?php the_date()&#59; ?&gt;
	&lt;?php comments_popup_link(__(&#39;Leave a Comment&#39;), __(&#39;1 Comment&#39;), __(&#39;&#37; Comments&#39;))&#59; ?&gt;
	&lt;&#47;div&gt; &lt;!--end postinfo--&gt;

	&lt;&#47;div&gt; &lt;!--end postHead--&gt;

	&lt;!--call to the posts--&gt;
	&lt;div class=&quot;post&quot;&gt;&lt;?php the_content(&#39;click to read more &amp;raquo&#59;&#39;)&#59; ?&gt;&lt;&#47;div&gt;

	&lt;?php comments_template()&#59; &#47;&#47; Get wp-comments.php template ?&gt;

	&lt;?php endwhile&#59; else&#58; ?&gt; &lt;!--ends the loop--&gt;

	&lt;!--this is displayed if you have no posts--&gt;
	&lt;p&gt;&lt;?php _e(&#39;Sorry, no posts matched your criteria.&#39;)&#59; ?&gt;&lt;&#47;p&gt;

	&lt;?php endif&#59; ?&gt; &lt;!--ends the loop--&gt;

	&lt;!--navigation between posts--&gt;
	&lt;div class=&quot;navigation&quot;&gt;
	&lt;?php next_posts_link(&#39;&amp;laquo&#59; Previous Entries&#39;) ?&gt;&lt;?php previous_posts_link(&#39;Next Entries &amp;raquo&#59;&#39;) ?&gt;
	&lt;&#47;div&gt;

	&lt;?php get_footer()&#59; ?&gt;
</pre>
<div class="title">footer.php</div>
<p>In the footer.php file we see another include, this time to sidebar.php. A footer is included for disclaimers etc and the container div is closed.</p>
<pre>
	&lt;&#47;div&gt; &lt;!--end main--&gt;

	&lt;!--call to sidebar--&gt;
	&lt;?php get_sidebar()&#59; ?&gt;

	&lt;div id=&quot;footer&quot;&gt;
	This is an &lt;a href=&quot;http&#58;&#47;&#47;www.eruanna.net&quot;&gt;eruanna.net&lt;&#47;a&gt; tutorial.
	&lt;&#47;div&gt;

	&lt;&#47;div&gt;
	&lt;!--end container--&gt;

	&lt;&#47;body&gt;
	&lt;&#47;html&gt;
</pre>
<div class="title">sidebar.php</div>
<p>This is where you can include lots of exciting <a href="http://codex.wordpress.org/Template_Tags">Template Tags</a>!</p>
<p>Start off your sidebar.php with the following.</p>
<pre>
	&lt;div id=&quot;sidebar&quot;&gt;

	&lt;&#47;div&gt;
</pre>
<p>From here you can add what you do and don&#8217;t need.</p>
<div></div>
<p>Firstly, how about a <a href="http://codex.wordpress.org/Template_Tags/wp_list_pages">list of your pages</a>?</p>
<pre>
	&lt;ul&gt;
	&lt;?php wp_list_pages(&#39;title_li=&#39;)&#59; ?&gt;
	&lt;&#47;ul&gt;
</pre>
<div></div>
<p>Your visitors are going to want to search your site, so include a search form too!</p>
<pre>&lt;?php include (TEMPLATEPATH . &#39;&#47;searchform.php&#39;)&#59; ?&gt;</pre>
<p>You&#8217;ll need to create a new file, searchform.php and place this in it.</p>
<pre>
	&lt;form method=&quot;get&quot; id=&quot;searchform&quot; action=&quot;&lt;?php bloginfo(&#39;home&#39;)&#59; ?&gt;&#47;&quot;&gt;
	&lt;input type=&quot;text&quot; name=&quot;s&quot; class=&quot;search&quot; value=&quot;&quot; &#47;&gt;
	&lt;input type=&quot;submit&quot; id=&quot;searchsubmit&quot; value=&quot;Search&quot; &#47;&gt;
	&lt;&#47;form&gt;
</pre>
<div></div>
<p>A list of <a href="http://codex.wordpress.org/Template_Tags/wp_get_archives">Archives</a> is useful too.</p>
<div></div>
<p>This will display a list of the last 5 months</p>
<pre>
	&lt;ul&gt;
	&lt;?php wp_get_archives(&#39;type=monthly&amp;limit=5&amp;before=&lt;li&gt;&amp;after=&lt;&#47;li&gt;&#39;)&#59; ?&gt;
	&lt;&#47;ul&gt;
</pre>
<div></div>
<p>or a list of your last 5 posts</p>
<pre>
	&lt;ul&gt;
	&lt;?php wp_get_archives(&#39;type=postbypost&amp;limit=5&amp;before=&lt;li&gt;&amp;after=&lt;&#47;li&gt;&#39;)&#59; ?&gt;
	&lt;&#47;ul&gt;
</pre>
<div></div>
<p>You might also want to display a <a href="http://codex.wordpress.org/Template_Tags/wp_list_categories">list of Categories</a></p>
<pre>
	&lt;ul&gt;
	&lt;?php wp_list_categories(&#39;title_li=&#39;)&#59; ?&gt;
	&lt;&#47;ul&gt;
</pre>
<div></div>
<p>and finally, some <a href="http://codex.wordpress.org/Template_Tags/get_links">links</a>.</p>
<pre>
	&lt;ul&gt;
	&lt;?php get_linksbyname(&#39;Categoryname&#39;, &#39;&lt;li&gt;&#39;, &#39;&lt;&#47;li&gt;&#39;, &#39;&#39;, FALSE,
	&#39;name&#39;, FALSE)&#59; ?&gt;
	&lt;&#47;ul&gt;
</pre>
<div></div>
<p>You can also display the <a href="http://codex.wordpress.org/Template_Tags/get_calendar">calendar</a>.</p>
<pre>&lt;?php get_calendar()&#59; ?&gt;</pre>
<p>The sidebar is where most plugin functions will be placed.</p>
<p>This is what my sidebar.php looks like now.</p>
<pre>
	&lt;div id=&quot;sidebar&quot;&gt;

	&lt;h1&gt;Pages&lt;&#47;h1&gt;
	&lt;ul&gt;
	&lt;?php wp_list_pages(&#39;title_li=&#39;)&#59; ?&gt;
	&lt;&#47;ul&gt;

	&lt;h1&gt;Search&lt;&#47;h1&gt;
	&lt;?php include (TEMPLATEPATH . &#39;&#47;searchform.php&#39;)&#59; ?&gt;

	&lt;h1&gt;Latest Posts&lt;&#47;h1&gt;
	&lt;ul&gt;
	&lt;?php wp_get_archives(&#39;type=postbypost&amp;limit=5&amp;before=&lt;li&gt;&amp;after=&lt;&#47;li&gt;&#39;)&#59; ?&gt;
	&lt;&#47;ul&gt;

	&lt;h1&gt;Archives&lt;&#47;h1&gt;
	&lt;ul&gt;
	&lt;?php wp_get_archives(&#39;type=monthly&amp;limit=5&amp;before=&lt;li&gt;&amp;after=&lt;&#47;li&gt;&#39;)&#59; ?&gt;
	&lt;&#47;ul&gt;

	&lt;h1&gt;Categories&lt;&#47;h1&gt;
	&lt;ul&gt;
	&lt;?php wp_list_categories(&#39;title_li=&#39;)&#59; ?&gt;
	&lt;&#47;ul&gt;

	&lt;h1&gt;Links&lt;&#47;h1&gt;
	&lt;ul&gt;
	&lt;?php get_linksbyname(&#39;Sites&#39;, &#39;&lt;li&gt;&#39;, &#39;&lt;&#47;li&gt;&#39;, &#39;&#39;, FALSE,
	&#39;name&#39;, FALSE)&#59; ?&gt;
	&lt;&#47;ul&gt;

	&lt;h1&gt;Calendar&lt;&#47;h1&gt;
	&lt;?php get_calendar()&#59; ?&gt;

	&lt;&#47;div&gt;
</pre>
<p>Thats your main bit done!</p>
<p>Obviously when you view your site it&#8217;ll be a complete and utter mess but we&#8217;ve still got more pages to do before we start styling it!</p>
<div class="title">comments.php</div>
<p>comments.php is one of the hardest files to get to grips with! I&#8217;ve edited this one and commented it as best I can, I wouldn&#8217;t worry hugely about customising it.</p>
<pre>
	&lt;!--If theres comments - display them like this--&gt;
	&lt;?php if ( $comments ) &#58; ?&gt;
	&#9;&lt;div class=&quot;singolocommento&quot;&gt;
	&#9;&#9;&lt;ol class=&quot;commentlist&quot;&gt;
	&#9;&#9;&#9;&lt;?php foreach ($comments as $comment) &#58; ?&gt;
	&#9;&#9;&#9;&#9;&lt;div class=&quot;bubble&quot;&gt;

	&lt;li class=&quot;$oddcomment&quot; id=&quot;comment-&lt;?php comment_ID() ?&gt;&quot;&gt;
	&lt;cite&gt;
	&lt;strong&gt;
	&lt;!--comment author and link to their site--&gt;
	&lt;a class=&quot;author&quot; href=&quot;&lt;?php comment_author_url()&#59; ?&gt;&quot;&gt;&lt;?php comment_author()&#59; ?&gt;&lt;&#47;a&gt;
	&lt;&#47;strong&gt;
	&lt;!--comment info--&gt;
	&lt;?php comment_date() ?&gt;, &lt;?php comment_time() ?&gt; &lt;?php edit_comment_link(&#39;edit&#39;, &#39;&#39;, &#39;&#39;)&#59; ?&gt;
	&lt;br &#47;&gt;
	&lt;&#47;cite&gt;
	&lt;div class=&quot;commentText&quot;&gt;&lt;?php comment_text() ?&gt;&lt;&#47;div&gt;
	&lt;&#47;li&gt;
	&#9;&#9;&#9;&#9;&lt;&#47;div&gt;
	&#9;&#9;&#9;&lt;?php endforeach&#59; ?&gt;
	&#9;&#9;&lt;&#47;ol&gt;
	&#9;&lt;&#47;div&gt; &lt;!--end singleolocommento--&gt;

	&lt;!--this is what happens if theirs no comments--&gt;
	&lt;?php else &#58; &#47;&#47; If there are no comments yet ?&gt;
	&lt;p&gt;&lt;?php _e(&#39;No comments yet.&#39;)&#59; ?&gt;&lt;&#47;p&gt;

	&lt;?php endif&#59; ?&gt;

	&lt;!--start comment form--&gt;
	&lt;div class=&quot;commentEntry&quot;&gt;
	&lt;div class=&quot;title&quot;&gt;&lt;?php comments_number(__(&#39;No Comments&#39;), __(&#39;1 Comment&#39;), __(&#39;&#37; Comments&#39;))&#59; ?&gt;

	&lt;!--this is displayed if comments are allowed--&gt;
	&lt;?php if ( comments_open() ) &#58; ?&gt;
	&#9;&lt;a href=&quot;#postcomment&quot; title=&quot;&lt;?php _e(&quot;Leave a Comment..&quot;)&#59; ?&gt;&quot;&gt;&amp;raquo&#59;&lt;&#47;a&gt;
	&lt;?php endif&#59; ?&gt;

	&lt;&#47;div&gt;&lt;!--end commentEntry--&gt;

	&lt;div class=&quot;postinfo&quot;&gt;
	&lt;br &#47;&gt;
	&lt;?php comments_rss_link(__(&#39;&lt;abbr title=&quot;Really Simple Syndication&quot;&gt;RSS&lt;&#47;abbr&gt; feed for comments on this post.&lt;br &#47;&gt;&#39;))&#59; ?&gt;

	&lt;!--display this if pings are open--&gt;
	&lt;?php if ( pings_open() ) &#58; ?&gt;
	&lt;a href=&quot;&lt;?php trackback_url() ?&gt;&quot; rel=&quot;trackback&quot;&gt;&lt;?php _e(&#39;TrackBack &lt;abbr title=&quot;Uniform Resource Identifier&quot;&gt;URI&lt;&#47;abbr&gt;&#39;)&#59; ?&gt;&lt;&#47;a&gt;
	&lt;?php endif&#59; ?&gt;

	&lt;&#47;div&gt;&lt;!--end postinfo--&gt;

	&lt;?php if ( comments_open() ) &#58; ?&gt;

	&lt;!--if you must be logged in to comment--&gt;
	&lt;?php if ( get_option(&#39;comment_registration&#39;) &amp;&amp; !$user_ID ) &#58; ?&gt;

	&lt;p&gt;You must be &lt;a href=&quot;&lt;?php echo get_option(&#39;siteurl&#39;)&#59; ?&gt;&#47;wp-login.php?redirect_to=&lt;?php the_permalink()&#59; ?&gt;&quot;&gt;logged in&lt;&#47;a&gt; to post a comment.&lt;&#47;p&gt;

	&lt;?php else &#58; ?&gt;

	&lt;!--if anyone can comment--&gt;
	&lt;form action=&quot;&lt;?php echo get_option(&#39;siteurl&#39;)&#59; ?&gt;&#47;wp-comments-post.php&quot; method=&quot;post&quot; id=&quot;commentform&quot;&gt;

	&lt;!--get registered users info--&gt;
	&lt;?php if ( $user_ID ) &#58; ?&gt;

	&lt;p&gt;Logged in as
	&lt;a href=&quot;&lt;?php echo get_option(&#39;siteurl&#39;)&#59; ?&gt;&#47;wp-admin&#47;profile.php&quot;&gt;&lt;?php echo $user_identity&#59; ?&gt;&lt;&#47;a&gt;.
	&lt;a href=&quot;&lt;?php echo get_option(&#39;siteurl&#39;)&#59; ?&gt;&#47;wp-login.php?action=logout&quot; title=&quot;&lt;?php _e(&#39;Log out of this account&#39;) ?&gt;&quot;&gt;Logout ?&lt;&#47;a&gt;&lt;&#47;p&gt;

	&lt;!--If not Registered enter your info here--&gt;
	&lt;?php else &#58; ?&gt;
	&lt;table border=&quot;0&quot; width=&quot;70&#37;&quot; class=&quot;commentTable&quot;&gt;
	&lt;tr&gt;
	&lt;td valign=&quot;top&quot;&gt;
	&lt;input type=&quot;text&quot; name=&quot;author&quot; id=&quot;author&quot; value=&quot;Name&quot; size=&quot;22&quot; tabindex=&quot;1&quot;&#47;&gt;
	&lt;br &#47;&gt;
	&lt;input type=&quot;text&quot; name=&quot;email&quot; id=&quot;email&quot; value=&quot;email&quot; size=&quot;22&quot; tabindex=&quot;2&quot;&#47;&gt;
	&lt;br &#47;&gt;
	&lt;input type=&quot;text&quot; name=&quot;url&quot; id=&quot;url&quot; value=&quot;URL&quot; size=&quot;22&quot; tabindex=&quot;3&quot;&#47;&gt;
	&lt;?php endif&#59; ?&gt;

	&lt;!--comments textarea is shown to everyone--&gt;
	&lt;textarea name=&quot;comment&quot; id=&quot;comment&quot; cols=&quot;70&#37;&quot; rows=&quot;20&quot; tabindex=&quot;4&quot; value=&quot;your comment?&quot;&gt;&lt;&#47;textarea&gt;
	&lt;br &#47;&gt;
	&lt;input name=&quot;submit&quot; type=&quot;submit&quot; id=&quot;submit&quot; tabindex=&quot;5&quot; value=&quot;Submit Comment&quot; &#47;&gt;
	&lt;input type=&quot;hidden&quot; name=&quot;comment_post_ID&quot; value=&quot;&lt;?php echo $id&#59; ?&gt;&quot; &#47;&gt;
	&lt;input type=&quot;hidden&quot; name=&quot;comment_reply_ID&quot; id=&quot;comment_reply_ID&quot; value=&quot;0&quot; &#47;&gt;
	&lt;?php do_action(&#39;comment_form&#39;, $post-&gt;ID)&#59; ?&gt;
	&lt;&#47;form&gt;
	&lt;&#47;td&gt;
	&lt;&#47;tr&gt;
	&lt;&#47;table&gt;
	&lt;p&gt;&lt;small&gt;
	&lt;strong&gt;XHTML&#58;&lt;&#47;strong&gt; You may use these tags&#58; &lt;?php echo allowed_tags()&#59; ?&gt;
	&lt;&#47;small&gt;
	&lt;&#47;p&gt;

	&lt;?php endif&#59; &#47;&#47; If registration required and not logged in ?&gt;

	&lt;!--this is what is displayed when comments are closed--&gt;
	&lt;?php else &#58; &#47;&#47; Comments are closed ?&gt;
	&lt;p&gt;&lt;?php _e(&#39;Sorry, the comment form is closed at this time.&#39;)&#59; ?&gt;&lt;&#47;p&gt;
	&lt;?php endif&#59; ?&gt;

	&lt;&#47;div&gt; &lt;!--end commentEntry--&gt;
</pre>
<div class="title">page.php</div>
<p>pages.php is the template which you want your pages to follow. Read more about pages <a href="http://codex.wordpress.org/Pages">here</a>.<br />
This is a simple page template.</p>
<pre>
	&lt;?php get_header()&#59; ?&gt;

	&lt;!--the loop--&gt;
	&lt;?php if (have_posts()) &#58; ?&gt;
	&lt;?php while (have_posts()) &#58; the_post()&#59; ?&gt;

	&lt;div class=&quot;title&quot;&gt;&lt;?php the_title(&#39;&#39;)&#59; ?&gt;&lt;&#47;div&gt;

	&lt;?php the_content()&#59; ?&gt;

	&lt;?php edit_post_link(&#39;Edit this entry.&#39;, &#39;&#39;, &#39;&#39;)&#59; ?&gt;

	&lt;?php endwhile&#59; ?&gt;

	&lt;?php endif&#59; ?&gt;

	&lt;?php get_footer()&#59; ?&gt;
</pre>
<div></div>
<p>You can also create custom page templates, for specific requirements by adding the following to the top of a new .php file. You can then select the template name from the drop down &#8216;page template&#8217; option on the &#8216;write page&#8217; page. (phew!)</p>
<pre>
	&lt;?php
	&#47;*
	Template Name&#58; Template Name
	*&#47;
	?&gt;
</pre>
<div class="title">Styling</div>
<p>wow, we&#8217;ve made a wordpress theme! Well, almost &#8211; now we need to style it with the <i>style.css</i> file!</p>
<p>We&#8217;ve already created the beginnings of the style.css page, these variables are needed in order for you to be able to select the working theme in wp admin.</p>
<p>Use this <a href="http://www.w3schools.com/css/css_reference.asp">CSS reference</a> for help.</p>
<div></div>
<p>We&#8217;ll start by positioning all the elements. I showed in my diagram earlier.</p>
<pre>
	/*positioning*/

	#container {
	-moz-border-radius: 20px 20px 20px 20px;
	width: 80%;
	margin-left:auto;
	margin-right:auto;
	position: relative;
	background-color: #212121;
	padding: 10px;
	}

	#Header {
	-moz-border-radius: 20px 20px 20px 20px;
	background-image: url(headerurl) !important;
	background-repeat: no-repeat;
	background-position: bottom left;
	background-color: #212121;
	width: 100%;
	height: 160px;
	text-align: center;
	}

	#main {
	float: right;
	display:inline;
	position: relative;
	width: 70%;
	}

	#sidebar {
	float: left;
	display:inline;
	position: relative;
	width: 30%;
	}

	#footer
	{
	clear:both;
	text-align: center;
	width: 100%;
	}
</pre>
<p>I&#8217;ve included some snazzy CSS3 for rounded corners in this <a href="http://www.css3.info/preview/rounded-border.html">Read more here</a></p>
<p>Once I&#8217;ve positioned everything its time to work on the class divs.</p>
<div></div>
<p>The final stylesheet for this particular theme will look something like this.</p>
<pre>
	/*
	Theme Name: eruanna.net
	Theme URI: http://www.eruanna.net
	Description: eruanna.net theme tutorial
	Author: Hannah
	Author URI: http://www.eruanna.net
	*/

	/*positioning*/

	html, body
	{
	background-color: #282828;
	margin-top: 10px;
	margin-bottom: 10px;
	font-family: tahoma, verdana, sans-serif;
	font-size: 12px;
	color: #555;
	line-height: 18pt;
	}

	/*positioning*/

	#container {
	-moz-border-radius: 20px 20px 20px 20px;
	width: 80%;
	margin-left:auto;
	margin-right:auto;
	position: relative;
	background-color: #212121;
	padding: 10px;
	}

	#Header {
	-moz-border-radius: 20px 20px 20px 20px;
	background-image: url(http://localhost:8888/wordpress/wp-content/themes/55/header.gif) !important;
	background-repeat: no-repeat;
	background-position: bottom left;
	background-color: #212121;
	width: 100%;
	height: 160px;
	text-align: center;
	}

	#Header .name {
	color: #cefa48;
	font-family: "century gothic", sans-serif;
	font-size: 30px;
	font-weight: lighter;
	letter-spacing: 20px;
	padding-top: 80px;
	}

	#Header .name a {
	color: #cefa48;
	}

	#Header .description {
	color: #ccc;
	text-transform: uppercase;
	font-size: 10px;
	font-weight: lighter;
	}

	#main {
	float: right;
	display:inline;
	position: relative;
	width: 70%;
	}

	#sidebar {
	float: left;
	display:inline;
	position: relative;
	width: 30%;
	}

	#footer
	{
	clear:both;
	text-align: center;
	width: 100%;
	}

	/*posts*/
	.postHead {
	-moz-border-radius: 10px 10px 10px 10px;
	background-color: #282828;
	padding-left: 10px;
	}

	h2 a.title, h2 .title, .title, .wrap h2, .catlink, #newlink h2
	{
	padding-left: 0px;
	font-family: "century gothic", arial, georgia, sans-serif;
	font-size: 20px;
	color: #cefa48;
	text-align: left;
	font-weight: lighter;
	}

	.postinfo
	{
	font-size: 11px;
	font-family: "arial", "century gothic", sans-serif;
	font-weight: lighter;
	text-align: left;
	padding-left: 0px;
	color: #ccc;
	text-transform: lowercase;
	margin-top: -15px;
	}

	/*navigationlinks*/
	.navigation a {
	text-align: center;
	padding: 30px;
	margin-bottom: 15px;
	font-family: arial, sans-serif;
	font-size: 20px;
	}

	.navigation a:link {
	color: #cefa48;
	}

	.navigation a:hover{
	color: #111;
	}

	/*Sidebar*/

	#sidebar h1 {
	padding-left: 0px;
	font-family: "century gothic", arial, georgia, sans-serif;
	font-size: 14px;
	color: #cefa48;
	text-align: left;
	font-weight: lighter;
	}

	#sidebar ul {
	list-style: none;
	margin-left: -20px;
	}

	/*Comments*/

	#commentlist li , .singolocommento li {
	list-style-type: none;
	padding: 0px;
	width: 470px;
	}

	div.bubble {
	width: auto;
	margin-bottom: 24px;
	border: 0px solid #ccc;
	}

	div.bubble cite {
	position: relative;
	margin: 0px;
	padding: 7px 0px 0px 0px;
	top: 6px;
	background: transparent url(tip.gif) no-repeat 20px 0;
	font-style: normal;
	}

	a.author, a.author:active, a.author:visited {
	text-decoration: none;
	font-family: arial, "century gothic", georgia, "times new roman", sans-serif;
	font-size: 17px;
	font-weight: lighter;
	text-transform: uppercase;
	letter-spacing: -1px;
	color: #ec008c;
	}

	/* extras */

	a, a:visited, a:link, a:active { color: #ec008c; text-decoration: none; background-color: inherit;}
	a:hover{ color: #282828; text-decoration: none;}
	b, strong, em, i{ color: #4fd0ad; background-color: inherit;}
	u{ text-decoration: none; color: #d4eb89;border-bottom: 1px solid #d4eb89; background-color: inherit;}

	img {border:0px;}

	.search, #searchsubmit {
	width: 75px;
	}

	input, textarea, select {
	background-color: #282828;
	color: #ccc;
	font-size: 11px;
	font-family: "lucida grande", sans-serif;
	border: 0px;
	}
</pre>
<div></div>
<p>The final product!</p>
<div class="postimg"><a href="http://www.flickr.com/photos/25677180@N02/2416074611/" title="picture-2 by eruannax, on Flickr"><img src="http://farm3.static.flickr.com/2147/2416074611_a6a95fd9a6_o.jpg" width="500" height="320" alt="picture-2" /></a></div>
<p>You can download it <a href="http://www.eruanna.net/wordpressthemes/#eruannatutorial">here</a>. View the <a href="http://www.eruanna.net/themes/index.php?wptheme=eruannatutorial">Demo</a>.</p>
<p>If there&#8217;s anything else you want to know please comment, If I&#8217;ve missed anything do tell me!</p>
<p>[tags]wordpress, theme, tutorial[/tags]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eruanna.net/how-to-write-your-own-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>88</slash:comments>
		</item>
		<item>
		<title>One of Those posts &#8211; 17 wordpress plugins</title>
		<link>http://www.eruanna.net/one-of-those-posts-17-wordpress-plugins/</link>
		<comments>http://www.eruanna.net/one-of-those-posts-17-wordpress-plugins/#comments</comments>
		<pubDate>Thu, 16 Aug 2007 06:00:30 +0000</pubDate>
		<dc:creator>Nnax</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.eruanna.net/x/?p=123</guid>
		<description><![CDATA[ahh, the wordpress plugins post, another way of saying &#8216;I dont know what to blog about&#8217; or in my case, &#8216;I have something to blog its just not ready yet&#8217; It&#8217;ll be exciting though! (at least thats the plan!) Sorry about the downtime yesterday &#8211; especially to all my hostees! May, Kai, Guy and Taylor. [...]]]></description>
			<content:encoded><![CDATA[<p>ahh, the wordpress plugins post, another way of saying &#8216;I dont know what to blog about&#8217; or in my case, &#8216;I have something to blog its just not ready yet&#8217; It&#8217;ll be exciting though! (at least thats the plan!)</p>
<p>Sorry about the downtime yesterday &#8211; especially to all my hostees! <a href="http://www.mayplanet.net">May</a>, <a href="http://www.twistedphate.com">Kai</a>, <a href="http://www.mcgechan.co.uk">Guy</a> and <a href="http://schnapp.eruanna.net">Taylor</a>. The server was being DOS&#8217;d apparently so they had to move us to a new IP. I guess thats the risk with shared hosting, if one person pisses off a hacker we&#8217;re all screwed! Now do you see why I don&#8217;t rely on my own server! I spent all of yesterday moving my files to my box.net account!</p>
<p>Without further ado, These are in no particular order.</p>
<p>1. <a href="http://www.stuff.yellowswordfish.com/admin-drop-down-menus/">Advanced Admin Menus</a><br />
I worship this plugin! It converts all the sub links in your wordpress admin, under dashboard, write, manage etc into drop downlinks so you don&#8217;t have to click, presentations, wait for the page to load and then click theme editor. You just hover and select theme editor! Simple but SO effective.</p>
<p>2. <a href="http://www.ceprix.net/archives/spotmilk-admin-theme-for-wordpress/">Spotmilk</a><br />
Beautiful with the above plugin &#8211; it makes the wordpress admin pretty, theres a blue theme and a black theme. (to get the black you uncomment a line of code &#8211; its easy enough to do)</p>
<p>3. <a href="http://sw-guide.de/wordpress/plugins/category-tagging/">Category Tagging</a><br />
Creates a tag cloud with all your categories.</p>
<p>4. <a href="http://www.justinshattuck.com/comment-relish/">Comment Relish</a><br />
Sends an email to a user on their first comment.</p>
<p>5. <a href="http://www.maxpower.ca/wordpress-plugins/">Digital Finger Print</a><br />
Lets you find the people who steal your rss feed and display it on their site. You make up a random string of words and set up a custom google search to find them, if your reading my feed you&#8217;ll see some random words at the top of it, thats my digital finger print, Its actually a pretty good idea!</p>
<p>6. <a href="http://txfx.net/code/wordpress/enforce-www-preference/">Enforce www. Preference</a><br />
Does what its name implies, if someone goes to eruanna.net the url is changed to www.eruanna.net, I wanted some consistancy.</p>
<p>7. <a href="http://www.feedburner.com/fb/a/help/wordpress_quickstart">FeedSmith</a><br />
Directs people to your feedburner feed not your wordpress /~rss one. So you can concentrate all your readers in one!</p>
<p>8. <a href="http://eightface.com/wordpress/flickrrss/">FlickrRSS</a><br />
Everyone knows about this plugin, it shows your recent flickr photos on your website.</p>
<p>9. <a href="http://cavemonkey50.com/code/full-feed/">Full Text Feed</a><br />
In wordpress 2.1 it automatically places a read more link after the first few lines in your feed, this gets rid of that nasty habit.</p>
<p>10. <a href="http://www.smackfoo.com/plugins/sig2feed/">Sig2Feed</a><br />
Allows you to add your signature to the bottom of your feed, or anything you want for that matter, images, links and text.</p>
<p>11. <a href="http://wordpress.org/extend/plugins/sideblog/">Sideblog</a><br />
I&#8217;ve had a few people email me about this one so here it is. It shows a list of &#8216;mini updates&#8217; in the sidebar instead of getting random @soandso comments from twitter! Its all managed from the wordpress admin.</p>
<p>12. <a href="http://www.broobles.com/scripts/simpletags/">Simple Tags</a><br />
Adds technorati tags to the ends of your posts, if you remember to add them though!</p>
<p>13. <a href="http://coderseye.com/2006/related-posts-plugin-modifications.html">Related Entries</a><br />
Shows a list of entried related to the one your viewing.</p>
<p>14. <a href="http://alexking.org/projects/wordpress">WordPress Mobile Edition</a><br />
I used to use this and I only just rediscovered it, it makes your site viewable on PDA&#8217;s and Smart Phones, it works, I&#8217;ve tested it!</p>
<p>15. <a href="http://alexking.org/projects/wordpress">WP-Grins</a><br />
Lets you have clickable smilies in both the wordpress admin panel and the comments form. Especially useful if you&#8217;ve used my tutorial on <a href="http://www.eruanna.net/content/wordpress/changing-the-default-wordpress-smilies/">Changing the Default WordPress Smilies</a>.</p>
<p>16. <a href="http://www.ilfilosofo.com/blog/wp-db-backup">WP Database Backup</a><br />
Great for the paranoid like me! Emails a back up of your SQL database to you.</p>
<p>17. <a href="http://mnm.uib.es/gallir/wp-cache-2/">WP-Cache</a><br />
Caches your site &#8211; particularly useful if your being dugg &#8211; apparently its helped but I&#8217;ve never been dugg so I wouldn&#8217;t know!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eruanna.net/one-of-those-posts-17-wordpress-plugins/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Twitter, RSS and WordPress</title>
		<link>http://www.eruanna.net/twitter-rss-and-wordpress/</link>
		<comments>http://www.eruanna.net/twitter-rss-and-wordpress/#comments</comments>
		<pubDate>Fri, 23 Mar 2007 16:31:08 +0000</pubDate>
		<dc:creator>Nnax</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.eruanna.net/x/?p=11</guid>
		<description><![CDATA[This is an old old old old old post &#8211; Alex King&#8217;s Twitter Tools does this entire post far more effectively than this little post does! I&#8217;ll start this off with a bit of an explanation of what RSS is. It stands for Really Simple Syndication and its the best thing since sliced bread. If [...]]]></description>
			<content:encoded><![CDATA[<p><b>This is an old old old old old post &#8211; Alex King&#8217;s <a href="http://alexking.org/projects/wordpress">Twitter Tools</a> does this entire post far more effectively than this little post does!</b></p>
<p>I&#8217;ll start this off with a bit of an explanation of what RSS is. It stands for Really Simple Syndication and its the best thing since sliced bread. If your not using it your actually driving away readers. Put it this way. How many sites do you visit on a daily basis? You want to read all of your friends entries, but your not going to go to each and every page all the time are you!? Not if you&#8217;ve got as many feeds as I do! With RSS you go to one page, <a href="http://www.bloglines.com">bloglines</a> or if you already have a gmail account (and who doesn&#8217;t!) you can go to <a href="http://google.com/reader">google.com/reader</a> and start adding feeds. To get you started my feed URL is <i>http://feeds.feedburner.com/Eruanna</i> (I use feed burner so I can manage my statistics.) The main advantage is that if you read those tween sites that use an awfully small font then you can actually read the posts in the feed reader.</p>
<p>If your using a hosted blog service like blogger, wordpress.com etc then you already have an RSS feed. There should be a link to it on your site, if your using wordpress then your feed is yoururl.com<i>/feed</i></p>
<p>So firstly, if you&#8217;re not using <a href="http://twitter.com/xhan">twitter</a> then your missing out on something theoretically pointless but really really addictive. So if you&#8217;ll look at my sidebar &lt;&#8211; which I have my twitter feeding into.</p>
<p>Heres<strong> how I imported my twitter into my sidebar</strong>. (Alex Kings just released a flickr plugin<br />
Download and install the <a href="http://rawlinson.us/blog/?p=212">FeedList Plugin</a>. I tried to write my own but I gave up! Then activate it and in your sidebar.php page write the following:</p>
<blockquote><p>
&lt;ul class=&quot;twitterFeed&quot;&gt;<br />
&lt;?php feedList(array(&quot;rss_feed_url&quot;=&gt;&quot;RSSURLHERE&quot;, &quot;num_items&quot;=&gt;5, &quot;show_description&quot;=&gt;false,&quot;before&quot;=&gt;&quot;&lt;li&gt;&quot;, &quot;after&quot;=&gt;&quot;&lt;&#47;li&gt;&quot;, &quot;random&quot;=&gt;false,&quot;sort&quot;=&gt;&quot;none&quot;,&quot;suppress_link&quot;=&gt;true,&quot;show_date&quot;=&gt;true))&#59;?&gt;<br />
&lt;&#47;ul&gt;
</p></blockquote>
<p>Add your RSS url into the specified space. and tada you&#8217;ve imported your twitter feed to your wordpress blog. There are many variables you can change but these are the ones I used.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eruanna.net/twitter-rss-and-wordpress/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 16/28 queries in 0.012 seconds using disk: basic

Served from: www.eruanna.net @ 2012-02-08 08:08:13 -->
