<?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"
	>

<channel>
	<title>bobdogz blog</title>
	<atom:link href="http://www.bobdogz.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://b0bd0gz.adsl24.co.uk</link>
	<description>The home of b0bd0gz</description>
	<pubDate>Fri, 19 Sep 2008 10:06:22 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>I&#8217;ve moved</title>
		<link>http://b0bd0gz.adsl24.co.uk/2008/09/19/ive-moved/</link>
		<comments>http://b0bd0gz.adsl24.co.uk/2008/09/19/ive-moved/#comments</comments>
		<pubDate>Fri, 19 Sep 2008 10:06:22 +0000</pubDate>
		<dc:creator>David</dc:creator>
		
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://b0bd0gz.adsl24.co.uk/?p=45</guid>
		<description><![CDATA[After a year with dreamhost I decided it wasn&#8217;t worth paying for another years worth of hosting as I don&#8217;t use that much bandwidth, so I&#8217;m now using my free web space I get with my incredibly helpful ISP adsl24.co.uk.  I&#8217;ve also decided to change the theme again as I really didn&#8217;t like my [...]]]></description>
			<content:encoded><![CDATA[<p>After a year with dreamhost I decided it wasn&#8217;t worth paying for another years worth of hosting as I don&#8217;t use that much bandwidth, so I&#8217;m now using my free web space I get with my incredibly helpful ISP adsl24.co.uk.  I&#8217;ve also decided to change the theme again as I really didn&#8217;t like my last attempt.  Now, as for more posts, there should be some more coming as I&#8217;ve made a list of things I want to write on here, so come back soon to see exactly what I&#8217;m blathering on about.</p>
]]></content:encoded>
			<wfw:commentRss>http://b0bd0gz.adsl24.co.uk/2008/09/19/ive-moved/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Customize Firefox To Look/Behave Like Safari</title>
		<link>http://b0bd0gz.adsl24.co.uk/2008/07/03/customize-firefox-to-lookbehave-like-safari/</link>
		<comments>http://b0bd0gz.adsl24.co.uk/2008/07/03/customize-firefox-to-lookbehave-like-safari/#comments</comments>
		<pubDate>Thu, 03 Jul 2008 08:04:28 +0000</pubDate>
		<dc:creator>David</dc:creator>
		
		<category><![CDATA[Firefox]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[customize]]></category>

		<category><![CDATA[howto]]></category>

		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://www.bobdogz.com/?p=30</guid>
		<description><![CDATA[Before moving to Mac I use to use Firefox 2 on my PC, but Firefox 2 on Mac quite frankly sucked so I decided to try Safari.  I was pleasantly surprised at how good it was once I got to know how to use it.
Now that Firefox 3 has fixed the majority of the problems [...]]]></description>
			<content:encoded><![CDATA[<p>Before moving to Mac I use to use Firefox 2 on my PC, but Firefox 2 on Mac quite frankly sucked so I decided to try Safari.  I was pleasantly surprised at how good it was once I got to know how to use it.</p>
<p>Now that Firefox 3 has fixed the majority of the problems that Firefox 2 had,  I&#8217;ve decided to go back to it.  The only problem with Firefox for me now is that I&#8217;ve gotten so use to some of the features in Safari I simply can&#8217;t live without them.  So I went on a hunt around the firefox add-on site to try and find some add-ons that will get me some of Safari&#8217;s functionality in Firefox.<span id="more-18"></span></p>
<h2>GrApple Theme</h2>
<p><a title="GrApple" href="http://www.takebacktheweb.org/" target="_blank">http://www.takebacktheweb.org/</a></p>
<p><a href="http://b0bd0gz.adsl24.co.uk/wp-content/uploads/2008/09/grapple.png"><img class="size-medium wp-image-20 alignnone" title="grapple" src="http://b0bd0gz.adsl24.co.uk/wp-content/uploads/2008/09/grapple-300x171.png" alt="grapple screenshot" width="300" height="171" /></a></p>
<p>First thing I wanted was the look of Safari because quite frankly the new Firefox Mac theme is appalling, so I installed the awesome GrApple theme.</p>
<h2>Quartz PDF Plugin</h2>
<p><a title="Quartz PDF Plugin" href="http://code.google.com/p/firefox-mac-pdf/" target="_blank">http://code.google.com/p/firefox-mac-pdf/</a></p>
<p><a href="http://b0bd0gz.adsl24.co.uk/wp-content/uploads/2008/09/quartzpdf.png"><img class="alignnone size-medium wp-image-21" title="quartzpdf" src="http://b0bd0gz.adsl24.co.uk/wp-content/uploads/2008/09/quartzpdf-300x171.png" alt="" width="300" height="171" /><br />
</a>This add-on will allow you to open PDF&#8217;s in firefox.  It&#8217;s still in early development from what I can gather but it hasn&#8217;t failed on me yet.</p>
<h2>The Fission progress bar</h2>
<p><a title="Fission" href="https://addons.mozilla.org/en-US/firefox/addon/1951" target="_blank">https://addons.mozilla.org/en-US/firefox/addon/1951</a></p>
<p><a href="http://b0bd0gz.adsl24.co.uk/wp-content/uploads/2008/09/fission.png"><img class="alignnone size-medium wp-image-22" title="fission" src="http://b0bd0gz.adsl24.co.uk/wp-content/uploads/2008/09/fission-300x171.png" alt="" width="300" height="171" /></a><br />
Fission adds a progress bar behind the address bar like in Safari.</p>
<h2>Smart Stop/Reload</h2>
<p><a title="Smart Stop/Reload" href="https://addons.mozilla.org/en-US/firefox/addon/7401" target="_blank">https://addons.mozilla.org/en-US/firefox/addon/7401</a><br />
(Experimental requires login)</p>
<p><img class="alignnone size-medium wp-image-23" title="smart-stop_reload" src="http://b0bd0gz.adsl24.co.uk/wp-content/uploads/2008/09/smart-stop_reload.png" alt="" width="148" height="110" /><br />
This add-on merges the Stop and Reload button into one.</p>
<h2>URL Link</h2>
<p><a title="URL Link" href="https://addons.mozilla.org/en-US/firefox/addon/403" target="_blank">https://addons.mozilla.org/en-US/firefox/addon/403</a></p>
<p><img class="alignnone size-medium wp-image-24" title="url-link" src="http://b0bd0gz.adsl24.co.uk/wp-content/uploads/2008/09/url-link-300x177.png" alt="" width="300" height="177" /><br />
The feature I liked most in Safari was being able to highlight a text URL link and open it up in a new tab without having to copy and paste it into the address bar.  This add-on lets you do that in Firefox.</p>
]]></content:encoded>
			<wfw:commentRss>http://b0bd0gz.adsl24.co.uk/2008/07/03/customize-firefox-to-lookbehave-like-safari/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Import Movies Into iTunes</title>
		<link>http://b0bd0gz.adsl24.co.uk/2008/03/26/import-movies-into-itunes/</link>
		<comments>http://b0bd0gz.adsl24.co.uk/2008/03/26/import-movies-into-itunes/#comments</comments>
		<pubDate>Wed, 26 Mar 2008 10:52:13 +0000</pubDate>
		<dc:creator>David</dc:creator>
		
		<category><![CDATA[iTunes]]></category>

		<category><![CDATA[howto]]></category>

		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://www.bobdogz.com/2008/03/26/import-movies-into-itunes/</guid>
		<description><![CDATA[A Small guide on how to import all your movies into iTunes.
Open With QuickTime

Open the movie with QuickTime Player.  If the movie is on two seperate files go ahead and open the second file so both parts of the movie
are now open in QuickTime Player.
Skip To The End

Now what you need to do is skip [...]]]></description>
			<content:encoded><![CDATA[<p>A Small guide on how to import all your movies into iTunes.<span id="more-17"></span></p>
<h2>Open With QuickTime</h2>
<p><img class="alignnone size-medium wp-image-28" title="open_with_quicktime" src="http://b0bd0gz.adsl24.co.uk/wp-content/uploads/2008/09/media_1204890301668-300x151.png" alt="" width="300" height="151" /><br />
Open the movie with QuickTime Player.  If the movie is on two seperate files go ahead and open the second file so both parts of the movie<br />
are now open in QuickTime Player.</p>
<h2>Skip To The End</h2>
<p><img class="alignnone size-medium wp-image-30" title="skip_to_the_end" src="http://b0bd0gz.adsl24.co.uk/wp-content/uploads/2008/09/media_1204890518339.png" alt="" width="217" height="70" /><br />
Now what you need to do is skip to the end of the first part of the movie in QuickTime Player.</p>
<h2>Select All</h2>
<p><img class="alignnone size-medium wp-image-31" title="select_all" src="http://b0bd0gz.adsl24.co.uk/wp-content/uploads/2008/09/media_1204890640044-300x190.png" alt="" width="300" height="190" /></p>
<p>Next, go to the second part of the movie thats open in QuickTime Player and choose Edit &gt; Select All.</p>
<h2>Copy The Movie</h2>
<p><img class="alignnone size-medium wp-image-32" title="copy_the_movie" src="http://b0bd0gz.adsl24.co.uk/wp-content/uploads/2008/09/media_1204890733483-300x124.png" alt="" width="300" height="124" /><br />
Now choose Edit &gt; Copy to copy all of the second part of the movie.</p>
<h2>Paste Onto The End</h2>
<p><img class="alignnone size-medium wp-image-33" title="paste_onto_the_end" src="http://b0bd0gz.adsl24.co.uk/wp-content/uploads/2008/09/media_1204890940037-300x146.png" alt="" width="300" height="146" /><br />
Now go back to the first part of the movie and choose Edit &gt; Paste from the menu so that we now have both parts of the film together.</p>
<h2>Save Movie</h2>
<p><img class="alignnone size-medium wp-image-34" title="save_movie" src="http://b0bd0gz.adsl24.co.uk/wp-content/uploads/2008/09/media_1204891179840-300x112.png" alt="" width="300" height="112" /><br />
Staying with the full movie we now made choose File &gt; Save As from the menu.  Give the movie whatever name you want and then choose &#8220;Save as a reference movie&#8221; from the two options at the bottom of the window, then click Save.</p>
<h2>Import The Movie</h2>
<p><img class="alignnone size-medium wp-image-35" title="import_the_movie" src="http://b0bd0gz.adsl24.co.uk/wp-content/uploads/2008/09/media_1204891569872.png" alt="" width="259" height="236" /><br />
Now we need to import the newly made film into iTunes, to do this simply drag the (the-name-you-saved-the-film-as).mov file onto &#8220;Movies&#8221; in the iTunes sidebar.  You should then see iTunes say its importing it and once thats finished the movie should be in iTunes, HOORAY!</p>
<h2>You Might Want To&#8230;</h2>
<p><img class="alignnone size-medium wp-image-36" title="you_might_want_to" src="http://b0bd0gz.adsl24.co.uk/wp-content/uploads/2008/09/media_1204891893068-300x98.png" alt="" width="300" height="98" /><br />
What you might want to do now is edit the movies tags so it has all the correct information and artwork to go with the movie.  To do this right click the movie in the list and choose &#8220;Get Info&#8221;.</p>
<h2>Add Info</h2>
<p><a href="http://b0bd0gz.adsl24.co.uk/wp-content/uploads/2008/09/media_1204891992850.png"><img class="alignnone size-medium wp-image-37" title="add_info" src="http://b0bd0gz.adsl24.co.uk/wp-content/uploads/2008/09/media_1204891992850-300x279.png" alt="" width="300" height="279" /></a><br />
Select &#8220;Info&#8221; from the tabs and then put in all the details about the film you want (you can find all this information by searching <a title="imdb.com" href="http://www.imdb.com" target="_blank">http://www.imdb.com</a>).</p>
<h2>Add Artwork</h2>
<p><a href="http://b0bd0gz.adsl24.co.uk/wp-content/uploads/2008/09/media_1204892158262.png"><img class="alignnone size-medium wp-image-38" title="add_artwork" src="http://b0bd0gz.adsl24.co.uk/wp-content/uploads/2008/09/media_1204892158262-300x279.png" alt="" width="300" height="279" /></a><br />
To add the artwork click the &#8220;Artwork&#8221; tab and simply drag the image you want to use onto the window and then click &#8220;OK&#8221; and your finished.  For movie posters I use <a title="impawards.com" href="http://www.impawards.com/" target="_blank">http://www.impawards.com/</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://b0bd0gz.adsl24.co.uk/2008/03/26/import-movies-into-itunes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MiddleClickClose - Updated</title>
		<link>http://b0bd0gz.adsl24.co.uk/2008/03/25/middleclickclose-updated/</link>
		<comments>http://b0bd0gz.adsl24.co.uk/2008/03/25/middleclickclose-updated/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 14:53:05 +0000</pubDate>
		<dc:creator>David</dc:creator>
		
		<category><![CDATA[News]]></category>

		<category><![CDATA[Safari]]></category>

		<category><![CDATA[Mac]]></category>

		<category><![CDATA[OS X]]></category>

		<category><![CDATA[SIMBL]]></category>

		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://www.bobdogz.com/2008/03/25/middleclickclose-updated/</guid>
		<description><![CDATA[MiddleClickClose has been updated to work with Safari 3.1.
Download MiddleClickClose here.
]]></description>
			<content:encoded><![CDATA[<p>MiddleClickClose has been updated to work with Safari 3.1.</p>
<p>Download MiddleClickClose <a title="Download MiddleClickClose" href="http://joeygibson.com/blog/tech/mac/middleclickclose_for_safari_3_1.html" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://b0bd0gz.adsl24.co.uk/2008/03/25/middleclickclose-updated/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New Look</title>
		<link>http://b0bd0gz.adsl24.co.uk/2008/03/20/new-look/</link>
		<comments>http://b0bd0gz.adsl24.co.uk/2008/03/20/new-look/#comments</comments>
		<pubDate>Thu, 20 Mar 2008 23:49:17 +0000</pubDate>
		<dc:creator>David</dc:creator>
		
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.website.bobdogz.com/2008/03/20/new-look/</guid>
		<description><![CDATA[If you haven&#8217;t visited this site before you won&#8217;t have noticed any changes, if you have visited before you might have noticed a couple of changes.
Firstly the site has had a facelift  courtesy of me and a few hours of work  Secondly I&#8217;ve ditched the blog I made using Ruby on Rails and instead [...]]]></description>
			<content:encoded><![CDATA[<p>If you haven&#8217;t visited this site before you won&#8217;t have noticed any changes, if you have visited before you might have noticed a couple of changes.<span id="more-15"></span></p>
<p>Firstly the site has had a facelift  courtesy of me and a few hours of work <img src='http://b0bd0gz.adsl24.co.uk/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> Secondly I&#8217;ve ditched the blog I made using Ruby on Rails and instead am using Wordpress.</p>
<p>Hope you like the changes,<br />
b0bd0gz</p>
]]></content:encoded>
			<wfw:commentRss>http://b0bd0gz.adsl24.co.uk/2008/03/20/new-look/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Middle Click In Safari</title>
		<link>http://b0bd0gz.adsl24.co.uk/2008/03/19/middle-click-in-safari/</link>
		<comments>http://b0bd0gz.adsl24.co.uk/2008/03/19/middle-click-in-safari/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 19:53:40 +0000</pubDate>
		<dc:creator>David</dc:creator>
		
		<category><![CDATA[Safari]]></category>

		<category><![CDATA[howto]]></category>

		<category><![CDATA[Mac]]></category>

		<category><![CDATA[OS X]]></category>

		<category><![CDATA[SIMBL]]></category>

		<guid isPermaLink="false">http://www.website.bobdogz.com/2008/03/19/middle-click-in-safari/</guid>
		<description><![CDATA[After making the move to OS X I got to tryout safari and really liked it, so much so I decided to use it full time instead of Firefox. One of the problems I had was trying to break my habit of closing tabs with the middle button. After breaking that habit and getting use [...]]]></description>
			<content:encoded><![CDATA[<p>After making the move to OS X I got to tryout safari and really liked it, so much so I decided to use it full time instead of Firefox. One of the problems I had was trying to break my habit of closing tabs with the middle button. After breaking that habit and getting use to clicking the close button on tabs I found this addon for Safari called <a title="middleclickclose" href="http://joeygibson.com/blog/tech/mac/middle_click_close_for_safari.html" target="_blank">MiddleClickClose</a>.  For instructions on how to install it go <a title="middleclickclose" href="http://joeygibson.com/blog/tech/mac/middle_click_close_for_safari.html" target="_blank">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://b0bd0gz.adsl24.co.uk/2008/03/19/middle-click-in-safari/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Images Blurry In Coverflow?</title>
		<link>http://b0bd0gz.adsl24.co.uk/2008/03/19/images-blurry-in-coverflow/</link>
		<comments>http://b0bd0gz.adsl24.co.uk/2008/03/19/images-blurry-in-coverflow/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 19:51:05 +0000</pubDate>
		<dc:creator>David</dc:creator>
		
		<category><![CDATA[osx]]></category>

		<category><![CDATA[coverflow]]></category>

		<category><![CDATA[leopard]]></category>

		<category><![CDATA[Mac]]></category>

		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://www.website.bobdogz.com/2008/03/19/images-blurry-in-coverflow/</guid>
		<description><![CDATA[Are your thumbnails looking blurry in Coverflow? Some of mine were and it didn&#8217;t look very nice to say the least. Luckily there is a simple solution.

Download and install CocoaThumbX
Load it up and check &#8220;Remove Thumbnail&#8221;
Drag the files that are blurry in Coverflow onto CocoaThumbX
Wait a second or two for Coverflow to reload the thumbnail, [...]]]></description>
			<content:encoded><![CDATA[<p>Are your thumbnails looking blurry in Coverflow? Some of mine were and it didn&#8217;t look very nice to say the least. Luckily there is a simple solution.<span id="more-13"></span></p>
<ol>
<li>Download and install <a title="CocoaThumbX" href="http://www.stalkingwolf.net/software/cocothumbx/">CocoaThumbX</a></li>
<li>Load it up and check &#8220;Remove Thumbnail&#8221;</li>
<li>Drag the files that are blurry in Coverflow onto CocoaThumbX</li>
<li>Wait a second or two for Coverflow to reload the thumbnail, and hey presto you should have lovely crisp thumbnails.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://b0bd0gz.adsl24.co.uk/2008/03/19/images-blurry-in-coverflow/feed/</wfw:commentRss>
		</item>
		<item>
		<title>My move to OS X</title>
		<link>http://b0bd0gz.adsl24.co.uk/2008/03/19/my-move-to-os-x/</link>
		<comments>http://b0bd0gz.adsl24.co.uk/2008/03/19/my-move-to-os-x/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 19:49:14 +0000</pubDate>
		<dc:creator>David</dc:creator>
		
		<category><![CDATA[Mac]]></category>

		<category><![CDATA[howto]]></category>

		<category><![CDATA[links]]></category>

		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://www.website.bobdogz.com/2008/03/19/my-move-to-os-x/</guid>
		<description><![CDATA[Hello again, before Christmas I got myself a Mac Mini (1.66GHz Core Duo) and have found the move to OS X from Windows XP to be easy and relatively trouble free. Below are a list of websites that I found really useful in getting up and running on my new Mac and some of the [...]]]></description>
			<content:encoded><![CDATA[<p>Hello again, before Christmas I got myself a Mac Mini (1.66GHz Core Duo) and have found the move to OS X from Windows XP to be easy and relatively trouble free. Below are a list of websites that I found really useful in getting up and running on my new Mac and some of the problems I had and how I solved them. <span id="more-12"></span></p>
<h2 class="title">Useful Mac Sites</h2>
<ul>
<li><a href="http://www.usingmac.com/" title="UsingMac.com">UsingMac.com</a></li>
<li><a href="http://osxdaily.com/" title="OS X Daily">OS X Daily</a></li>
<li><a href="http://www.tuaw.com/" title="The Unofficial Apple Weblog">The Unofficial Apple Weblog</a></li>
<li><a href="http://lifehacker.com/tag/mac-tip/">LifeHacker Mac Tip Articles</a></li>
</ul>
<h2 class="title">Mac Customization</h2>
<ul>
<li><a href="http://iconfactory.com/home" title="IconFactory">IconFactory</a></li>
<li><a href="http://macthemes2.net/" title="MacThemes 2.0">MacThemes 2.0</a></li>
<li><a href="http://leoparddocks.net/" title="Leopard Docks">Leopard Docks</a></li>
</ul>
<h2 class="title">Mac Icons/Wallpaper</h2>
<ul>
<li><a href="http://macthemes2.net/forum/viewforum.php?id=2" title="MacThemes 2.0 Releases and Updates Forum">MacThemes 2.0 Releases and Updates Forum</a></li>
<li><a href="http://susumu.seph.ws/?page_id=11" title="McDO Design">McDo Design</a></li>
<li><a href="http://pixelresort.com/" title="Pixel Resort">Pixel Resort</a></li>
<li><a href="http://jonas.seph.ws/" title="Jonas Rak Design">Jonas Rak Design</a></li>
<li><a href="http://louiemantia.com/icon/" title="Louie Mantia">Louie Mantia</a></li>
</ul>
<h2 class="title">Quicklook Plugins</h2>
<ul>
<li><a href="http://www.quicklookplugins.com/" title="QuickLook Plugins List">QuickLook Plugins List</a></li>
<li><a href="http://hrmpf.com/wordpress/218/quick-look-plugins-for-leopard" title="hrmpf.com QuickLook Plugin List">hrmpf.com QuickLook Plugin List</a></li>
</ul>
<h2 class="title">How on earth do you type #?</h2>
<p>I do some CSS and the # symbol is kinda vital so when I looked down and searched my new keyboard for this symbol it shocked me somewhat to find it not there. After looking around I found it was there, it was just hiding. To get him to appear simply press the option + 3 and # should appear on your screen, YAY!.</p>
<h2 class="title">Growl not working</h2>
<p>Growl was one of the things I was looking forward to using when I switched to Mac, so I was quite annoyed when it didn&#8217;t work. After looking around I found out that it was the Logitech drivers for my Mouse, that for some unknown reason stopped growl from display notifications.</p>
<p>So next I hunted around for an alternative to the Logitech drivers and found <a href="http://plentycom.jp/en/steermouse/" title="SteerMouse">SteerMouse</a> which is an &#8220;<em>Advanced driver for USB and Bluetooth mouse.</em>&#8221;</p>
<p>After uninstalling the Logitech drivers and installing <a href="http://plentycom.jp/en/steermouse/" title="SteerMouse">SteerMouse</a> Growl started working and had an added bonus of Leopard booting a bit faster, WOOPEY!</p>
<h2 class="title">MainMenu</h2>
<p>Last thing I want to share is this brilliant bit of software <a href="http://www.santasw.com/" title="MainMenu">MainMenu</a> which does lots of neat things (e.g. Repair Disk Permissions, Clear User/System cahce) all from the menu bar.  Go <a href="http://www.santasw.com/" title="MainMenu">check it out</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://b0bd0gz.adsl24.co.uk/2008/03/19/my-move-to-os-x/feed/</wfw:commentRss>
		</item>
		<item>
		<title>paginating_find plug-in part 2</title>
		<link>http://b0bd0gz.adsl24.co.uk/2008/03/19/paginating_find-plug-in-part-2/</link>
		<comments>http://b0bd0gz.adsl24.co.uk/2008/03/19/paginating_find-plug-in-part-2/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 19:47:01 +0000</pubDate>
		<dc:creator>David</dc:creator>
		
		<category><![CDATA[Ruby on Rails]]></category>

		<category><![CDATA[howto]]></category>

		<category><![CDATA[paginating_find]]></category>

		<category><![CDATA[plug-in]]></category>

		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://www.website.bobdogz.com/?p=9</guid>
		<description><![CDATA[How to add &#8220;next page&#8221; and &#8220;previous page&#8221; links using the paginating_find plug-in.If you haven&#8217;t read the first part, read it if you want to know how to set up paginating_find
So far our view code for generating the links to different pages looks like this

&#60;%= paginating_links(@posts) %&#62;

To add the next and and previous page links [...]]]></description>
			<content:encoded><![CDATA[<p>How to add &#8220;next page&#8221; and &#8220;previous page&#8221; links using the paginating_find plug-in.<span id="more-11"></span>If you haven&#8217;t read the <a href="http://www.bobdogz.com/blog/show/22-paginating_find-plug-in">first part</a>, read it if you want to know how to set up paginating_find</p>
<p>So far our view code for generating the links to different pages looks like this</p>
<pre><code>
&lt;%= paginating_links(<span class="purple">@posts</span>) %&gt;
</code></pre>
<p>To add the next and and previous page links we need to add these lines</p>
<p><label>Previous page link</label></p>
<pre><code>
&lt;%= link_to <span class="green">'previous page'</span>, <span class="blue">:action</span> =&gt; <span class="green">'index'</span>, <span class="blue">:page</span> =&gt; <span class="purple">@posts</span>.previous_page %&gt;
</code></pre>
<p><label>Next page link</label></p>
<pre><code>
&lt;%= link_to <span class="green">'next page'</span>, <span class="blue">:action</span> =&gt; <span class="green">'index'</span>, <span class="blue">:page</span> =&gt; <span class="purple">@posts</span>.next_page %&gt;
</code></pre>
<p>Now that will work but when we are on the first page the &#8220;previous page&#8221; link will still be there, and when we are on the last page the &#8220;next page&#8221; link will be there, which we don&#8217;t want for obvious reasons. So how do we solve that problem?</p>
<p>Well we use the next_page? or previous_page? method to find out if a next or previous page exists, if it does then display the relevant link otherwise don&#8217;t display it, EASY!</p>
<p><label>Previous page link</label></p>
<pre><code>
&lt;% <span class="dark_orange">if</span> <span class="purple">@posts</span>.previous_page? %&gt;
	&lt;%= link_to <span class="green">'previous page'</span>, <span class="blue">:action</span> =&gt; <span class="green">'index'</span>, <span class="blue">:page</span> =&gt; <span class="purple">@posts</span>.previous_page %&gt;
&lt;% <span class="dark_orange">end</span> %&gt;
</code></pre>
<p><label>Next page link</label></p>
<pre><code>
&lt;% <span class="dark_orange">if</span> <span class="purple">@posts</span>.next_page? %&gt;
	&lt;%= link_to <span class="green">'previous page'</span>, <span class="blue">:action</span> =&gt; <span class="green">'index'</span>, <span class="blue">:page</span> =&gt; <span class="purple">@posts</span>.next_page %&gt;
&lt;% <span class="dark_orange">end</span> %&gt;
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://b0bd0gz.adsl24.co.uk/2008/03/19/paginating_find-plug-in-part-2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>paginating_find plug-in</title>
		<link>http://b0bd0gz.adsl24.co.uk/2008/03/19/paginating_find-plug-in/</link>
		<comments>http://b0bd0gz.adsl24.co.uk/2008/03/19/paginating_find-plug-in/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 19:45:11 +0000</pubDate>
		<dc:creator>David</dc:creator>
		
		<category><![CDATA[Ruby on Rails]]></category>

		<category><![CDATA[howto]]></category>

		<category><![CDATA[paginating_find]]></category>

		<category><![CDATA[plug-in]]></category>

		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://www.website.bobdogz.com/?p=8</guid>
		<description><![CDATA[After looking around for an alternative to the inbuilt rails pagination I found the paginating_find plug-in by Alex Wolfe of cardboardrocket.com.There were 2 reasons I wanted an alternative to the pagination that comes with rails. 1) The inbuilt pagination only allows you to go to the next or previous page which can be a pain [...]]]></description>
			<content:encoded><![CDATA[<p>After looking around for an alternative to the inbuilt rails pagination I found the paginating_find plug-in by Alex Wolfe of <a href="http://cardboardrocket.com/pages/paginating_find" title="cardboardrocket.com/pages/paginating_find">cardboardrocket.com</a>.<span id="more-10"></span>There were 2 reasons I wanted an alternative to the pagination that comes with rails. 1) The inbuilt pagination only allows you to go to the next or previous page which can be a pain when you have lots of pages 2) Pagination will be extracted out into a plug-in in Rails 2.0.</p>
<p>So after trying to find a simple solution to my problem I came across the <a href="http://cardboardrocket.com/pages/paginating_find" title="cardboardrocket.com/pages/paginating_find">pagination_find</a> plug-in, which I found very easy to get working and produces page numbers that allow you to skip to specific pages.</p>
<p>Here&#8217;s how I used it on this website.</p>
<p>First I installed the plug-in, by opening a ruby console window, going to the rails apps I wanted to install the plug-in on and running this command.</p>
<pre><code>
ruby script/plugin install http://svn.cardboardrocket.com/paginating_find
</code></pre>
<p>Then I went to the blog controller (app/controller/blog.rb) and replaced the old pagination code in the index action with the new pagination code.</p>
<pre><code>
<span class="dark_orange">def</span> <span class="orange">index</span>
  <span class="purple">@post_pages</span>, <span class="purple">@posts</span> = paginate <span class="blue">:posts</span>, <span class="blue">:order</span> =&gt; <span class="green">"created_at DESC"</span>, <span class="blue">:per_page</span> =&gt; <span class="green">4</span>
<span class="dark_orange">end</span>
</code></pre>
<pre><code>
<span class="dark_orange">def</span> <span class="orange">index</span>
  <span class="purple">@posts</span> = Post.find(<span class="blue">:all</span>, <span class="blue">:order</span>, =&gt; <span class="green">"created_at DESC"</span>, <span class="blue">:page</span> =&gt; {<span class="blue">:size</span> =&gt; <span class="green">5</span>, <span class="blue">:current</span> =&gt; params[<span class="blue">:page</span>]})
<span class="dark_orange">
end</span>
</code></pre>
<p>Next thing was to change my index.rhtml view (app/views/blog/index.rhtml) to display the pages with the pagination links.</p>
<pre><code>
&lt;% <span class="purple">@posts</span>.each <span class="dark_orange">do</span> |post| %&gt;
  <span class="comment">#Code for displaying posts</span>
&lt;% <span class="dark_orange">end</span> %&gt;

&lt;%= paginating_links(<span class="purple">@posts</span>) %&gt;
</code></pre>
<p>And thats all there is to it, for more options go to the <a href="http://cardboardrocket.com/pages/paginating_find" title="cardboardrocket.com/pages/paginating_find">pagination_find website.</a></p>
<p>One more thing, if you get a &#8220;Unknown key(s): page&#8221; error,it&#8217;s because you haven&#8217;t restarted your server after installing the plug-in.</p>
]]></content:encoded>
			<wfw:commentRss>http://b0bd0gz.adsl24.co.uk/2008/03/19/paginating_find-plug-in/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
