<?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>kristarella.com &#187; Tech</title> <atom:link href="http://www.kristarella.com/category/tech/feed/" rel="self" type="application/rss+xml" /><link>http://www.kristarella.com</link> <description>Website of photography loving, mac-using, Christian molecular biology graduate working in web design.</description> <lastBuildDate>Fri, 20 Jan 2012 21:42:24 +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>Free iPhone apps to &#8216;view source&#8217;</title><link>http://www.kristarella.com/2010/10/free-iphone-apps-to-view-source/</link> <comments>http://www.kristarella.com/2010/10/free-iphone-apps-to-view-source/#comments</comments> <pubDate>Mon, 04 Oct 2010 05:08:36 +0000</pubDate> <dc:creator>kristarella</dc:creator> <category><![CDATA[Tech]]></category> <category><![CDATA[iPhone]]></category> <category><![CDATA[Software (free)]]></category> <category><![CDATA[Tools]]></category><guid
isPermaLink="false">http://www.kristarella.com/?p=4008</guid> <description><![CDATA[This weekend, while I was out all day, I found myself wanting to respond to questions on my blog and for one of those I needed to check out the source code of the questioner&#8217;s website. The ability to view the source code of a web page is easy from your desktop computer, but it&#8217;s [...]]]></description> <content:encoded><![CDATA[<p></p><p>This weekend, while I was out all day, I found myself wanting to respond to questions on my blog and for one of those I needed to check out the source code of the questioner&#8217;s website. The ability to view the source code of a web page is easy from your desktop computer, but it&#8217;s not built into mobile safari.</p><p>Searching for how to do it brought up a few options:</p><ul><li>A bit of a <a
href="http://iphoneized.com/2009/05/8-ways-view-page-source-code-iphone/">view source round up at iphoneized</a><ul><li>which led me to <a
href="http://www.shauninman.com/archive/2007/11/16/mobilesafari_view_source">Shaun Inman&#8217;s bookmarklet tool</a> &#8212; this one is pretty nice because it, is reasonably easy to bookmark without computer intervention, it has line numbers, and works with copy and paste quite well; the only downside, I thought, was that the line numbers get copied when copying multiple lines</li></ul></li><li><a
href="http://fettig.net/weblog/2007/07/02/view-source-for-safari-on-iphone/">a bookmarklet by Abe Fettig</a> &#8212; this one is a bit more laborious to actually get into your iPhone bookmarks and also doesn&#8217;t seem to support copy/paste well (I could only get it to copy the whole page, not individual sections)</li><li>I searched the app store for &#8220;view source&#8221; and tested all the free apps available to look at web page source code</li></ul><p><span
id="more-4008"></span></p><h3><a
href="http://itunes.apple.com/au/app/isource-browser/id370764473?mt=8">iSource Browser</a></h3><p><img
src="http://www.kristarella.com/wp-content/uploads/iSource.png" alt="" title="iSource" width="130" height="130" class="alignleft frame size-full wp-image-4011" /></p><p>iSource was the first one I tried. It has some great ideas and features that the other apps don&#8217;t: WHOIS, DIG, and HOST lookup, as well as the ability to email debug info. Other nice (but not necessarily unique) things include browser view, open in Safari, and email source code.</p><p>My only gripes with this app are that it doesn&#8217;t use the iPhone&#8217;s browser/URL keyboard with the convenient .com button, and you have to type in http:// to the address bar: it doesn&#8217;t auto-fill that part for you when you press the x to remove the previous contents of the address bar. It also doesn&#8217;t have state saving or any bookmark feature, so you have to retype the URL every time you enter the app.</p><h3><a
href="http://itunes.apple.com/au/app/html-viewer/id353546393?mt=8">HTML Viewer</a></h3><p><img
src="http://www.kristarella.com/wp-content/uploads/HTMLviewer.png" alt="" title="HTML viewer" width="130" height="130" class="alignleft frame size-full wp-image-4009" /></p><p>HTML Viewer is easily my favourite application of the 4 free ones that were available. It uses the iPhone URL keyboard, it has buttons to quickly switch between browser and code view, switch between line wrapped and non-wrapped code, bookmarks, search(!), and email. You can also add a bookmark in Safari to launch your current page in HTML Viewer.</p><p>It doesn&#8217;t have state saving, so remember to bookmark your current page if you want to switch to another application. The only thing that doesn&#8217;t work as well as I&#8217;d like is the copy and paste: it seems you&#8217;re stuck with copying one word or everything from the top down, because when you try to drag the select end marks (the way you do on the iPhone to change a selection) suddenly the block of code at the top of the page is selected, rather than the bit you were working with.</p><h3><a
href="http://itunes.apple.com/tr/app/ihtml/id349701644?mt=8">iHTML</a></h3><p><img
src="http://www.kristarella.com/wp-content/uploads/iHTML.png" alt="" title="iHTML" width="130" height="130" class="alignleft frame size-full wp-image-4010" /></p><p>iHTML is very simple, but works really well if you only need the two main features it has: code viewing and emailing the source code. If you turn the app to landscape view you get a split code/browser view (that&#8217;s the only browser view the app has). Copy and paste works smoothly in this app and, unlike the others, it remembers the web page it was on last time it was open. It also uses the URL keyboard and automatically fills in http:// for you, so typing in URLs is pretty quick.</p><h3><a
href="http://itunes.apple.com/us/app/web-source-viewer/id313833572?mt=8">Web Source Viewer</a></h3><p><img
src="http://www.kristarella.com/wp-content/uploads/websource.png" alt="" title="Web Source Viewer" width="130" height="130" class="alignleft frame size-full wp-image-4012" /></p><p>Web Source Viewer is the simplest app of the lot. It only uses the landscape orientation, and has no extra features other than viewing and copying the source code of a page. It does use the URL keyboard, but has no quick way to delete the URL from the address bar, it doesn&#8217;t auto-fill http:// for you, and it has no state saving.</p><p>I wouldn&#8217;t really recommend this one as it doesn&#8217;t seem to be under current development. The only reason I can see that you would pick this app over any of the others is if landscape view <em>and</em> copy/paste are really important at the time since iSource doesn&#8217;t do landscape view, HTML Viewer has a full landscape view, but copying is buggy, and iHTML doesn&#8217;t have a full landscape view.</p> ]]></content:encoded> <wfw:commentRss>http://www.kristarella.com/2010/10/free-iphone-apps-to-view-source/feed/</wfw:commentRss> <slash:comments>10</slash:comments> </item> <item><title>Find text on a webpage</title><link>http://www.kristarella.com/2010/07/find-text-on-a-webpage/</link> <comments>http://www.kristarella.com/2010/07/find-text-on-a-webpage/#comments</comments> <pubDate>Tue, 13 Jul 2010 00:09:00 +0000</pubDate> <dc:creator>kristarella</dc:creator> <category><![CDATA[Tech]]></category> <category><![CDATA[Websites]]></category><guid
isPermaLink="false">http://www.kristarella.com/?p=3965</guid> <description><![CDATA[This is a just a quick tip that should make your search for information a lot quicker and easier. You can use Ctrl+F (or Cmd+F on a Mac) to find any text in a webpage. Holding down those two keys in a browser (and indeed many applications) will usually bring up some kind of find/search [...]]]></description> <content:encoded><![CDATA[<p></p><p>This is a just a quick tip that should make your search for information a lot quicker and easier.</p><p>You can use <strong>Ctrl+F</strong> (or <strong>Cmd+F</strong> on a Mac) to find any text in a webpage.<br
/> <span
id="more-3965"></span><br
/> Holding down those two keys in a browser (and indeed many applications) will usually bring up some kind of find/search bar or dialogue.</p><p>This is especially handy when a Google search has brought you to a page, which you know has the information you want (because Google showed a snippet of it), but it is really long, and you want to quickly locate the relevant section. It&#8217;s also great when a tutorial raises a question in your mind: you can quickly search for a few key words to see if anyone had that question in the comments.</p><p>The find bar might be a bit different in different browsers, but as far as I know, this shortcut works in all of them.</p><div
id="attachment_3966" class="wp-caption aligncenter" style="width: 500px"> <a
href="http://www.kristarella.com/wp-content/uploads/find-Firefox.png"><img
src="http://www.kristarella.com/wp-content/uploads/find-Firefox-500x50.png" alt="" title="Firefox find bar" width="500" height="50" class="size-large wp-image-3966" /></a><p
class="wp-caption-text">Firefox find bar is located at the bottom of the window, and has a few more options than other browsers</p></div><p><div
id="attachment_3967" class="wp-caption aligncenter" style="width: 332px"> <img
src="http://www.kristarella.com/wp-content/uploads/find-GoogleChrome.png" alt="" title="Chrome find bar" width="332" height="87" class="size-full wp-image-3967" /><p
class="wp-caption-text">Chrome find bar is at the top right of the browser, below the tabs.</p></div><br
/><div
id="attachment_3968" class="wp-caption aligncenter" style="width: 334px"> <img
src="http://www.kristarella.com/wp-content/uploads/find-Safari.png" alt="" title="Safari find bar" width="334" height="39" class="size-full wp-image-3968" /><p
class="wp-caption-text">Safari find bar, like Chrome, is at the top right of the browser, below the tabs, and it has a nice way of highlighting the found words</p></div></p><p
class="note">Apologies to those accustomed to more advanced tips on this site and are slapping their forehead because they&#8217;ve known this for years, but it&#8217;s become evident to me that a lot of users of this site don&#8217;t know about this and it&#8217;s just too useful to let them continue in darkness.</p> ]]></content:encoded> <wfw:commentRss>http://www.kristarella.com/2010/07/find-text-on-a-webpage/feed/</wfw:commentRss> <slash:comments>10</slash:comments> </item> <item><title>How do you choose web hosting?</title><link>http://www.kristarella.com/2010/07/how-do-you-choose-web-hosting/</link> <comments>http://www.kristarella.com/2010/07/how-do-you-choose-web-hosting/#comments</comments> <pubDate>Thu, 01 Jul 2010 02:36:43 +0000</pubDate> <dc:creator>kristarella</dc:creator> <category><![CDATA[Tech]]></category> <category><![CDATA[Websites]]></category><guid
isPermaLink="false">http://www.kristarella.com/?p=3955</guid> <description><![CDATA[No really, I&#8217;m asking! My web host My first (and current) web host, NearlyFreeSpeech.net, was recommended to me by my husband when I moved from Blogger to WordPress. I didn&#8217;t really know anything about servers and hosting at the time, so I trusted my software engineer&#8217;s advice implicitly. He didn&#8217;t steer me wrong; I&#8217;ve found [...]]]></description> <content:encoded><![CDATA[<p></p><p>No really, I&#8217;m asking!</p><h3>My web host</h3><p>My first (and current) web host, <a
href="https://www.nearlyfreespeech.net/">NearlyFreeSpeech.net</a>, was recommended to me by my husband when I moved from Blogger to WordPress. I didn&#8217;t really know anything about servers and hosting at the time, so I trusted my software engineer&#8217;s advice implicitly. He didn&#8217;t steer me wrong; I&#8217;ve found NSF.net to be reliable, affordable and communicable when there are any server problems.<br
/> <span
id="more-3955"></span><br
/> NFS.net is rather different to many other server setups: they run their servers on a custom BSD (UNIX based) operating system and they have a pre-paid account system where they <a
href="https://www.nearlyfreespeech.net/services/pricing">charge for usage</a> (storage, bandwidth, and MySQL processes). This might seem foreign to many of you, and you might balk at the thought of paying for usage when you can pay month for &#8220;unlimited&#8221; storage and bandwidth, but actually, for small&#8211;medium sites NFS.net is incredibly affordable (my first year on there probably only cost about $16, and my second year was about $43). I quite like their simple user interface as well. It is a lot less cluttered and complicated than most cpanels.</p><p>NFS.net might not be suitable for everyone though, since sometimes it can be a bit more hands-on. You need to access your files vis FTP or SSH, there&#8217;s no built in file editor (there is phpMyAdmin for your databases though). Also, their faster server type uses PHP safe mode, which not all WordPress plugins will play nicely with. PHP safe mode is being deprecated and I have word that NFS.net is working on solutions for fast and secure servers without it, but it did prompt me to look around at other hosts.</p><h3>What&#8217;s important to you?</h3><p>So, what&#8217;s important to you in a web host?</p><p>Obviously, when running WordPress, PHP and MySQL are crucial. One of the things that I find valuable is control and access of my files, including SSH access and the ability to change permissions on files. SSH access is also handy as one of the ways to access MySQL apart from phpMyAdmin, using <a
href="http://www.sequelpro.com/">Sequel Pro</a>.</p><p>I guess price, security and support and probably all gimmes too, but what else?</p><p>What about these words &#8220;unlimited&#8221;? Are they really unlimited? Are they over-selling? Are they talking themselves up? What if I decide to use my server as a backup for my whole computer, will it still be unlimited?</p><h3>How do you find web hosting?</h3><p><a
href="http://www.webhostingsearch.com/">Web Hosting Search</a> was recently brought to my attention. Web Hosting Search has quite a lot of resources, reviews and articles to help you find and compare web hosts.</p><p>Have you ever wondered what the <a
href="http://www.webhostingsearch.com/articles/windows-vs-linux-web-hosting.php">difference between Windows and Linux hosting</a> is, how that relates to cost and what it means for you as a website manager? Or what the many different <a
href="http://www.webhostingsearch.com/articles/different-web-hosting-types.php">types of hosting services</a> are? I was wondering the latter when I came across Chris Pearson&#8217;s <a
href="http://www.pearsonified.com/web_hosting">web host recommendations</a> (and actually, I&#8217;m still wondering how it&#8217;s possible to have VPS and cloud hosting at the same time&#8230;).</p><p>One of the best things about Web Hosting Search (I think) are the <a
href="http://www.pearsonified.com/web_hosting">reviews</a>. You can try to search Google for reviews on web hosts, or ask Twitter, but I&#8217;ve found that you get a bunch of one-off reviews and recommendations with no statistical significance at all and you&#8217;re no better equipped to make a decision than you were before. Web Hosting Search has quite a balanced range of reviews, and I think the reviews do a good job of identifying particular issues with hosts, which will help you decide if it&#8217;s right for you. Issues that come up include not really having &#8220;unlimited&#8221; bandwidth (may not be a problem for you if your site is small), whether they provide phone support, or efficient ticket support, or the amount of downtime.</p><p>When looking at the reviews on Web Hosting Search check out that &#8220;Show advanced features&#8221; button. It makes it so easy to see an overview of the service offerings!</p><p>I&#8217;m keen to see more reviews on there! If you have experience with web hosts then submit your reviews and get the word out&#8212;good or bad.</p><p><strong>So, how do you choose web hosting?</strong> What&#8217;s important to you and what information do you need to make a decision? Who&#8217;s your host, do you like them, and have you left a review of them anywhere?</p> ]]></content:encoded> <wfw:commentRss>http://www.kristarella.com/2010/07/how-do-you-choose-web-hosting/feed/</wfw:commentRss> <slash:comments>19</slash:comments> </item> <item><title>Scrabble for the iPhone bites!</title><link>http://www.kristarella.com/2010/05/scrabble-iphone-bites/</link> <comments>http://www.kristarella.com/2010/05/scrabble-iphone-bites/#comments</comments> <pubDate>Thu, 27 May 2010 04:38:07 +0000</pubDate> <dc:creator>kristarella</dc:creator> <category><![CDATA[Tech]]></category> <category><![CDATA[Games]]></category> <category><![CDATA[iPhone]]></category><guid
isPermaLink="false">http://www.kristarella.com/?p=3917</guid> <description><![CDATA[I bought Scrabble for the iPhone (warning: iTunes link &#8212; actually I didn&#8217;t get that exact one, I got the one in the Australian iTunes store, which includes English, French, German, Italian and Spanish) on sale last week. I was pretty impressed with the interface, the ease of play and the general enjoyment of the [...]]]></description> <content:encoded><![CDATA[<p></p><p>I bought <a
href="http://itunes.apple.com/us/app/scrabble/id284815117?mt=8">Scrabble for the iPhone</a> (<small>warning: iTunes link</small> &#8212; actually I didn&#8217;t get that exact one, I got the one in the Australian iTunes store, which includes English, French, German, Italian and Spanish) on sale last week. I was pretty impressed with the interface, the ease of play and the general enjoyment of the game, until I got to the hard level&#8230;</p><p>There are three playing levels: easy, normal and hard. Normal is pretty easy to win &#8212; easy enough that I win every time &#8212; but hard has so far been impossible to win. The computer almost doubles my score every time, and it&#8217;s not just because my vocabulary isn&#8217;t extensive enough, the bloody thing makes up words!<br
/> <span
id="more-3917"></span><br
/> Check out these screenshots: I checked every one of these highlighted words in the <a
href="http://www.hasbro.com/scrabble/en_US/search.cfm">Scrabble Dictionary</a> and also the <a
href="http://www.askoxford.com">Oxford Dictionary</a>.</p><a
href='http://www.kristarella.com/2010/05/scrabble-iphone-bites/scrabble-hard1/' title='Scrabble hard level'><img
width="133" height="200" src="http://www.kristarella.com/wp-content/uploads/Scrabble-hard1-133x200.png" class="attachment-thumbnail" alt="Yep, he got +50 for using all his letters on &quot;taeniate&quot;" title="Scrabble hard level" /></a> <a
href='http://www.kristarella.com/2010/05/scrabble-iphone-bites/scrabble-hard2/' title='Scrabble hard level'><img
width="133" height="200" src="http://www.kristarella.com/wp-content/uploads/Scrabble-hard2-133x200.png" class="attachment-thumbnail" alt="&quot;Superloo&quot; was the first word he played and got an extra +50! I can&#039;t believe &quot;aitches&quot; is in the dictionary." title="Scrabble hard level" /></a> <a
href='http://www.kristarella.com/2010/05/scrabble-iphone-bites/scrabble-hard3/' title='Scrabble hard level'><img
width="133" height="200" src="http://www.kristarella.com/wp-content/uploads/Scrabble-hard3-133x200.png" class="attachment-thumbnail" alt="The T and E were played onto &quot;hors&quot; later to make real words" title="Scrabble hard level" /></a> <a
href='http://www.kristarella.com/2010/05/scrabble-iphone-bites/scrabble-hard4/' title='Scrabble hard level'><img
width="133" height="200" src="http://www.kristarella.com/wp-content/uploads/Scrabble-hard4-133x200.png" class="attachment-thumbnail" alt="At this point I&#039;m thinking it must be allowing multiple languages by default!" title="Scrabble hard level" /></a> <a
href='http://www.kristarella.com/2010/05/scrabble-iphone-bites/scrabble-hard5/' title='Scrabble hard level'><img
width="133" height="200" src="http://www.kristarella.com/wp-content/uploads/Scrabble-hard5-133x200.png" class="attachment-thumbnail" alt="&quot;Owt&quot; was in the Oxford, but not Scrabble, dictionary, and I know &quot;fini&quot; is French" title="Scrabble hard level" /></a> <a
href='http://www.kristarella.com/2010/05/scrabble-iphone-bites/scrabble-hard6/' title='Scrabble hard level'><img
width="133" height="200" src="http://www.kristarella.com/wp-content/uploads/Scrabble-hard6-133x200.png" class="attachment-thumbnail" alt="&quot;Gundy&quot; hit the triple word tile" title="Scrabble hard level" /></a><p>I found the language options in the app and selected English. That part of the interface is pretty poor: there is no indication of which language is already selected, except that the menus are also in that language and since my game menus were in English I thought the computer player would be playing by the rules <em>in English</em>. Perhaps that was too much to assume?</p><p>Anyway, since double checking the language I&#8217;ve played one game on the hard level. It seemed like there were fewer illegal words, but there were still at least a couple.</p><p>It sucks the fun out of a game when you know you can&#8217;t win because the other playing is cheating! Also, this game really needs an in-game dictionary and possibly a &#8220;challenge&#8221; feature, because evidently the computer player can&#8217;t be trusted.</p> ]]></content:encoded> <wfw:commentRss>http://www.kristarella.com/2010/05/scrabble-iphone-bites/feed/</wfw:commentRss> <slash:comments>11</slash:comments> </item> <item><title>Thesography plugin for WordPress</title><link>http://www.kristarella.com/2009/08/thesography-plugin-for-wordpress/</link> <comments>http://www.kristarella.com/2009/08/thesography-plugin-for-wordpress/#comments</comments> <pubDate>Sun, 09 Aug 2009 13:44:43 +0000</pubDate> <dc:creator>kristarella</dc:creator> <category><![CDATA[Tech]]></category> <category><![CDATA[Geek]]></category> <category><![CDATA[Photography]]></category> <category><![CDATA[Thesis]]></category> <category><![CDATA[WordPress]]></category><guid
isPermaLink="false">http://www.kristarella.com/?p=3618</guid> <description><![CDATA[Presenting the Thesography plugin for WordPress! Thesography allows you to display EXIF data for your photos uploaded with WordPress, and also enables the import of latitude and longitude information from your photos to the database when they&#8217;re uploaded. You can display the EXIF information via a shortcode within your post or by a handy function [...]]]></description> <content:encoded><![CDATA[<p></p><p>Presenting the <a
href="http://www.kristarella.com/thesography/">Thesography</a> plugin for WordPress!</p><p>Thesography allows you to display <acronym
title="Exchangeable image file format">EXIF</acronym> data for your photos uploaded with WordPress, and also enables the import of latitude and longitude information from your photos to the database when they&#8217;re uploaded.</p><p><a
href="http://www.kristarella.com/wp-content/uploads/Thesography_EXIF_display.png"><img
src="http://www.kristarella.com/wp-content/uploads/Thesography_EXIF_display-499x453.png" alt="Thesography EXIF display" title="Thesography EXIF display" width="499" height="453" class="frame aligncenter size-large wp-image-3619" /></a></p><p>You can display the <acronym
title="Exchangeable image file format">EXIF</acronym> information via a shortcode within your post or by a handy function in your theme template files. <acronym
title="Exchangeable image file format">EXIF</acronym> can also be displayed automatically in the <a
href="http://www.shareasale.com/r.cfm?B=198392&#038;U=403481&#038;M=24570">Thesis theme</a>.</p><p>Thesography comes with individual post options as well as options for customising the HTML output of your <acronym
title="Exchangeable image file format">EXIF</acronym> data. And, with your feedback and requests there will be more to come!</p><p>For more information and to download the plugin, please visit the <a
href="http://www.kristarella.com/thesography/">Thesograpy plugin page</a>.</p> ]]></content:encoded> <wfw:commentRss>http://www.kristarella.com/2009/08/thesography-plugin-for-wordpress/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Add image EXIF metadata to WordPress</title><link>http://www.kristarella.com/2009/04/add-image-exif-metadata-to-wordpress/</link> <comments>http://www.kristarella.com/2009/04/add-image-exif-metadata-to-wordpress/#comments</comments> <pubDate>Thu, 02 Apr 2009 13:20:11 +0000</pubDate> <dc:creator>kristarella</dc:creator> <category><![CDATA[Tech]]></category> <category><![CDATA[Geek]]></category> <category><![CDATA[Tutorials]]></category> <category><![CDATA[WordPress]]></category><guid
isPermaLink="false">http://www.kristarella.com/?p=3506</guid> <description><![CDATA[In December I wrote about adding EXIF fields for geo locations to the image features already in WordPress. The first part of that post involved making changes to the WordPress file controlling image handling. They were simple changes, but annoying to have to change with every WP upgrade. After several months I have finally figured [...]]]></description> <content:encoded><![CDATA[<p></p><p>In December I wrote about <a
href="http://www.kristarella.com/2008/12/geo-exif-data-in-wordpress/">adding <acronym
title="EXchangeable Image File format">EXIF</acronym> fields for geo locations</a> to the image features already in WordPress. The first part of that post involved making changes to the WordPress file controlling image handling. They were simple changes, but annoying to have to change with every WP upgrade.</p><p>After several months I have finally figured out &#8212; with excellent help from <a
href="http://www.bbarden.com/">Ben Barden</a> &#8212; how to filter the read_metadata function and add <acronym>EXIF</acronym> fields to the WordPress database without having to edit core WordPress files.<br
/> <span
id="more-3506"></span><br
/> The following function can be added to the <tt>functions.php</tt> file of your theme (or <tt>custom_functions.php</tt> if you use <a
href="http://www.shareasale.com/r.cfm?B=198392&#038;U=403481&#038;M=24570">Thesis</a>).</p><pre>function add_geo_exif($meta,$file,$sourceImageType) {
		$exif = @exif_read_data( $file );
			if (!empty($exif['GPSLatitude']))
				$meta['latitude'] = $exif['GPSLatitude'] ;
			if (!empty($exif['GPSLatitudeRef']))
				$meta['latitude_ref'] = trim( $exif['GPSLatitudeRef'] );
			if (!empty($exif['GPSLongitude']))
				$meta['longitude'] = $exif['GPSLongitude'] ;
			if (!empty($exif['GPSLongitudeRef']))
				$meta['longitude_ref'] = trim( $exif['GPSLongitudeRef'] );

	return $meta;
}
add_filter('wp_read_image_metadata', 'add_geo_exif','',3);</pre><p>The main features of the filter to note are:</p><ul><li>My function, <code>add_geo_exif</code> has 3 parameters that I don&#8217;t define, <code>$meta</code>, <code>$file</code> and <code>$sourceImageType</code>.<br
/>I probably don&#8217;t need the last one because I don&#8217;t refer to it in the function, but it does no harm to leave it there. The first one is an array in the WordPress function <code>wp_read_image_metadata</code>, which this function adds values to. And <code>$file</code> is the file that is being uploaded by WordPress, defined elsewhere in the WP core files.</li><li>The <code>3</code> at the end of <code>add_filter</code> means that this filter allows three parameters to be passed.<br
/>That&#8217;s part of what took me so long to get this working, I hadn&#8217;t given that argument and the default is 1, so my function wasn&#8217;t getting <code>$file</code>.</li><li>The <code>if(!empty</code> lines tell the function to only filter the <acronym>EXIF</acronym> data in if it exists in the image, so you shouldn&#8217;t get alot of extraneous stuff in the database.</li></ul><p>After running this filter you can access the information as outlined in the geo <acronym>EXIF</acronym> post, in the section <a
href="http://www.kristarella.com/2008/12/geo-exif-data-in-wordpress/#use-exif-in-theme">calling metadata from the database</a>.</p> ]]></content:encoded> <wfw:commentRss>http://www.kristarella.com/2009/04/add-image-exif-metadata-to-wordpress/feed/</wfw:commentRss> <slash:comments>10</slash:comments> </item> <item><title>My favourite iPod Touch apps</title><link>http://www.kristarella.com/2009/02/my-favourite-ipod-touch-apps/</link> <comments>http://www.kristarella.com/2009/02/my-favourite-ipod-touch-apps/#comments</comments> <pubDate>Fri, 27 Feb 2009 08:20:23 +0000</pubDate> <dc:creator>kristarella</dc:creator> <category><![CDATA[Tech]]></category> <category><![CDATA[Geek]]></category> <category><![CDATA[iPod]]></category> <category><![CDATA[Software (free)]]></category><guid
isPermaLink="false">http://www.kristarella.com/?p=3390</guid> <description><![CDATA[I don&#8217;t know if everyone does this total nerd out when they get an iPod Touch or an iPhone, but I did. I went looking for the best free apps I could get before I paid for any. Here&#8217;re my favourites for whoever is looking next. These are all the apps and bookmarks I have [...]]]></description> <content:encoded><![CDATA[<p></p><p>I don&#8217;t know if everyone does this total nerd out when they get an iPod Touch or an iPhone, but I did. I went looking for the best free apps I could get before I paid for any. Here&#8217;re my favourites for whoever is looking next.</p><p><a
href="http://www.kristarella.com/wp-content/uploads/img_0007.png" rel="attachment wp-att-3393"><img
src="http://www.kristarella.com/wp-content/uploads/img_0007-200x300.png" alt="iPod home" title="iPod home" width="200" height="300" class="alignleft size-medium wp-image-3393" /></a><a
href="http://www.kristarella.com/wp-content/uploads/img_0008.png" rel="attachment wp-att-3391"><img
src="http://www.kristarella.com/wp-content/uploads/img_0008-200x300.png" alt="iPod games" title="iPod games" width="200" height="300" class="alignleft size-medium wp-image-3391" /></a><a
href="http://www.kristarella.com/wp-content/uploads/img_0009.png" rel="attachment wp-att-3392"><img
src="http://www.kristarella.com/wp-content/uploads/img_0009-200x300.png" alt="iPod apps" title="iPod apps" width="200" height="300" class="alignleft size-medium wp-image-3392" /></a><br
/> <span
id="more-3390"></span><br
/> These are all the apps and bookmarks I have on my phone at the moment. I haven&#8217;t used them all yet, but some of them are really cool. The only one I&#8217;ve paid for is <a
href="http://www.subatomicstudios.com/">Fieldrunners</a>, the rest are free.</p><p>Yep, I even made a bookmark of my site on the third page there, just to see how the icon works. I&#8217;d say it works well.</p><p>My favourites are:</p><ol><li>Sudoku &#8212; 10 puzzles for each of the four difficulty levels and the levels are good difficulties, the interface is very nice and it as a very nifty note feature.</li><li>Fieldrunners &#8212; this game is totally addictive and the graphics are way cool.</li><li>Calendar &#8212; okay, so this one comes with the phone, but with <a
href="http://www.google.com/mobile/default/sync.html">Google Sync Beta</a> it is excellent.</li><li>Files Lite</li><p> &#8212; more than half the reason I bought a Touch is to read eBooks. Files Lite makes that possible by allowing you to copy lots of document files types onto the iPod and read them, it remembers the page you&#8217;re on too!</li><li>Backgammon &#8212; this works really well and is so nicely made, I just wish the computer brain had better tactics; even the hardest level (which was only introduced with the most recent version) is a push over.</li><li>Facebook &#8212; using this app is so much nicer than using the web interface. I use it pretty mch exclusively to check Facebook now.</li><li>Twitterfon &#8212; apparently Tweetie is the best Twitter app for the iPhone, but I&#8217;m still on my computer most of the time, so Twitterfon seems like a good free choice.</li><li>Shop Shop &#8212; I used it yesterday for my shopping list and then I looked up the recipe in Safari while cooking. Totally good.</li><li>WordPress &#8212; the WordPress iPhone app works really well and even has some offline writing, if like me you&#8217;ve got the iPod, so not always connected.</li><li>Drinks Free &#8212; very cute for a quick cocktail guide.</li></ol><p>The rest of the games are pretty great. My least favourites are Action Bowling Free &#8212; <del>it&#8217;s really just a preview of how well the game works, you need to buy it to get much action</del><ins>I discovered last night that you can play a whole single player game, so it&#8217;s okay</ins> &#8212; and iHearts, which works, but is not too stimulating.</p><div
id="attachment_3402" class="wp-caption aligncenter" style="width: 480px"> <a
href="http://www.kristarella.com/wp-content/uploads/img_0005.png" rel="attachment wp-att-3402"><img
src="http://www.kristarella.com/wp-content/uploads/img_0005.png" alt="My winning Fieldrunners strategy" title="iPod Fieldrunners" width="480" height="320" class="size-full wp-image-3402" /></a><p
class="wp-caption-text">My winning Fieldrunners strategy</p></div><p><strong>What are your favourite apps?</strong></p> ]]></content:encoded> <wfw:commentRss>http://www.kristarella.com/2009/02/my-favourite-ipod-touch-apps/feed/</wfw:commentRss> <slash:comments>9</slash:comments> </item> <item><title>Thumbs up for easy installs</title><link>http://www.kristarella.com/2008/12/thumbs-up-for-easy-installs/</link> <comments>http://www.kristarella.com/2008/12/thumbs-up-for-easy-installs/#comments</comments> <pubDate>Tue, 09 Dec 2008 22:35:25 +0000</pubDate> <dc:creator>kristarella</dc:creator> <category><![CDATA[Mac OS X]]></category> <category><![CDATA[Software (free)]]></category><guid
isPermaLink="false">http://www.kristarella.com/?p=3049</guid> <description><![CDATA[After almost two years of heavy daily use, my poor little MacBook was getting a bit worn out and doing some crazy things. So about a month ago I reinstalled OS X. I backed up all my files and just wiped the whole computer. My experience doing that with Windows and Linux computers has always [...]]]></description> <content:encoded><![CDATA[<p></p><p>After almost two years of heavy daily use, my poor little MacBook was getting a bit worn out and doing some crazy things. So about a month ago I reinstalled OS X. I backed up all my files and just wiped the whole computer.<br
/> <span
id="more-3049"></span><br
/> My experience doing that with Windows and Linux computers has always been pleasant. It&#8217;s refreshing to start anew. It was not so with my Mac. I think it&#8217;s because using my MacBook was normally such a pleasant experience and I&#8217;d had things set up the way I liked them for so long that I didn&#8217;t even know some things weren&#8217;t just there. I couldn&#8217;t remember everything I&#8217;d installed, such as Gutenprint and Xcode developer tools, so I couldn&#8217;t understand what went wrong when certain things didn&#8217;t work.</p><p>Anyway, all that is a bit of a tangent to what I really wanted to say, which is &#8220;Yay, for easy application installing!&#8221; or perhaps &#8220;Kudos to you intelligent developers!&#8221;</p><p>These screenshots are all for free software and all you have to do is drag one icon to the other.</p><p><div
id="attachment_3052" class="wp-caption alignnone" style="width: 430px"> <img
src="http://www.kristarella.com/wp-content/uploads/installskitch.png" alt="Skitch" title="install skitch" width="430" height="413" class="size-full wp-image-3052" /><p
class="wp-caption-text">Skitch</p></div><br
/><div
id="attachment_3051" class="wp-caption alignnone" style="width: 500px"> <img
src="http://www.kristarella.com/wp-content/uploads/installinkscape-500x254.png" alt="Inkscape" title="install inkscape" width="500" height="254" class="size-large wp-image-3051" /><p
class="wp-caption-text">Inkscape</p></div><br
/><div
id="attachment_3050" class="wp-caption alignnone" style="width: 500px"> <img
src="http://www.kristarella.com/wp-content/uploads/installdarwine-500x197.png" alt="Darwine" title="install darwine" width="500" height="197" class="size-large wp-image-3050" /><p
class="wp-caption-text">Darwine</p></div></p><p>It must be a reasonably simple thing to do since so many applications do it, but occasionally there&#8217;s a program that makes a fancy background for their install window and makes it difficult for you to put the program anywhere. If it were just the normal Finder window, at least it would have the shorcuts on the side, but no&#8212; it&#8217;s fancy, but not fancy enough!</p><div
id="attachment_3053" class="wp-caption alignnone" style="width: 418px"> <img
src="http://www.kristarella.com/wp-content/uploads/installbibdesk.png" alt="Bibdesk" title="install bibdesk" width="418" height="266" class="size-full wp-image-3053" /><p
class="wp-caption-text">Bibdesk</p></div><p>Not to pick on BibDesk. It&#8217;s a top program, just the most recent, <del>non</del><ins>less</ins>-friendly installer I&#8217;ve used (why do they assume the hard drive is where you want to put it?).</p> ]]></content:encoded> <wfw:commentRss>http://www.kristarella.com/2008/12/thumbs-up-for-easy-installs/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Telstra FAIL (what&#8217;s new?)</title><link>http://www.kristarella.com/2008/11/telstra-fail-whats-new/</link> <comments>http://www.kristarella.com/2008/11/telstra-fail-whats-new/#comments</comments> <pubDate>Tue, 11 Nov 2008 09:57:49 +0000</pubDate> <dc:creator>kristarella</dc:creator> <category><![CDATA[Tech]]></category> <category><![CDATA[News]]></category> <category><![CDATA[Random]]></category><guid
isPermaLink="false">http://www.kristarella.com/?p=2923</guid> <description><![CDATA[It was my brother&#8217;s birthday today (Happy Birthday Justin!). Naturally, he wanted to buy an iPhone. Although my Dad probably feels like my li&#8217;l bro is frivolous in his technological purchases, he does take time to research them. He went into the Telstra shop on two different occasions to ask the price of an iPhone [...]]]></description> <content:encoded><![CDATA[<p></p><p>It was my brother&#8217;s birthday today (Happy Birthday Justin!). Naturally, he wanted to buy an iPhone.</p><p>Although my Dad probably feels like my li&#8217;l bro is frivolous in his technological purchases, he does take time to research them. He went into the Telstra shop on two different occasions to ask the price of an iPhone outright. He also called Telstra to make sure his <abbr
title="Groupe Sp&eacute;cial Mobile or Global System for Mobile communications">GSM</abbr> <abbr
title="Subscriber Identity Module">SIM</abbr> card would work in the iPhone 3G until he wanted to upgrade to a NextG SIM.</p><p>So, he gathered his money together and went to the Telstra shop, where they fetched an iPhone and faffed around for a while. They told us that it was taking a while because they couldn&#8217;t find the form that is required to sell an iPhone outright; apparently Telstra changed the website and the link to the form didn&#8217;t work anymore (reassuring for a telecommunications company don&#8217;t you think?).<br
/> <span
id="more-2923"></span><br
/> We went to a movie (Burn After Reading, not nearly as funny as the trailer, don&#8217;t even bother) and came back about two and a half hours later. They still hadn&#8217;t found the form (surely it would only take one phone call and an email?!), so instead we asked for the price to be written down, which we would then take to JB Hifi for a price match. The price was $762.30. Not the $726 that Justin had been told on two separate occasions, which apparently is the staff price.</p><p>So, we went to JB Hifi, told the mobile phone girlie the story of Telstra&#8217;s incompetence and she happened to be on the phone to a manager who said Justin could have the phone for $726! They didn&#8217;t have to wait for a form, or spend time being snarky about Justin&#8217;s requests. They were friendly and just did it.</p><p>It&#8217;s not new news, but further evidence that JB Hifi is cool and Telstra bites.</p><p><small>So far the GSM SIM card isn&#8217;t working&hellip; not sure whose fault that is yet.</small></p> ]]></content:encoded> <wfw:commentRss>http://www.kristarella.com/2008/11/telstra-fail-whats-new/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>Writing a thesis in LaTeX</title><link>http://www.kristarella.com/2008/11/writing-a-thesis-in-latex/</link> <comments>http://www.kristarella.com/2008/11/writing-a-thesis-in-latex/#comments</comments> <pubDate>Wed, 05 Nov 2008 12:29:53 +0000</pubDate> <dc:creator>kristarella</dc:creator> <category><![CDATA[Tech]]></category> <category><![CDATA[Geek]]></category> <category><![CDATA[Software (free)]]></category> <category><![CDATA[Uni]]></category><guid
isPermaLink="false">http://www.kristarella.com/?p=1504</guid> <description><![CDATA[LaTeX is a document markup system, which helps you to focus on what you&#8217;re writing and reduces some of the hassle of tedious tasks like adding references and numbering sections, figures and tables. It also natively handles footnotes, table of contents, lists of figures, lists of tables, headers, footers, margin notes and probably a hundred [...]]]></description> <content:encoded><![CDATA[<p></p><p><a
href="http://en.wikipedia.org/wiki/LaTeX">LaTeX</a> is a document markup system, which helps you to focus on what you&#8217;re writing and reduces some of the hassle of tedious tasks like adding references and numbering sections, figures and tables. It also natively handles footnotes, table of contents, lists of figures, lists of tables, headers, footers, margin notes and probably a hundred other things. It lays documents out intelligently, for readability, and you can apply any number of styles to suit your document, be it book, journal article, letter or thesis.<br
/> <span
id="more-1504"></span><br
/> I used <a
href="http://sourceforge.net/projects/texshop/">TeXShop</a> to edit the .tex files and typeset (render) the document. I also used <a
href="http://bibdesk.sourceforge.net/">BibDesk</a> to manage my references (just as easy, if not easier, to use as Endnote). Both of these programs are for Mac OS X; for Windows you might be able to try <a
href="http://www.latexeditor.org/">LaTeX Editor</a>, or <a
href="http://www.toolscenter.org/">TeXnicCenter</a> looks very nice. I&#8217;m not sure what you would want to use on Windows for managing references though.</p><h3>Dave&#8217;s thesis in a box</h3><p>For my thesis I needed something a little more complicated than the standard document template. So I started with <a
href="http://www.cs.usyd.edu.au/~dasymond/dtiab/">Dave&#8217;s thesis in a box</a>. It&#8217;s basically a collection of files that get compiled together to create your document. It has a separate file for each chapter, which makes writing simpler and reduces the load on your computer (imagine trying to save 70 pages of writing in Word!).</p><p>There are other thesis templates floating around if you don&#8217;t think this one suits you.</p><h3>Useful things LaTeX can do</h3><h4>Defining new terms</h4><p>If you have to type something a lot, you could use <a
href="http://www.smileonmymac.com/TextExpander/">TextExpander</a> (which I did for a while), or you could just define some shorthand. Somewhere near the start of your document you put <code>\def\Mf{Methanogenium frigidum}</code> and then whenever you type <code>\Mf</code> in your document, it will output &#8220;Methanogenium frigidum&#8221; instead.</p><h4>Math mode &amp; equations</h4><p>LaTeX has a math mode that you can begin using a dollar sign ($) and also an equation environment using <code>\begin{equation}</code>. It is very useful for typing Greek letters (you need quite a few in biology), writing simple equations, or writing large complex equations. It typesets them very nicely.</p><h4>Hyphen in math mode</h4><p>Conveniently, hyphens are automatically changed to minus signs when you&#8217;re in math mode. Less convenient when you actually want a hyphen. You can do it with <code>\mbox{-}</code>.</p><h4>Long tables</h4><p>You can make a table span multiple pages by using the longtable package and using <code>\begin{longtable}</code> instead of <code>\begin{table}</code>. I used that for my list of abbreviations, which I formatted as a table because I thought it was a bit nicer.</p><h4>Rotating tables and figures</h4><p>Apart from placing figures pretty much any way you like, you can use the rotating package to create <a
href="http://www.manicai.net/comp/latex/latex_tricks.html">sideways figures and tables</a>. Very good for wide figures and tables that you don&#8217;t want to shrink to unreadable proportions.</p><h3>Stuff I couldn&#8217;t do and had to work around</h3><h4>Table descriptions</h4><p>It seems like the standard format for tables in biology has the table number and title above the table, whereas figures have the number, title and legend beneath. I wanted to add a small legend/description underneath the table, but there was no standard way to do it. The normal title and legend would be inserted with <code>\caption{Title. Description goes here.}</code>, but if you put another one of those in it creates another table number.</p><p>I ended up hacking a solution by adding<br
/> <code>\linebreak[4]<br
/> \linebreak[4]<br
/> {\footnotesize Sequence alignment scores calculated by Clustal 2.0.1.0.}</code><br
/> underneath the tabular environment.</p><h3>Bottom line</h3><p>The long and the short of it is that LaTeX is huge in its versatility and well worth learning. However, it does take a bit of learning and I recommend trying it out on smaller projects before venturing into a huge one. However, if you are venturing into a thesis, even if you haven&#8217;t tried LaTeX on something smaller it could well be worth learning. It may save you much time in referencing, cross-referencing and document layout. If worst comes to worst you could just copy your text into Word, OpenOffice or Pages and reformat it, which I&#8217;m sure you&#8217;d be doing several times working in those editors anyway. So give it a go!</p><p>If you need to find a specific function for LaTeX I suggest using Google and searching for &#8220;latex&#8221; plus a description of what you want to do. I usually found the answer quite quickly.</p> ]]></content:encoded> <wfw:commentRss>http://www.kristarella.com/2008/11/writing-a-thesis-in-latex/feed/</wfw:commentRss> <slash:comments>5</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
Object Caching 1108/1249 objects using disk: basic

Served from: www.kristarella.com @ 2012-02-10 15:03:35 -->
