<?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>Colm Bennett</title>
	<atom:link href="http://colmb.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://colmb.com</link>
	<description>Colm Bennnett&#039;s Android App Blog</description>
	<lastBuildDate>Mon, 14 May 2012 21:40:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to recover a file saved under temporary internet files in Windows 7</title>
		<link>http://colmb.com/2012/05/how-to-recover-a-file-saved-under-temporary-internet-files-in-windows-7/</link>
		<comments>http://colmb.com/2012/05/how-to-recover-a-file-saved-under-temporary-internet-files-in-windows-7/#comments</comments>
		<pubDate>Mon, 14 May 2012 21:40:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[attachement]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[ie9]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[lost]]></category>
		<category><![CDATA[missing]]></category>
		<category><![CDATA[temporary internet]]></category>
		<category><![CDATA[windows 7]]></category>
		<category><![CDATA[word]]></category>

		<guid isPermaLink="false">http://colmb.com/?p=52</guid>
		<description><![CDATA[<p>This is an interesting one. Send yourself a file (lets say a text file) in your favourite webmail (lets says gmail). Download the file using Internet Explorer (I checked this with ie9 under windows 7). Don&#8217;t save the file, instead click Open when prompted by ie. The file will open in notepad (or whatever the associated <span style="color:#777"> . . . &#8594; Read More: <a href="http://colmb.com/2012/05/how-to-recover-a-file-saved-under-temporary-internet-files-in-windows-7/">How to recover a file saved under temporary internet files in Windows 7</a></span>]]></description>
			<content:encoded><![CDATA[<p>This is an interesting one. Send yourself a file (lets say a text file) in your favourite webmail (lets says gmail). Download the file using Internet Explorer (I checked this with ie9 under windows 7). Don&#8217;t save the file, instead click Open when prompted by ie. The file will open in notepad (or whatever the associated file is). Make some changes and do File-> Save and then Exit.</p>
<p>Where is your file? For all intents and purposes, it is gone! Historically, the file was in a temp directory somewhere (and with other browsers it still is). But with IE9/Win 7 it actually isn&#8217;t in the file system as such as more and retrieving it took way more thought and trial and error than you might imagine. To save you all that, here is how to do it <img src='http://colmb.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Temporary internet files are actually stored in a kind of database that Windows Explorer is able to read. You can view these files by going to IE, click on the gear icon in the top right, go to Internet Options. On the General tab, in the Browsing History section, click Settings. On the next dialog box click View Files. This opens up a Windows Explorer window in the right temporary folder (note is also possible to browse directly to this folder as well). Problem number one is evident here &#8211; the downloaded file is not saved by it name! This is a change from previous behavior (and definitely different from Firefox etc.). This means that even if you do a computer full search for the file it wouldn&#8217;t be found in the temp folder &#8211; very confusing! Instead the file is named by the bit of the url after the domain name of the place you downloaded it from &#8211; so for example for a download gmail attachment you might see something like this&#8230;</p>
<p>ui=2&#038;ik=8824862567453&#038;view=att&#038;th=13werf5f73dwerv0ba&#038;attid=0.1&#038;disp=safe&#038;realattid=f_werewyrkdd0&#038;zw&#038;saduie=AG9B_P-J242348q1z2342C784732IbNUI&#038;sadet=1323432283423482&#038;sads=Jo2PqlsA3erwerKHFVb4jMdhYsdfjkEzc&#038;sadssc=1</p>
<p>and the internet address will be the full url to the downloaded file (e.g. the above with https://mail-attachment.googleusercontent.com/attachment/u/0/? added to it for a gmail attachment). </p>
<p>The key to finding the right file is to look at the File Type column and the File Accessed column &#8211; so look for a file of the right type (excel word etc) that was downloaded at the right approx time. Note that even though you have saved the file since you downloaded it, the Date Modified will not be updated. </p>
<p>Now we face problem number two &#8211; if you double click (or right click Open) the file, it will just try to re-download the file! Assuming you&#8217;ve spent some time editing the attachment, this isn&#8217;t what you want <img src='http://colmb.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  So this is the magic bit. Copy the file (right click on the file name and Copy). Then paste it into a normal windows folder (like your Documents folder). Hey presto, the file is copied to the folder with its correct name and it will have all the content you added since you downloaded it. Yay <img src='http://colmb.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>One final point &#8211; how to avoid this in the first place? Always either Save downloaded files in IE or else always do a Save As in the program you Open a downloaded file in and make sure you save it into a normal working folder.</p>
<p>Hope that helps <img src='http://colmb.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Colm</p>
]]></content:encoded>
			<wfw:commentRss>http://colmb.com/2012/05/how-to-recover-a-file-saved-under-temporary-internet-files-in-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changes to Wordpress plug-in Custom Fields Search</title>
		<link>http://colmb.com/2010/06/changes-to-wordpress-plug-in-custom-fields-search/</link>
		<comments>http://colmb.com/2010/06/changes-to-wordpress-plug-in-custom-fields-search/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 11:55:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[checkbox]]></category>
		<category><![CDATA[conditional logic]]></category>
		<category><![CDATA[custom fields search]]></category>
		<category><![CDATA[dss]]></category>
		<category><![CDATA[faceted search]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://colmb.com/?p=37</guid>
		<description><![CDATA[<p>This post is about changes I have made to the Wordpress plug-in Custom Fields Search by Don Benjamin. Big thanks to Don for writing should a well structured framework for the plug-in &#8211; I don&#8217;t think I would have even started these changes if his code wasn&#8217;t so well laid out in the first place.</p>
<p>Let me <span style="color:#777"> . . . &#8594; Read More: <a href="http://colmb.com/2010/06/changes-to-wordpress-plug-in-custom-fields-search/">Changes to Wordpress plug-in Custom Fields Search</a></span>]]></description>
			<content:encoded><![CDATA[<p>This post is about changes I have made to the Wordpress plug-in <a href="http://wordpress.org/extend/plugins/wp-custom-fields-search">Custom Fields Search</a> by <a href="http://www.don-benjamin.co.uk/">Don Benjamin</a>. Big thanks to Don for writing should a well structured framework for the plug-in &#8211; I don&#8217;t think I would have even started these changes if his code wasn&#8217;t so well laid out in the first place.</p>
<p>Let me say up front that these changes were done to scratch my particular itch. In particular I am only using the plug-in for a single search (no presets) and only on a static page (using the tag code). So I haven&#8217;t tested outside of those parameters. I have passed these changes onto Don and if he approves of them I assume he will issue a new official release. I am offering them here now for people who need the functionality now and are willing to test it and understand it may break and may not work at all in your particular situation. </p>
<p>I will fix any bugs in the basic functionality outlined below (please comment with any bug reports) but I am not interested in adding anything more new, so no requests please <img src='http://colmb.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  The one exception to that is linked fields which I am going to spend a couple of days looking at and will post a new blog entry on here if I get it working. I will also post an entry on some code I did to group the search results into collapsible groups, something that is outside the scope of this plug-in.</p>
<p>The main changes can be viewed by clicking on the Test Search tab above &#8211; change the Area to Dublin to see a new (checkboxed!) question appear based on a rule. The admin for this question looks like this:<br />
<a href="http://colmb.com/wp-content/uploads/2010/06/Picture-1.png"><img src="http://colmb.com/wp-content/uploads/2010/06/Picture-1.png" alt="" title="Admin for the Postcode question" width="806" height="243" class="alignnone size-full wp-image-44" /></a></p>
<p>The changes are incorporated in a full zip file at <a href="https://docs.google.com/leaf?id=0B8zLeJTa7rpVMmEzNTZhYzMtZTBmMS00NWQ1LWJkNTYtOTM5NDhiY2QxZDM2&#038;hl=en">https://docs.google.com/leaf?id=0B8zLeJTa7rpVMmEzNTZhYzMtZTBmMS00NWQ1LWJkNTYtOTM5NDhiY2QxZDM2&#038;hl=en</a></p>
<p>And so on to the changes&#8230;</p>
<p><strong>Added Checkbox input type</strong></p>
<p>The plug-in only has single value input types available (dropdown box, radiobutton and text). I have added in a Checkbox type. The setup for the options is the same as dropdown/radiobutton. Note that the system OR’s the options – if you create a question with a choice of Blue, Green and Red and the user ticks Blue and Red the search will find all posts that have either Blue or Green for that question.  I have only tested this for custom fields but it should work with other data types (e.g. Category). The checkbox widget works correctly with the conditional logic Rules &#8211; rules that reference a checkbox field are checked again each selected value.</p>
<p><strong>Added ability for posts to be marked as relevant to all possible queries for a particular field.</strong></p>
<p>The current plug-in works such that if a value is supplied in a particular search field, a post must &#8220;compare&#8221; to that value, with various &#8220;comparison&#8221; operators available, such as Equals, Contains, Greater Than etc. Unfortunately it doesn&#8217;t have the concept of Equals-Or-Any, i.e. the ability to say a particular post can be marked as ALL for a particular question and that post will appear in a search result no matter what the search term is for that field. I have added this ability by adding a “Allow ALL Match” checkbox in the question setup. If this is ticked, the resulting SQL query is amended to add an &#8220;OR&#8221; condition for posts with the value &#8220;ALL&#8221; for that particular field. This will probably only be useful for custom fields, though it will be applied to other data types if ticked. The word “ALL” is put through the translator.</p>
<p>An example of how this might be useful is where you wish to include introductory text at the start of a particular section in the search results. So if it was a real estate type system you might want a brief blurb about the particular location the user has chosen. If you create this post with the Location question set as the particular location name and all other fields set as “ALL” then it would appear whenever the user chooses that location, regardless of the answers given by the user to the other questions.</p>
<p><strong>Added the ability to sort the search results</strong></p>
<p>The plug-in uses the standard wordpress sort order of &#8220;Post Date&#8221; for its search results.  I have added the ability to create a special type of question that isn’t shown but instead decides the search order of the search results. This is done by choosing one of the special Widgets “Order By Field Ascending” or “Order By Field Descending”.  In either case it will order by the Data Type/Data Field chosen for that question. If Numeric is ticked the order will be numeric (i.e. +0 will be added to the SQL order). So, for example, if you wanted to order by Category, simply create a new question with Widget “Order By Field Ascending” and Data Type of Category. The other values for the question are not used. Note that you can have multiple Order By questions, they are read in order from first to last. For example if you had a Category order question and then a Post Date order question, the search would be ordered by Category and within each Category by Post Date. </p>
<p><strong>Added a conditional rule</strong></p>
<p>I have added a rudimentary conditional login to the questions. The system allows for a single rule for each  question that will show or hide the question depending on the condition of other questions.  The full set of rules are checked  each time the user changes an answer and so questions will slide in or out of view as they answer. </p>
<p>To use the rule, check the “Apply Rule” Checkbox and fill in the rule details. For example if you wanted this question to only show if the answer to the question labelled “Marital Status” was “single” then you would chose “Show”, “Marital Status”, “Equals”, “Single” for the rule. For coding simplicity the rule value to be checked is entered as a freeform value rather than applying any restriction the applicable question may have – so even if the Marital Status question has a dropdown forcing the user to choose either Single or Married, the rule doesn’t offer this dropdown, it allows you to type anything in as the value to be checked. All rules are checked when the search form is first shown so any fields that do not meet the initial requirements will not be displayed at first.</p>
<p><strong>Added the ability to resort the question order</strong></p>
<p>My particular project will have a lot of questions that may be added to/deleted as the requirements are refined.  This is awkward to do currently as the Add Field function just adds new fields to the end of the questions.If you wanted to insert a question you effectively had to redo all the questions from there on. I have therefore added the ability to move the questions around – literally ☺ You can drag the questions up and then and re-position them. The resulting search form will show the questions in the new order. Note that to move a question into the top or bottom slot you may need to “hold” it nearer to the top/bottom (respectively) of the field. </p>
<p><strong>Added the ability to group questions together on the search form</strong></p>
<p>It can be a useful visual aid to show questions grouped together so I have added “fieldsets” to the search form. To use these, simply give the questions a Group Name. All contiguous questions having the same name will be grouped together in a fieldset with a Legend of the group name. The main fieldset is styled using the “field” class and the legend is styled using the “ledge” class. To omit this feature don’t use any group names. </p>
<p><strong>Allowed for checkboxed custom fields on post</strong></p>
<p>I am using Magic Fields custom fields on my project, mainly to restrict the set of values the poster can use for custom fields on a post. Magic Fields allows for multiple entries on a field (i.e. a checkbox field). Because of the way Magic Fields stores these checkbox values, you can only use the “Like” operator if you wish to search against a Magic Fields checkboxed custom field. Using this approach allows a post to appear in multiple different search results – for example a real estate system might allow a post to be marked as having two locations where the house straddles those areas. Note I have also modified the “Like” operator to correctly implement the “Allow ALL” functionality against a Magic Fields checkbox custom field.</p>
<p><strong>Tidied up admin form</strong><br />
As I have added a few more options for each question, I have tried to tidy up the admin section. This area isn’t exactly my forte so you may not find it an improvement ☺</p>
<p><strong>Various Fixes</strong></p>
<p>Among other things, I am not sure the auto added ANY functionality worked properly. I have fixed it and added an auto ANY to the Radiobutton widget as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://colmb.com/2010/06/changes-to-wordpress-plug-in-custom-fields-search/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dublin Information</title>
		<link>http://colmb.com/2010/06/dublin-information-2/</link>
		<comments>http://colmb.com/2010/06/dublin-information-2/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 09:01:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[House]]></category>

		<guid isPermaLink="false">http://colmb.com/?p=31</guid>
		<description><![CDATA[<p>This post will show up if Dublin (or ANY obviously) is chosen as the Area, regardless of the other answers chosen. This is done by marking the other questions as &#8220;Allow ALL&#8221; in the set up and then tagging those fields with ALL in this <span style="color:#777"> . . . &#8594; Read More: <a href="http://colmb.com/2010/06/dublin-information-2/">Dublin Information</a></span>]]></description>
			<content:encoded><![CDATA[<p>This post will show up if Dublin (or ANY obviously) is chosen as the Area, regardless of the other answers chosen. This is done by marking the other questions as &#8220;Allow ALL&#8221; in the set up and then tagging those fields with ALL in this post. </p>
]]></content:encoded>
			<wfw:commentRss>http://colmb.com/2010/06/dublin-information-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>4 Bed Semi Detatched House In Carlow</title>
		<link>http://colmb.com/2010/06/4-bed-semi-detatched-house-in-carlow/</link>
		<comments>http://colmb.com/2010/06/4-bed-semi-detatched-house-in-carlow/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 15:03:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[House]]></category>

		<guid isPermaLink="false">http://colmb.com/?p=24</guid>
		<description><![CDATA[<p>This is to show that Carlow doesn&#8217;t use <span style="color:#777"> . . . &#8594; Read More: <a href="http://colmb.com/2010/06/4-bed-semi-detatched-house-in-carlow/">4 Bed Semi Detatched House In Carlow</a></span>]]></description>
			<content:encoded><![CDATA[<p>This is to show that Carlow doesn&#8217;t use post codes&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://colmb.com/2010/06/4-bed-semi-detatched-house-in-carlow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>3 Bed Terrace In Dublin 18</title>
		<link>http://colmb.com/2010/06/3-bed-terrace-in-dublin-17/</link>
		<comments>http://colmb.com/2010/06/3-bed-terrace-in-dublin-17/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 14:56:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[House]]></category>

		<guid isPermaLink="false">http://colmb.com/?p=20</guid>
		<description><![CDATA[<p>This is 3 bedroom terraced house in Dublin 18 and is mainly a test of how checkboxes will work when options contain the <span style="color:#777"> . . . &#8594; Read More: <a href="http://colmb.com/2010/06/3-bed-terrace-in-dublin-17/">3 Bed Terrace In Dublin 18</a></span>]]></description>
			<content:encoded><![CDATA[<p>This is 3 bedroom terraced house in Dublin 18 and is mainly a test of how checkboxes will work when options contain the same characters</p>
]]></content:encoded>
			<wfw:commentRss>http://colmb.com/2010/06/3-bed-terrace-in-dublin-17/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>4 Bed Detached in Dublin 8</title>
		<link>http://colmb.com/2010/06/4-bed-detached-in-dublin-8/</link>
		<comments>http://colmb.com/2010/06/4-bed-detached-in-dublin-8/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 09:03:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[House]]></category>

		<guid isPermaLink="false">http://colmb.com/?p=8</guid>
		<description><![CDATA[<p>Blah <span style="color:#777"> . . . &#8594; Read More: <a href="http://colmb.com/2010/06/4-bed-detached-in-dublin-8/">4 Bed Detached in Dublin 8</a></span>]]></description>
			<content:encoded><![CDATA[<p>Blah Blah Blah</p>
]]></content:encoded>
			<wfw:commentRss>http://colmb.com/2010/06/4-bed-detached-in-dublin-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

