<?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>rmaspero.com &#187; Uncategorized</title>
	<atom:link href="http://rmaspero.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://rmaspero.com</link>
	<description>it's all about me and technology</description>
	<lastBuildDate>Sat, 04 Feb 2012 12:06:43 +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>Archives</title>
		<link>http://rmaspero.com/2008/11/18/archives/</link>
		<comments>http://rmaspero.com/2008/11/18/archives/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 16:44:01 +0000</pubDate>
		<dc:creator>rmaspero</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://rmaspero.com/2008/11/12/archives/</guid>
		<description><![CDATA[I recently modified my archives page to help people find content more easily. My archives page has a list of the months with collapsable posts during that month, this is powered by the SRG Clean Archives plugin for WordPress. It also has a tag cloud and category cloud which are part of my Archives template. [...]]]></description>
			<content:encoded><![CDATA[<p>I recently modified my archives page to help people find content more easily. My archives page has a list of the months with collapsable posts during that month, this is powered by the <a href="http://www.geekwithlaptop.com/projects/clean-archives/" target="_blank">SRG Clean Archives</a> plugin for WordPress. It also has a tag cloud and category cloud which are part of my Archives template. <a href="http://rmaspero.com/archives/" target="_blank">Demo</a></p>
<h2>How to Do it</h2>
<p>WordPress has the ability to create styles for types of pages other than what is in the index.php file. This allows you to add things to single post but not every-page, a helpful way to understand this is this <a href="http://codex.Wordpress.org/images/1/18/Template_Hierarchy.png" rel="lightbox">image</a>. WordPress offer a template for Archives called Archives.php, but this styles the pages where the archives are shown. So what if you want to change the page where all the archives are managed i.e. http://rmaspero.com/archives. WordPress also offer a thing called page templates. This allows you to create a page in WordPress and change that pages individual template.</p>
<h2>Page Template</h2>
<p>Now if you open your FTP Client and duplicate you index.php file. Delete the loop and everything inside the loop(that is the bit that goes &lt;?php if post ect.. and until it goes &lt;?php end ect&#8230;). Then add this to the top of the document, you can rename it to what every you want.</p>
<p><code>&lt;?php<br />
/*<br />
Template Name: Archives<br />
*/<br />
?&gt;</code></p>
<p>This tells WordPress this file is a page template called Archives. Now we are ready to move on.</p>
<h3>Monthly Archives</h3>
<p>Now install the plugin SRG Clean Archives and activate it then choose the correct setting in its setting panel in WordPress&#8217; admin panel. Next add this to our template file we just made.</p>
<p><code>&lt;div class="archives-type"&gt;<br />
&lt;h2&gt;Archives by Month:&lt;/h2&gt;<br />
&lt;ul&gt;<br />
&lt;?php if (function_exists('srg_clean_archives')) { srg_clean_archives(); } ?&gt;<br />
&lt;/ul&gt;<br />
&lt;/div&gt;</code></p>
<p>This creates a div to hold the monthly archives in and then gives it a header of Archives by Month and finally calls the plugin to create a list of the posts.</p>
<h3>Archives by Tags</h3>
<p>Now we simple copy and past in this below,</p>
<p><code>&lt;div class="archives-type"&gt;<br />
&lt;h2&gt;Archives by Tag:&lt;/h2&gt;<br />
&lt;?php wp_tag_cloud('smallest=8&amp;largest=22'); ?&gt;<br />
&lt;/div&gt;</code></p>
<p>Again it creates a div to contain the tags the gives it a header of Archives by Tag. Then we have a WordPress tag that summons a tag cloud and inside that we limit the min size font to 8 and max size to 22, you can adjust sizes to suit your theme.</p>
<h3>Archives by Categories</h3>
<p>Again this is a simple cut and past job,</p>
<p><code>&lt;div class="archives-type"&gt;<br />
&lt;h2&gt;Archives by Category:&lt;/h2&gt;<br />
&lt;ul id="category-centre"&gt;<br />
&lt;?php wp_list_categories('title_li='); ?&gt;<br />
&lt;div class="clear"&gt;&lt;/div&gt;<br />
&lt;/ul&gt;<br />
&lt;/div&gt;</code></p>
<p>Here we have a containing div and a header called Archives by category. Then we call WordPress for a list of the categories and tell it to exclude the title categories from the list.</p>
<h2>Conclusion</h2>
<p>That was simple. Depending on what theme you have you may need to remove certain thing from the copy of the index.php. Some themes already have a archives.php not be confused with archive.php. You can style this however you like but if you just want to see the whole code I am offering my template and the CSS for it as a download here. [download#5#size#nohits]</p>
]]></content:encoded>
			<wfw:commentRss>http://rmaspero.com/2008/11/18/archives/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A new look for Facebook</title>
		<link>http://rmaspero.com/2008/07/24/a-new-look-for-facebook/</link>
		<comments>http://rmaspero.com/2008/07/24/a-new-look-for-facebook/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 19:44:23 +0000</pubDate>
		<dc:creator>rmaspero</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://rmaspero.com/2008/07/24/a-new-look-for-facebook/</guid>
		<description><![CDATA[We have heard rumours of new profile pages and a complete re-design for the past few moths, and just a few days ago they started to allow user to opt-in for the new design. All you have to do is go to www.new.facebook.com, and next time you login you will automatically have the new design. [...]]]></description>
			<content:encoded><![CDATA[<div style="text-align: center;">
  <br />
  <img src="http://rmaspero.com/wp-content/uploads/2008/07/untitled-21.jpg" width="500" height="137" alt="Untitled-2.jpg" />
</div>
<p style="text-align: justify;">We have heard rumours of new profile pages and a complete re-design for the past few moths, and just a few days ago they started to allow user to opt-in for the new design. All you have to do is go to www.new.facebook.com, and next time you login you will automatically have the new design.</p>
<p><img src="http://rmaspero.com/wp-content/uploads/2008/07/picture-8.jpg" width="205" height="180" alt="Picture 8.jpg" style="float:right;" /></p>
<p style="text-align: justify;">Facebook has had a good design, but especially on the user profile pages it started to get difficult to manage thing when you have 20 app on your Facebook page. The new theme adds addition functions such as it now contains your mini-feed and the ability to update your status, publish photo&#8217;s and write a note. It also allows you to control how a story (say something like a change in your top friends or a new set of photos) by setting if it is shown or how it is shown so large, medium or small.</p>
<p style="text-align: justify;">There are now tabs at the top of your page just above the wall that have links to photo&#8217;s, info and boxes. These obviously lead to what they say they are. having boxes as a tab really make it easier to communicate on Facebook and if you want to see all those boxes you can but I don&#8217;t really like super wall ,fun wall, extra wall, community wall, ect.. taking forever to load.The chat remains the same at the bottom but it now seems to look out of place as it is a more yellow grey and just does not feel like it fits in.<img src="http://rmaspero.com/wp-content/uploads/2008/07/picture-23.jpg" width="500" height="106" alt="Picture 2.jpg" /></p>
<p style="text-align: justify;">In all the new update is great and I would recommend you opting in for it as it make Facebook more fun to use, as if it was not fun enough. Check out their blog post at <a href="http://blog.new.facebook.com/blog.php?post=23612952130" target="_blank">blog.facebook.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://rmaspero.com/2008/07/24/a-new-look-for-facebook/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

