<?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>chaka chaka &#187; hack</title>
	<atom:link href="http://pata.ponchakapon.com/tag/hack/feed/" rel="self" type="application/rss+xml" />
	<link>http://pata.ponchakapon.com</link>
	<description>can i go home now?</description>
	<lastBuildDate>Sun, 20 Nov 2011 20:23:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>google week: 101 tips, tricks and hacks</title>
		<link>http://pata.ponchakapon.com/2008/09/google-week-101-tips-tricks-and-hacks/</link>
		<comments>http://pata.ponchakapon.com/2008/09/google-week-101-tips-tricks-and-hacks/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 10:35:28 +0000</pubDate>
		<dc:creator>justine</dc:creator>
				<category><![CDATA[011010]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://pata.ponchakapon.com/?p=337</guid>
		<description><![CDATA[The ultimate collection of Google tips 1. The best way to begin searching harder with Google is by clicking the Advanced Search link. 2. This lets you search for exact phrases, &#8220;all these words&#8221;, or one of the specified keywords by entering search terms into the appropriate box. 3. You can also define how many [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.techradar.com/news/internet/web/google-week-101-google-tips-tricks-and-hacks-462143">The ultimate collection of Google tips</a></p>
<p>1. The best way to begin searching harder with Google is by clicking the <a href="http://www.google.com/advanced_search">Advanced Search</a> link.</p>
<p>2. This lets you search for exact phrases, &#8220;all these words&#8221;, or one of the specified keywords by entering search terms into the appropriate box.</p>
<p>3. You can also define how many results you want on the page, what language and what file type you&#8217;re looking for, all with menus.</p>
<p>4. Advanced Search lets you type in a Top Level Domain (like <strong>.co.uk</strong>) in the &#8220;Search within site of domain&#8221; box to restrict results.</p>
<p>5. And you can click the &#8220;Date, usage rights, numeric range and more&#8221; link to access more advanced features.</p>
<p><span id="more-337"></span></p>
<p>6. Save time – most of these advanced features are also available in Google&#8217;s front page search box, as command line parameters.</p>
<p>7. Google&#8217;s main search invisibly combines search terms with the Boolean construct &#8220;AND&#8221;. When you enter <strong>smoke fire</strong> – it looks for smoke AND fire.</p>
<p>8. To make Google search for smoke or fire, just type <strong>smoke OR fire</strong></p>
<p>9. Instead of OR you can type the | symbol, like this: <strong>smoke | fire</strong></p>
<p>10. Boolean connectors like AND and OR are case sensitive. They must be upper case.</p>
<p>11. Search for a specific term, then one keyword OR another by grouping them with parentheses, like this: <strong>water (smoke OR fire)</strong></p>
<p>12. To look for phrases, put them in quotes: <strong>&#8220;there&#8217;s no smoke without fire&#8221;</strong></p>
<p>13. Synonym search looks for words that mean similar things. Use the tilde symbol before your keyword, like this: <strong>~eggplant</strong></p>
<p>14. Exclude specific key words with the minus operator. <strong>new pram -ebay</strong> excludes all results from eBay.</p>
<p>15. Common words, like I, and, then and if are ignored by Google. These are called &#8220;stop words&#8221;.</p>
<p>16. The plus operator makes sure stop words are included. Like: <strong>fish +and chips</strong></p>
<p>17. If a stop word is included in a phrase between quote marks as a phrase, the word is searched for.</p>
<p>18. You can also ask Google to fill in a blank. Try: <strong>Christopher Columbus discovered *</strong></p>
<p>19. Search for a numerical range using the numrange operator. For example, search for Sony TV between £300 and £500 with the string <strong>Sony TV £300..£500</strong></p>
<p>20. Google recognises 13 main file types through advanced search, including all Microsoft Office Document types, Lotus, PostScript, Shockwave Flash and plain text files.</p>
<p>21. Search for any filetype directly using the modifier <strong>filetype:[filetype extension]</strong>. For example: <strong>soccer filetype:pdf</strong></p>
<div class="articleBody">
<p>22. Exclude entire file types, using the same Boolean syntax we used to exclude key words earlier: <strong>rugby -filetype:doc</strong></p>
<p>23, In fact, you can combine any Boolean search operators, as long as your syntax is correct. An example: <strong>&#8220;sausage and mash&#8221; -onions filetype:doc</strong></p>
<p>24. Google has some very powerful, hidden search parameters, too. For example &#8220;intitle&#8221; only searches page titles. Try <strong>intitle:herbs</strong></p>
<p>25. If you&#8217;re looking for files rather than pages – give <strong>index of</strong> as the <strong>intitle:</strong> parameter. It helps you find web and FTP directories.</p>
<p>26. The modifier <strong>inurl </strong>only searches the web address of a page: give <strong>inurl:spices</strong> a go.</p>
<p>27. Find live webcams by searching for: <strong>inurl:view/view.shtml</strong></p>
<p>28. The modifier <strong>inanchor </strong>is very specific, only finding results in text used in page links.</p>
<p>29. Want to know how many links there are to a site? Try <strong>link:sitename</strong> – for example <strong>link:www.mozilla.org</strong></p>
<p>30. Similarly, you can find pages that Google thinks are related in content, using the <strong>related: </strong>modifier. Use it like this: <strong>related:www.microsoft.com</strong></p>
<p>31. The modifier <strong>info:site_name</strong> returns information about the specified page.</p>
<p>32. Alternatively, do a normal search then click the &#8220;Similar Pages&#8221; link next to a result.</p>
<p>33. Specify a site to search with the <strong>site: </strong>modifier – like this: <strong>search tips site:www.techradar.com</strong></p>
<p>34. The above tip works with directory sites like www.dmoz.org and dynamically generated sites.</p>
<p>35. Access Google Directory – a database of handpicked and rated sites – at directory.google.com</p>
<p>36. The Boolean operators <strong>intitle </strong>and <strong>inurl </strong>work in Google directory, as does OR.</p>
<p>37. Use the <strong>site:</strong> modifier when searching Google Images, at images.google.com. For example: <strong>dvd recorder site:www.amazon.co.uk</strong></p>
<p>38. Similar, using &#8220;site:.com&#8221; will only return results from .com domains.</p>
<p>39. Google News (<a href="http://news.google.com/">news.google.com</a>) has its own Boolean parameters. For example &#8220;intext&#8221; pulls terms from the body of a story.</p>
<p>40. If you use the operator &#8220;source:&#8221; in Google News, you can pick specific archives. For example: <strong>heather mills source:daily_mail</strong></p>
<p>41. Using the &#8220;location:&#8221; filter enables you to return news from a chosen country. <strong>location:uk</strong> for example.</p>
<p>42. Similarly, Google Blogsearch (<a href="http://www.techradar.com/news/internet/web/blogsearch.google.com">blogsearch.google.com</a>) has its own syntax. You can search for a blog title, for example, using <strong>inblogtitle:&lt;keyword&gt;</strong></p>
<div class="articleBody">
<p>43. The general search engine can get very specific indeed. Try <strong>movie:&lt;name of film&gt;</strong> to look for movie reviews.</p>
<p>44. The modifier <strong>film:</strong> works just as well!</p>
<p>45. Enter <strong>showtimes</strong> and Google will prompt you for your postcode. Enter it and it&#8217;ll tell you when and where local films are showing.</p>
<p>46. For a dedicated film search page, go to www.google.co.uk/movies</p>
<p>47. If you ticked &#8220;Remember this Location&#8221; when you searched for show times, the next time you can enter the name of a current film instead.</p>
<p>48. Google really likes movies. Try typing <strong>director: The Dark Knight</strong> into the main search box.</p>
<p>49. For cast lists, try <strong>cast: name_of_film</strong></p>
<p>50. The modifier <strong>music: </strong>followed by a band, song or album returns music reviews.</p>
<p>51. Try searching for <strong>weather London</strong> – you&#8217;ll get a full 4-day forecast.</p>
<p>52. There&#8217;s also a built-in dictionary. Try <strong>define:&lt;word&gt; </strong>in the search box.</p>
<p>53. Google stores the content of old sites. You can search this cache direct with the syntax <strong>keyword cache:site_url</strong></p>
<p>54. Alternatively, enter <strong>cache:site_url</strong> into Google&#8217;s search box to be taken direct to the stored site.</p>
<p>55. No calculator handy? Use Google&#8217;s built in features. Try typing <strong>12*15</strong> and hitting &#8220;Google Search&#8221;.</p>
<p>56. Google&#8217;s calculator converts measurements and understands natural language. Type in <strong>14 stones in kilos</strong>, for example.</p>
<p>57. It does currency conversion too. Try <strong>200 pounds in euros</strong></p>
<p>58. If you know the currency code you can type <strong>200 GBP in EUR</strong> instead for more reliable results.</p>
<p>59. And temperature! Just type: <strong>98 f to c</strong> to convert Fahrenheit to Centigrade.</p>
<p>60. Want to know how clever Google really is? Type <strong>2476 in roman numerals</strong>, then hit &#8220;Google Search&#8221;&#8230;</p>
<p>61. You can personalise your Google experience by creating a Google account. Go to <a href="http://www.google.com/account/">www.google.com/account/</a> then click &#8220;Create Account&#8221;.</p>
<p>62. With a Google account there are lots more extras available. You&#8217;ll get a free Gmail email account for one&#8230;</p>
<p>63. With your Google account, you can also personalise your front page. Click &#8220;iGoogle&#8221; to add blog and site feeds.</p>
<p>64. Click &#8220;Add a Tab&#8221; in iGoogle to add custom tabs. Google automatically populates them with suitable site suggestions.</p>
<p>65. iGoogle allows you to theme your page too. Click &#8220;Select Theme&#8221; to change the default look.</p>
<p>66. Some iGoogle themes change with time&#8230;&#8221;Sweet Dreams&#8221; is a theme that turns from day to night as you browse.</p>
<div class="articleBody">
<p>67. Click &#8220;More&#8221; under &#8220;Try something new&#8221; to access a full list of Google sites and new features.</p>
<p>68. &#8220;Custom Search&#8221; enables you to create a branded Google search for your own site.</p>
<p>69. An active, useful service missing from the list is &#8220;Personalised Search&#8221; – but you can access it via <a href="http://www.google.com/psearch">www.google.com/psearch</a> when you&#8217;re logged in.</p>
<p>70. This page lists searches you have recently made – and is divided into categories. Clicking &#8220;pause&#8221; stops Google from recording your history.</p>
<p>71. Click &#8220;Trends&#8221; to see the sites you visit most, the terms you enter most often and links you&#8217;ve clicked on!</p>
<p>72. Personalised Search also includes a bookmark facility – which enables you to save bookmarks online and access them from anywhere.</p>
<p>73. You can add bookmarks or access your bookmarks using the iGoogle Bookmarks gadget.</p>
<p>74. Did you know you can search within your returned results? Scroll down to the bottom of the search results page to find the link.</p>
<p>75. Search locally by appending your postcode to the end of query. For example <strong>Indian food BA1 2BW</strong> finds restaurants in Bath, with addresses and phone numbers!</p>
<p>76. Looking for a map? Just add <strong>map </strong>to the end of your query, like this: <strong>Leeds map</strong></p>
<p>77. Google finds images just as easily and lists them at the top, when you add <strong>image </strong>to the end of your search.</p>
<p>78. Google Image Search recognises faces&#8230; add <strong>&amp;imgtype=face</strong> to the end of the returned URL in the location bar, then hit enter to filter out pictures that aren&#8217;t people.</p>
<p>79. Keeping an eye on stocks? Type <strong>stocks:</strong> followed by market ticker for the company and Google returns the data from Google Finance.</p>
<p>80. Enter the carrier and flight number in Google&#8217;s main search box to return flight tracking information.</p>
<p>81. What time is it? Find out anywhere by typing <strong>time </strong>then the name of a place.</p>
<p>82. You may have noticed Google suggests alternate spellings for search terms – that&#8217;s the built in spell checker!</p>
<p>83. You can invoke the spell checker directly by using <strong>spell: </strong>followed by your keyword.</p>
<p>84. Click &#8220;I&#8217;m Feeling Lucky&#8221; to be taken straight to the first page Google finds for your keyword.</p>
<p>85. Enter a statistics-based query like <strong>population of Britain</strong> into Google, and it will show you the answer at the top of its results.</p>
<div class="articleBody">
<p>86. If your search has none-English results, click &#8220;Translate this Page&#8221; to see it in English.</p>
<p>87. You can search foreign sites specifically by clicking &#8220;Language Tools&#8221;, then choosing which countries sites to translate your query to.</p>
<p>88. Other features on the language tools page include a translator for blocks of text you can type or cut and paste.</p>
<p>89. There&#8217;s also a box that you can enter a direct URL into, translating to the chosen language.</p>
<p>90. Near the language tools link, you&#8217;ll see the &#8220;Search Preferences&#8221;. This handy page is full of secret functionality.</p>
<p>91. You can specify which languages Google returns results in, ticking as many (or few) boxes as you like.</p>
<p>92. Google&#8217;s Safe Search protects you from explicit sexual content. You can choose to filter results more stringently or switch it off completely.</p>
<p>93. Google&#8217;s default of 10 results a page can be increased to up to 100 in Search Preferences, too.</p>
<p>94. You can also set Google to open your search results in a new window.</p>
<p>95. Want to see what others are searching for or improve your page rank? Go to <a href="http://www.google.com/zeitgeist/">www.google.com/zeitgeist</a></p>
<p>96. Another useful, experimental search can be found at <a href="http://www.google.com/zeitgeist/">www.google.com/trends</a> – where you can find the hottest search terms.</p>
<p>97. To compare the performance of two or more terms, enter them into the trends search box separated by commas.</p>
<p>98. Fancy searching Google in Klingon? Go to <a href="http://www.google.com/intl/xx-klingon">www.google.com/intl/xx-klingon</a></p>
<p>99. Perhaps the Swedish chef from the muppets is your role model instead? Check <a href="http://www.google.com/intl/xx-bork">www.google.com/intl/xx-bork</a></p>
<p>100. Type <strong>answer to life, the universe and everything</strong> into Google. You may be surprised by the result&#8230;</p>
<p>101. It will also tell you the <strong>number of horns on a unicorn</strong></div>
</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://pata.ponchakapon.com/2008/09/google-week-101-tips-tricks-and-hacks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wordpress: post category style</title>
		<link>http://pata.ponchakapon.com/2008/08/wordpress-post-category-style/</link>
		<comments>http://pata.ponchakapon.com/2008/08/wordpress-post-category-style/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 11:42:08 +0000</pubDate>
		<dc:creator>justine</dc:creator>
				<category><![CDATA[011010]]></category>
		<category><![CDATA[category]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[stylesheets]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://pata.ponchakapon.com/?p=281</guid>
		<description><![CDATA[how to style main page posts by category. have no time to do a full length pseudo-geeky post now now, but will expand on it after i&#8217;ve tested it out. :) from codex update: whoops. those two links seem to be for category styling as opposed to having posts from different categories appear differently on [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.webdesignerwall.com/tutorials/wordpress-theme-hacks/">how to style main page posts by category.</a></p>
<p>have no time to do a full length pseudo-geeky post <em>now </em>now, but will expand on it after i&#8217;ve tested it out. :)</p>
<p><a href="http://codex.wordpress.org/The_Loop_in_Action#Different_Category_Format">from codex</a></p>
<p>update: whoops. those two links seem to be for category styling as opposed to having posts from different categories appear differently on the home page.</p>
<p>these two seem to be more of what i&#8217;m looking for. <a href="http://www.wpdesigner.com/2007/06/22/styling-posts-by-category-and-category-specific-images/">Styling Posts by Category and Category-Specific Images</a>, <a href="http://lorelle.wordpress.com/2007/09/06/using-wordpress-categories-to-style-posts/">using wordpress categories to style posts</a></p>
<p>much more complicated too. ;p</p>
]]></content:encoded>
			<wfw:commentRss>http://pata.ponchakapon.com/2008/08/wordpress-post-category-style/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wordpress: exclude categories from main page</title>
		<link>http://pata.ponchakapon.com/2008/08/wordpress-exclude-categories-from-main-page/</link>
		<comments>http://pata.ponchakapon.com/2008/08/wordpress-exclude-categories-from-main-page/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 13:25:52 +0000</pubDate>
		<dc:creator>justine</dc:creator>
				<category><![CDATA[011010]]></category>
		<category><![CDATA[category]]></category>
		<category><![CDATA[exclude]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://pata.ponchakapon.com/?p=254</guid>
		<description><![CDATA[to exclude certain categories from the main page of your blog (assuming you&#8217;re like the other 99% non-freaks who use blog posts not a static page as your main page) like how i&#8217;m not cluttering my posts with my baju category aka category 23 and instead forcing voyeuristic casual surfers with ephebephilic tendencies to click [...]]]></description>
			<content:encoded><![CDATA[<p>to exclude certain categories from the main page of your blog (assuming you&#8217;re like the other 99% non-freaks who use blog posts not a static page as your main page) like how i&#8217;m not cluttering my posts with my <a href="http://pata.ponchakapon.com/baju/">baju</a> category aka category 23 and instead forcing voyeuristic casual  surfers with ephebephilic tendencies to click on a navigational link in my <a href="http://powazek.com/posts/413">interesting footer</a>&#8230;</p>
<p>deep breath</p>
<p>in the earlier layout, i used wordpress&#8217; built-in <a href="http://codex.wordpress.org/Template_Tags/query_posts#Exclude_Categories_From_Your_Home_Page">Query_posts</a>, placing following syntax into the index.php file of my theme. (whitespace makes no difference.)</p>
<blockquote>
<pre>&lt;?php
   if (is_home()) {
      query_posts("cat=-23");
   }
?&gt;</pre>
</blockquote>
<p>but for some reason, this method didn&#8217;t work with derek powazek&#8217;s awesome minimalist <a href="http://powazek.com/depo-skinny">DePo skinny</a> theme (which, if you hadn&#8217;t noticed, i&#8217;m currently loving).</p>
<p>so, i googled <a href="http://blog.gadodia.net/excluding-certain-categories-from-your-blog-main-page/">this trick</a>. just pop in</p>
<blockquote><p><span style="font-family: Courier New;"> &lt;?php query_posts($query_string . &#8220;&amp;cat=-23&#8243;); ?&gt;</span></p></blockquote>
<p>before the line that says:</p>
<blockquote><p>&lt; ?php if (have_posts()) : ?&gt;</p></blockquote>
<p>ta-dah! done.additional: for hemingway <a href="http://startup365.com/blog/hemingway-reloaded/wordpress/">reloaded template</a>, insert <strong>&amp;cat=-23</strong> into existing query like so</p>
<blockquote><p>&lt;?php query_posts(&#8216;showposts=10<strong>&amp;cat=-23</strong>&#8216;); 					?&gt;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://pata.ponchakapon.com/2008/08/wordpress-exclude-categories-from-main-page/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>wordpress comments off</title>
		<link>http://pata.ponchakapon.com/2008/08/wordpress-comments-off/</link>
		<comments>http://pata.ponchakapon.com/2008/08/wordpress-comments-off/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 17:50:01 +0000</pubDate>
		<dc:creator>justine</dc:creator>
				<category><![CDATA[011010]]></category>
		<category><![CDATA[comments]]></category>
		<category><![CDATA[comments off]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://pata.ponchakapon.com/?p=191</guid>
		<description><![CDATA[when you turn off comments for individual posts, the nasty &#8220;comments off&#8221; text is shown, giving everyone the impression that you&#8217;re a antisocial ogre. then they get mad. also, when you google for help on how to remove this &#8220;comments off&#8221; you get smart alecky answers on how to entirely remove the option of commenting [...]]]></description>
			<content:encoded><![CDATA[<p>when you turn off comments for individual posts, the nasty &#8220;comments off&#8221; text is shown, giving everyone the impression that you&#8217;re a antisocial ogre. then they get mad.</p>
<p>also, when you google for help on <a href="http://www.google.com.my/search?q=wordpress+comments+off+remove+&amp;ie=utf-8&amp;oe=utf-8&amp;aq=t&amp;rls=org.mozilla:en-GB:official&amp;client=firefox-a">how to remove this &#8220;comments off&#8221;</a> you get smart alecky answers on how to entirely remove the option of commenting from your blog. leaving your millions of fans without a voice (or trolls without any dinner).</p>
<p>so, intermediate users can head down to your server and edit the file in wordpress root &gt; <strong>wp-includes</strong> &gt; <strong>comment-template.php</strong></p>
<p>find and delete bolded text as follows:</p>
<p>$more = &#8216;% Comments&#8217;, $css_class = &#8221;, $none = &#8216;<strong>Comments Off</strong>&#8216; )</p>
<p>if you don&#8217;t believe me, i got it from the <a href="http://codex.wordpress.org/FAQ_Using_WordPress#If_I_turn_off_comments.2C_it_says_.22Comments_Off.22_on_the_weblog._so_how_do_I_change_that.3F">codex</a></p>
<blockquote><p>Line 720 of wp-icludes/comment-template.php has the words &#8216;Comments Off&#8217; as the value of the variable $none (in the comments_popup_link function)</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://pata.ponchakapon.com/2008/08/wordpress-comments-off/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

