<?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; Wordpress</title>
	<atom:link href="http://rmaspero.com/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://rmaspero.com</link>
	<description>it's all about me and technology</description>
	<lastBuildDate>Sat, 12 Jun 2010 08:40:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</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[Wordpress]]></category>
		<category><![CDATA[Web]]></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>Straight Corner and Goodies</title>
		<link>http://rmaspero.com/2008/08/17/straight-corner-and-goodies/</link>
		<comments>http://rmaspero.com/2008/08/17/straight-corner-and-goodies/#comments</comments>
		<pubDate>Sun, 17 Aug 2008 20:21:12 +0000</pubDate>
		<dc:creator>rmaspero</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://rmaspero.com/2008/08/18/straight-corner/</guid>
		<description><![CDATA[Just to let you know if you had not already noticed the &#8220;more coming soon!&#8221; on the goodies page has been replaced with a goodie and a few teasers. The one goodie you can all go and download now is my first free wordpress theme. I developed it from scratch it took about 2 weeks [...]]]></description>
			<content:encoded><![CDATA[<p>Just to let you know if you had not already noticed the &#8220;more coming soon!&#8221; on the goodies page has been replaced with a goodie and a few teasers. The one goodie you can all go and download now is my first free wordpress theme. I developed it from scratch it took about 2 weeks to get it &#8220;perfect&#8221;. The one problem when you design something is that it is never perfect, there will be updates to it. Don&#8217;t forget to check if you have the newest version. I believe it to be a high quality theme and hope you will love it.</p>
<h2>Straight Corner</h2>
<p><a href="http://rmaspero.com/wp-content/uploads/2008/08/header.jpg" rel="lightbox[782]"><img class="aligncenter size-full wp-image-768" title="straight corner" src="http://rmaspero.com/wp-content/uploads/2008/08/header.jpg" alt="" width="500" height="75" /></a></p>
<p>Its name is Straight Corner, named because it has curved and right angle corners (I know it really does not make that much sense). The CSS is not valid because it makes use of special functions in Webkit based browsers (i.e. Safari) and Geko based browsers (i.e. Firefox) that allow it to have rounded corners.So before I ramble on about that stuff here is a list of some of the features.</p>
<ul>
<li>The blog content, sidebar and footer have rounded corners in and Mozzila based browser and and Webkit based browser.</li>
<li>It has two dynamic sidebars one as a sidebar and one as a footer</li>
<li>Add your own header by just replacing the header.jpg in the images folder</li>
<li>Admin comments are highlighted</li>
<li>It has been tested in IE6, IE7, Firefox 2, Firefox 3, Safari 3, Opera</li>
</ul>
<p>I hope you enjoy the theme and if there is anything that you are interested in don&#8217;t be shy just shoot me and email. Here is a demo link <a href="http://rmaspero.com/demo/index.php?wptheme=Straight+Corner" target="_blank">DEMO</a> and here is the download link <span style="font-family: 'Lucida Grande'; font-size: 13px; line-height: 19px;">[download#4#nohits].</span></p>
]]></content:encoded>
			<wfw:commentRss>http://rmaspero.com/2008/08/17/straight-corner-and-goodies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress for iPhone</title>
		<link>http://rmaspero.com/2008/07/25/wordpress-for-iphone/</link>
		<comments>http://rmaspero.com/2008/07/25/wordpress-for-iphone/#comments</comments>
		<pubDate>Fri, 25 Jul 2008 16:41:33 +0000</pubDate>
		<dc:creator>rmaspero</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://rmaspero.com/2008/07/25/wordpress-for-iphone/</guid>
		<description><![CDATA[As promised here is my review of the iPhones wordpress app. This was an app much anticipated after Six Apart&#8217;s Typepad announced they will be doing an app for the iPhone. It is a simple content publishing end for your wordpress blog. The app is free and quick to download at only 359.5KB. When you [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">As promised here is my review of the iPhones wordpress app. This was an app much anticipated after Six Apart&#8217;s Typepad announced they will be doing an app for the iPhone. It is a simple content publishing end for your wordpress blog. The app is free and quick to download at only 359.5KB.</p>
<p style="text-align: justify;">When you first launch the app you will be presented with a screen asking you to add your blogs account information such as url, wordpress username and password. Then you are lead to a screen where you can add another blog or just go on an enter the blog you just entered. Here you are able to see some of your most recent posts to that blog and any local drafts you have stored on that account.</p>
<p><img src="http://rmaspero.com/wp-content/uploads/2008/07/img-0022-copy-21.jpg" width="320" height="367" alt="IMG_0022 copy 2.PNG" style="float:right; margin: 4px 0px 4px 4px;" /></p>
<p style="text-align: justify;">In the bottom left you have a refresh button to get the newest post from the server. In the right hand side you have the create new post button Which asks for a title, tags, categories, status and your post. You have a lot of control but you still can&#8217;t set things like comments (on/off), trackbacks and the url. The post area is a basic HTML editor which is not that easy to use unless all you are writing is a simple text post because of screen size, this is not helped when you rotate the iPhone, the app stays vertical.</p>
<p style="text-align: justify;">At the bottom of the screen you have Write, Photos, Preview and setting. Photos allows you access any photo&#8217;s on the device. It would be nice to see some flickr integration and previous photos on your blog but we may see these in later versions. Inserting photo&#8217;s is a horrible experience you select the photo&#8217;s from gallery in your iPhone and it added it to the bottom of the post, after it is published. There are not options for size or placement (left, right, top of post) they all appear after the post at the bottom. When writing a post the preview section loads a preview like wordpress would, but if the post has already been published you get a HTML preview as well as the wordpress preview after. This is very confusing. Then in setting you can set the publish date and password but more could be added there.</p>
<p style="text-align: justify;"><img src="http://rmaspero.com/wp-content/uploads/2008/07/img-0022-copy.jpg" width="320" height="49" alt="IMG_0022 copy.PNG" style="margin-top: 4px; margin-bottom: 10px; margin-right: 180px; float: left;" name="img-0022-copy.jpg" /></p>
<p style="text-align: justify;"></p>
<p style="text-align: justify;"></p>
<p style="text-align: justify;"></p>
<p style="text-align: justify;">Overall this is a very good start, but there is room for improvement, and don&#8217;t forget that as soon as they give out a new release you will have to go through the first steps again as apple give developers nowhere to store saved data. Here is a gallery of all my images so you can see what I am talking about.</p>
<p style="text-align: justify;">
<a href="http://rmaspero.com/wp-content/uploads/2008/07/img-0019.jpg" rel="lightbox[691]"><img src="http://rmaspero.com/wp-content/uploads/2008/07/img-0019-tm.jpg" width="100" height="150" alt="IMG_0019.png" style="float:left; margin-bottom:4px; margin-left:4px; border:4px #800000 solid;" /></a> <a href="http://rmaspero.com/wp-content/uploads/2008/07/img-0020.jpg" rel="lightbox[691]"><img src="http://rmaspero.com/wp-content/uploads/2008/07/img-0020-tm.jpg" width="100" height="150" alt="IMG_0020.PNG" style="margin-bottom:4px; margin-left:4px; border:4px #800000 solid;" /></a> <a href="http://rmaspero.com/wp-content/uploads/2008/07/img-0021.jpg" rel="lightbox[691]"><img src="http://rmaspero.com/wp-content/uploads/2008/07/img-0021-tm.jpg" width="100" height="150" alt="IMG_0021.PNG" style="float:left; margin-bottom:4px; margin-left:4px; border:4px #800000 solid;" /></a> <a href="http://rmaspero.com/wp-content/uploads/2008/07/img-0022.jpg" rel="lightbox[691]"><img src="http://rmaspero.com/wp-content/uploads/2008/07/img-0022-tm.jpg" width="100" height="150" alt="IMG_0022.PNG" style="float:left; margin-bottom:4px; margin-left:4px; border:4px #800000 solid;" /></a> <a href="http://rmaspero.com/wp-content/uploads/2008/07/img-0023.jpg" rel="lightbox[691]"><img src="http://rmaspero.com/wp-content/uploads/2008/07/img-0023-tm.jpg" width="100" height="150" alt="IMG_0023.PNG" style="float:left; margin-bottom:4px; margin-left:4px; border:4px #800000 solid;" /></a> <a href="http://rmaspero.com/wp-content/uploads/2008/07/img-0025.jpg" rel="lightbox[691]"><img src="http://rmaspero.com/wp-content/uploads/2008/07/img-0025-tm.jpg" width="100" height="150" alt="IMG_0025.PNG" style="float:left; margin-bottom:4px; margin-left:4px; border:4px #800000 solid;" /></a> <a href="http://rmaspero.com/wp-content/uploads/2008/07/img-0027.jpg" rel="lightbox[691]"><img src="http://rmaspero.com/wp-content/uploads/2008/07/img-0027-tm.jpg" width="100" height="150" alt="IMG_0027.PNG" style="float:left; margin-bottom:4px; margin-left:4px; border:4px #800000 solid;" /></a> <a href="http://rmaspero.com/wp-content/uploads/2008/07/img-0026.jpg" rel="lightbox[691]"><img src="http://rmaspero.com/wp-content/uploads/2008/07/img-0026-tm.jpg" width="100" height="150" alt="IMG_0026.PNG" style="float:left; margin-bottom:4px; margin-left:4px; border:4px #800000 solid;" /></a> <a href="http://rmaspero.com/wp-content/uploads/2008/07/img-0024.jpg" rel="lightbox[691]"><img src="http://rmaspero.com/wp-content/uploads/2008/07/img-0024-tm.jpg" width="100" height="150" alt="IMG_0024.PNG" style="float:left; margin-bottom:4px; margin-left:4px; border:4px #800000 solid;" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://rmaspero.com/2008/07/25/wordpress-for-iphone/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
