<?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/"
	
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>World Gone Webwordpress &#187; World Gone Web</title>
	<atom:link href="http://www.worldgoneweb.com/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.worldgoneweb.com</link>
	<description></description>
	<lastBuildDate>Sun, 09 Oct 2011 20:57:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Firefox: download a swf and wordpress it</title>
		<link>http://www.worldgoneweb.com/2011/firefox-download-a-swf-and-wordpress-it/</link>
		<comments>http://www.worldgoneweb.com/2011/firefox-download-a-swf-and-wordpress-it/#comments</comments>
		<pubDate>Sun, 25 Sep 2011 23:28:49 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Me myself I]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[swf]]></category>

		<guid isPermaLink="false">http://www.worldgoneweb.com/?p=822</guid>
		<description><![CDATA[Just a quick note on how to achieve the following purpose. Say you have a 3 months old baby and your mother sends you a 3 month old birthday ecard. Say you wish to download the animation of that ecard and share it on the blog you keep for your family and close friends. I [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.worldgoneweb.com/wp-content/uploads/2011/09/Screen-Shot-2011-09-26-at-1.27.32-AM.png"><img class="aligncenter size-full wp-image-824" title="swf WordPress" src="http://www.worldgoneweb.com/wp-content/uploads/2011/09/Screen-Shot-2011-09-26-at-1.27.32-AM.png" alt="" width="497" height="429" /></a></p>
<p>Just a quick note on how to achieve the following purpose. Say you have a 3 months old baby and your mother sends you a 3 month old birthday ecard. Say you wish to download the animation of that ecard and share it on the blog you keep for your family and close friends. I suppose this is &#8220;everyday computing&#8221; for the rest of them.</p>
<p>Anyway, here is how it is done :</p>
<ol>
<li>In firefox, you can find the swf animation easily. simply type about:cache in the address bar and locate the swf. Copy it on your desktop or somewhere accessible.<strong><br />
Warning:</strong> if you have NO CACHE at all showing when you type about:cache, you might be a web developer using web developer tools with cache disabled. Re-enabled it, re-watch your animation, now it will be in the cache.</li>
<li>In WordPress, upload the swf by using the add media button. Obtain the attachement location by clicking the &#8220;Link to Media&#8221; button and, in &#8220;HTML&#8221; view, paste the following code (replace http://url/to/my.swf with the link to your media &#8211; twice) :</li>
</ol>
<div class="codecolorer-container html4strict dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:678px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/object.html"><span style="color: #000000; font-weight: bold;">object</span></a> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;test1&quot;</span> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;600&quot;</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;458&quot;</span> <span style="color: #000066;">classid</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;clsid:d27cdb6e-ae6d-11cf-96b8-444553540000&quot;</span> <span style="color: #000066;">codebase</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0&quot;</span>&gt;&lt;<a href="http://december.com/html/4/element/param.html"><span style="color: #000000; font-weight: bold;">param</span></a> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;src&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://url/to/my.swf&quot;</span> <span style="color: #66cc66;">/</span>&gt;&lt;<a href="http://december.com/html/4/element/param.html"><span style="color: #000000; font-weight: bold;">param</span></a> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;pluginspage&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.adobe.com/go/getflashplayer&quot;</span> <span style="color: #66cc66;">/</span>&gt;&lt;embed <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;test1&quot;</span> <span style="color: #000066;">width</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;600&quot;</span> <span style="color: #000066;">height</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;458&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;application/x-shockwave-flash&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://url/to/my.swf&quot;</span> pluginspage<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.adobe.com/go/getflashplayer&quot;</span> <span style="color: #66cc66;">/</span>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/object.html"><span style="color: #000000; font-weight: bold;">object</span></a>&gt;</span></div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://www.worldgoneweb.com/2011/firefox-download-a-swf-and-wordpress-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/09/Screen-Shot-2011-09-26-at-1.27.32-AM.png" />
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/09/Screen-Shot-2011-09-26-at-1.27.32-AM.png" medium="image">
			<media:title type="html">swf WordPress</media:title>
		</media:content>
	</item>
		<item>
		<title>Using WordPress Hooks by Example &#8211; hiding a category</title>
		<link>http://www.worldgoneweb.com/2011/using-wordpress-hooks-by-example-hiding-a-specific-category/</link>
		<comments>http://www.worldgoneweb.com/2011/using-wordpress-hooks-by-example-hiding-a-specific-category/#comments</comments>
		<pubDate>Sat, 26 Mar 2011 11:08:33 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Me myself I]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[category]]></category>
		<category><![CDATA[customization]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[hooks]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[world gone web]]></category>

		<guid isPermaLink="false">http://www.worldgoneweb.com/?p=644</guid>
		<description><![CDATA[The plugin used on the homepage of this blog to display featured articles is called Related Posts with Thumbs. It will display the last X posts published in a given category. For flexibility, I created a categoruy called &#8220;Editorial&#8221; for the posts which should be displayed with the plugin. The problem was : I didn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.worldgoneweb.com/wp-content/uploads/2011/03/wordpress_codex.png"><img class="alignleft size-thumbnail wp-image-645" title="wordpress_codex" src="http://www.worldgoneweb.com/wp-content/uploads/2011/03/wordpress_codex-150x150.png" alt="" width="150" height="150" /></a>The plugin used on the homepage of this blog to display featured articles is called <a href="http://www.hackingethics.com/blog/wordpress-plugins/igit-related-posts-with-thumb-image-after-posts/">Related Posts with Thumbs</a>. It will display the last X posts published in a given category. For flexibility, I created a categoruy called &#8220;Editorial&#8221; for the posts which should be displayed with the plugin. The problem was : I didn&#8217;t want this category to appear anywhere else. That is, this category shoulnd&#8217;t appear in the category list (in the left sidebar) or on the Archives Page. It should also be excluded from the post metadata&#8230; As I worked on this, I decided to also hide the &#8220;Uncategorized&#8221; category.</p>
<p>In order to accomplish this, I studied WordPress hooks. WordPress hooks are small functions customizable in one&#8217;s WordPress theme which will be called by WordPress core code. The reason behind hooks is to enable some custom code to be called in a given theme, plugin or widget, without modifying the WordPress core code which will be erased every time we upgrade our blog to the newest version of WordPress.</p>
<p style="text-align: center;"><a href="http://www.worldgoneweb.com/wp-content/uploads/2011/03/Screen-shot-2011-03-26-at-12.01.46-PM.png"><img class="aligncenter size-full wp-image-647" title="Screen shot 2011-03-26 at 12.01.46 PM" src="http://www.worldgoneweb.com/wp-content/uploads/2011/03/Screen-shot-2011-03-26-at-12.01.46-PM.png" alt="" width="560" height="477" /></a></p>
<h2>Hiding a category from the post metadata:</h2>
<p>The post category at the end of a post are displayed using the following method : <strong>the_category()</strong>. This method is defined in <strong>wp-includes/category-template.php</strong>. This method calls <strong>get_the_category_list()</strong>, itself defined in the same file. This function gets the category list by calling <strong>get_the_category()</strong> also defined in this category-template.php file. Now, the important part is that this method get_the_category calls a custom filter named <strong>get_the_categories</strong>.</p>
<div class="codecolorer-container php dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:678px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">function</span> get_the_category<span style="color: #009900;">&#40;</span><span style="color: #000088;">$id</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
<span style="color: #339933;">....</span><br />
<span style="color: #b1b100;">return</span> apply_filters<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'get_the_categories'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$categories</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span></div></td></tr></tbody></table></div>
<p>Let&#8217;s enable the filter get_the_categories and use it to skip the &#8220;Editorial&#8221; category. We will do that by editing (or creating) the <strong>functions.php</strong> file of the blog&#8217;s theme file.</p>
<div class="codecolorer-container php dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:678px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">// We enable the filter</span><br />
add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'get_the_categories'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'hideCategories'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">// The filter method (it hides the Editorial category, but you can change that to suit you rneeds</span><br />
<span style="color: #000000; font-weight: bold;">function</span> hideCategories<span style="color: #009900;">&#40;</span><span style="color: #000088;">$categories</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>is_admin<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">return</span> <span style="color: #000088;">$categories</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$resCategories</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$categories</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$category</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$category</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>name <span style="color: #339933;">==</span> <span style="color: #0000ff;">&quot;Editorial&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">continue</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$resCategories</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$category</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<span style="color: #b1b100;">return</span> <span style="color: #000088;">$resCategories</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span></div></td></tr></tbody></table></div>
<p>Notice that we will not skip the category if we are logged in as super admin (that is to let the category appear in the administration panel)</p>
<h2>Hiding a category from the category widget :</h2>
<p>The same solution applies to the category widget. After identifying the method used by the category widget which is Walker_CategoryDropdown in the same wp-includes/category-templates.php file, it is clear it calls the list_cats filter somehwere down the road (in start_el). The only problem was, if the category was filtered out in the apply_filter method, it would display an empty line. Therefore, I submitted the <a href="http://core.trac.wordpress.org/ticket/16792#comment:1">following patch</a> to the wordpress team.</p>
<p>In functions.php (in our blog&#8217;s theme folder)</p>
<div class="codecolorer-container php dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:678px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">// Apply the filter</span><br />
add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'list_cats'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'hideCat'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">// The filter code</span><br />
<span style="color: #000000; font-weight: bold;">function</span> hideCat<span style="color: #009900;">&#40;</span><span style="color: #000088;">$catName</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>is_admin<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">return</span> <span style="color: #000088;">$catName</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$catName</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">&quot;Editorial&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">return</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$catName</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">&quot;Uncategorized&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">return</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">return</span> <span style="color: #000088;">$catName</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span></div></td></tr></tbody></table></div>
<p>If you wish to use this code, <a href="http://samanthahalfon.net/resources/patchCategoryWalkerSkippedCategory.patch">download</a> and apply the patch (tested on WordPress 3.1) I hope the patch will make into the later versions by the WordPress dev team.</p>
<p>&nbsp;</p>
<p>I hope this example of use of hooks and filters will enable you to create your own custom code for WordPress. Happy coding <img src='http://www.worldgoneweb.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>&nbsp;</p>
<h2>References:</h2>
<p>Below are great articles about WordPress development in general and WordPress hooks in particular</p>
<ul>
<li><a href="http://www.wordpresscreme.com/best-practices-for-wordpress-coding/">Best practices for WordPress coding</a></li>
<li><a href="http://codex.wordpress.org/Plugin_API#Hooks.2C_Actions_and_Filters">Hooks, Actions and Filters</a> (WordPress codex)</li>
<li><a href="http://www.smashingmagazine.com/2009/08/18/10-useful-wordpress-hook-hacks/">How to Use Hooks on your WordPress Blog</a> (Smashing Magazine)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.worldgoneweb.com/2011/using-wordpress-hooks-by-example-hiding-a-specific-category/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/03/wordpress_codex-150x150.png" />
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/03/wordpress_codex.png" medium="image">
			<media:title type="html">wordpress_codex</media:title>
			<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/03/wordpress_codex-150x150.png" />
		</media:content>
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/03/Screen-shot-2011-03-26-at-12.01.46-PM.png" medium="image">
			<media:title type="html">Screen shot 2011-03-26 at 12.01.46 PM</media:title>
			<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/03/Screen-shot-2011-03-26-at-12.01.46-PM-150x150.png" />
		</media:content>
	</item>
		<item>
		<title>Blogging from OpenOffice.org</title>
		<link>http://www.worldgoneweb.com/2011/blogging-from-openoffice-org/</link>
		<comments>http://www.worldgoneweb.com/2011/blogging-from-openoffice-org/#comments</comments>
		<pubDate>Sun, 06 Feb 2011 11:19:24 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[OpenOffice.org]]></category>

		<guid isPermaLink="false">http://www.worldgoneweb.com/?p=557</guid>
		<description><![CDATA[Recently, I&#8217;ve been working on a Microsoft addin allowing users to post to bluekiwi from Microsoft Office. I liked the feature myself and discovered Microsoft Office also enabled publishing to WordPress and set out looking for such a solution for OpenOffice.org. Sun Weblog Publisher seems to be the extension to do just that and here [...]]]></description>
			<content:encoded><![CDATA[<div>
<p style="margin-bottom: 0in;"><img class="aligncenter size-medium wp-image-559" title="ooowordpress" src="http://www.worldgoneweb.com/wp-content/uploads/2011/02/ooowordpress-300x146.png" alt="" width="300" height="146" /></p>
<p style="margin-bottom: 0in;">Recently, I&#8217;ve been working on a Microsoft addin allowing users to post to bluekiwi from Microsoft Office. I liked the feature myself and discovered Microsoft Office also enabled publishing to WordPress and set out looking for such a solution for OpenOffice.org.  <a href="http://extensions.services.openoffice.org/project/swp">Sun Weblog Publisher</a> seems to be the extension to do just that and here is how it works.</p>
<ul>
<li>Download and install the extension (if you have any problem, running Mac OS X (I had an error saying “Failed to load the Java implementation) simply reinstall OO.org entirely. The bug comes from a change of location of the Java JRE in Mac OS best I could figure out)</li>
<li>Once the extension is installed, open OOo and go to Tools &gt; Extension Manager ad edit the settings for the Sun Weblog publisher one and enter the type and URL of your blog.</li>
</ul>
<p style="margin-bottom: 0in; text-align: center;"><img class="aligncenter" style="text-align: left;" src="http://www.worldgoneweb.com/wp-content/uploads/2011/02/sbres_1296991163_0__.png" border="0" alt="" width="335" height="280" /></p>
<p style="margin-bottom: 0in;">To publish your document, simply go to File &gt; Send and select “to weblog”. You&#8217;ll have the choice to pubish your post as a draft or directly to your blog.</p>
<p style="margin-bottom: 0in;"><img class="aligncenter size-medium wp-image-558" src="http://www.worldgoneweb.com/wp-content/uploads/2011/02/Screen-shot-2011-02-06-at-12.19.14-PM-300x173.png" alt="" width="300" height="173" /></p>
<p style="margin-bottom: 0in;">Finally, click on  &#8221;OK&#8221;. Strangely enough, you will get an error message but your post was more than likely published anyway ( I suspect WordPress changed something in its API and the extension doesn&#8217;t get the response it expects).</p>
<p style="margin-bottom: 0in;">Of coure, this entry was posted from Open Office 3.3.0 on Mac OS X (images included).</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.worldgoneweb.com/2011/blogging-from-openoffice-org/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/02/ooowordpress-150x150.png" />
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/02/ooowordpress.png" medium="image">
			<media:title type="html">ooowordpress</media:title>
			<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/02/ooowordpress-150x150.png" />
		</media:content>
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/02/sbres_1296991163_0__.png" medium="image" />
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/02/Screen-shot-2011-02-06-at-12.19.14-PM.png" medium="image">
			<media:title type="html">Screen-shot-2011-02-06-at-12.19.14-PM</media:title>
			<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/02/Screen-shot-2011-02-06-at-12.19.14-PM-150x150.png" />
		</media:content>
	</item>
		<item>
		<title>World Gone Web hacked</title>
		<link>http://www.worldgoneweb.com/2011/world-gone-web-hacked/</link>
		<comments>http://www.worldgoneweb.com/2011/world-gone-web-hacked/#comments</comments>
		<pubDate>Sat, 08 Jan 2011 09:00:59 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Me myself I]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Système]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[hacked]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[ovh]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[webmaster]]></category>

		<guid isPermaLink="false">http://www.worldgoneweb.com/?p=414</guid>
		<description><![CDATA[On Monday morning, I received an email from Google Webmaster Tools letting me know that my WordPress blog had been hacked and was temporarily blacklisted. Users accessing my blog using Google Chrome or Firefox were advised to stay away for safety. I appreciate Google&#8217;s notification of this problem as well as their concern (and Mozilla&#8217;s) [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-medium wp-image-415" title="Firefox Malware Warning" src="http://www.worldgoneweb.com/wp-content/uploads/2011/01/malware-300x143.png" alt="" width="300" height="143" /></p>
<p>On Monday morning, I received an email from Google Webmaster Tools letting me know that my WordPress blog had been hacked and was temporarily blacklisted. Users accessing my blog using Google Chrome or Firefox were advised to stay away for safety. I appreciate Google&#8217;s notification of this problem as well as their concern (and Mozilla&#8217;s) to protect my visitors.</p>
<p>Why was my WordPress blog hacked ? I don&#8217;t believe it was individually targeted, I believe it was hacked because it was vulnerable. Two reasons :</p>
<p>1.  I hadn&#8217;t updated my blog to the latest version of WordPress. As a matter of fact, I was not even running WordPress 3.0 yet.<br />
2. Also, I believe the file permissions I was required to use on the server by my host provider were not safe enough thought I could not change them without breaking the whole blog (Access Denied error). I largely blame my hosting provider architecture for that.<br />
So, what did the malware look like ? It was a php code which was added to every .php file in my main wordpress folder and read something like eval(base64_decode(XXXXXXXXXXX)). Once this was decoded and evaluated, it would check whether the referrer was Bing, Yahoo or Google and if so, redirect my visitor to a malware sharing site of some kind (I didn&#8217;t go to it&#8230;). This hack has been used recently on several GoDaddy hosted wordpress blogs and other CMS. With some help from @fdevillamil and Google, I found information about the problem and started working on it.</p>
<p>Finally, I finally got the problem sorted thanks to several blogs posts I&#8217;d like to point to here.</p>
<p>1. Here is a <a href="http://www.blogtips.org/analysis-of-the-latest-website-hacks/">detailed explanation of the attack</a><br />
2. I downloaded and modified <a href="http://www.blogtips.org/how-to-cure-your-godaddy-wordpress-hacked-blog/">Peter&#8217;s fixfiles.php</a> script in order to clean my PHP code of the malicious PHP script.<br />
3. Sucuri Research offers a <a href="http://blog.sucuri.net/2010/05/simple-cleanup-solution-for-the-latest-wordpress-hack.html">console command</a> (requires SSH access to your server) to clean your WordPress, too. They also detailed how <a href="http://blog.sucuri.net/2010/10/attacks-on-godaddy-sites-insomniaboldinfoorg-com.html">to fix a hacked blog</a> intended for GoDaddy users.<br />
4. Before resubmitting my blog for validation by Google, I made sure everything was okay using <a href="http://sitecheck.sucuri.net/scanner/">Sucuri&#8217;s malware scanner service</a> (free for limited use) . A very useful tool.<br />
5. I quickly searched for <a href="http://thepcsecurity.com/scan-or-check-websites-for-malware-4-free-tools/">similar tools</a> I could use in the future and found the following articles though I didn&#8217;t test these services yet.<br />
6. I moved my blog to another host where I was able to set the permission more restrictively<br />
7. I disabled several of my plugins and updated my WordPress hoping to secure my blog from too many security flaws that could lay in third party code<br />
8. Next, I read up about a few ways to fix security holes in WordPress in these posts :</p>
<ul>
<li><a href="http://www.blogtips.org/monitor-maliciousfile-changes-wordpress-blog/">Monitor Malicious File Changes in WordPress Blog</a></li>
<li><a href="http://www.blogtips.org/secure-wordpress-blog/">Secure a WordPress Blog</a></li>
<li><a href="http://serverfault.com/questions/6895/whats-the-best-way-of-handling-permissions-for-apache2s-user-www-data-in-var-w">The best way to handle file permissions for Apache www-data</a> (ServerFault discussion)</li>
<li><a href="http://www.blogtips.org/avoid-users-uploading-malware/">Avoid users uploading malware</a></li>
</ul>
<p>9. Finally, I updated my blog which was no luxury. It can quickly be done in<a href="http://minimalite.com/2011/01/wordpress-hacks/how-to-update-manually-to-wordpress-3-0-4/"> a few steps</a> which are detailed right here</p>
<p>Hope this helps out someone else in a similar situation and that Google reconsiders my website soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.worldgoneweb.com/2011/world-gone-web-hacked/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/01/malware-150x150.png" />
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2011/01/malware.png" medium="image">
			<media:title type="html">Firefox Malware Warning</media:title>
			<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2011/01/malware-150x150.png" />
		</media:content>
	</item>
		<item>
		<title>Backup Your &#8220;Tumblelog&#8221;</title>
		<link>http://www.worldgoneweb.com/2010/backup-your-tumblelog/</link>
		<comments>http://www.worldgoneweb.com/2010/backup-your-tumblelog/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 16:55:59 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Me myself I]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[tumblelog]]></category>
		<category><![CDATA[tumblr]]></category>
		<category><![CDATA[tumblrbackup]]></category>

		<guid isPermaLink="false">http://www.samanthahalfon.net/worldgoneweb/?p=355</guid>
		<description><![CDATA[First, I must confess that I like trying software out. That&#8217;s probably how I ended up having some many accounts with so many services and having a Tumblelog AND a WordPress blog. Since this blog is not running on wordpress.com, it is for me to remember and backup my database and files from time to [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.samanthahalfon.net/worldgoneweb/wp-content/uploads/2010/04/Screen-shot-2010-04-05-at-6.54.34-PM.png" alt="" title="Screen shot 2010-04-05 at 6.54.34 PM" width="340" height="194" class="aligncenter size-full wp-image-360" /></p>
<p>First, I must confess that I like trying software out. That&#8217;s probably how I ended up having some many accounts with so many services and having a Tumblelog AND a WordPress blog. Since this blog is not running on wordpress.com, it is for me to remember and backup my database and files from time to time in case of a problem with my server. For <a href="http://samo9789.tumblr.com">my Tumblr</a>, it is different. The data is on Tumblr server(s) and there are no features I know of in the admin to download them and store them locally. After a year of publishing a daily list of the movies I watch and books I read, this tumblelog became a Journal of my cultural activities and I grew attached to it. Recently I decided it had to be backedup in case something happened to my tumblr account or whatever. As usual, someone had the idea before me and a tool is available. It is called &#8211; appropriately enough &#8211; <a href="http://macsmiley.tumblr.com/post/450101769/tumblr-backup-mac-beta">Tumblrbackup</a>. It couldn&#8217;t be easier to use, enter your credentials, select the tumblelog to backup and the destination on your computer. A folder is created which contains your posts, images, avatar and even your custom style. A index.html file is generated allowing you to browse your own content on your local hard drive. The index.html doesnt include your custom style so it looks pretty plain but everything you wrote and uploaded is there&#8230; Now I just need to remember and rerun the backup from time to time. Cool!<br />
<a href="http://samo9789.tumblr.com"><img src="http://www.samanthahalfon.net/worldgoneweb/wp-content/uploads/2010/04/Screen-shot-2010-04-05-at-6.51.05-PM.png" alt="" title="Screen shot 2010-04-05 at 6.51.05 PM" width="400" height="500" class="alignleft size-full wp-image-357" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.worldgoneweb.com/2010/backup-your-tumblelog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2010/04/Screen-shot-2010-04-05-at-6.54.34-PM-150x150.png" />
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2010/04/Screen-shot-2010-04-05-at-6.54.34-PM.png" medium="image">
			<media:title type="html">Screen shot 2010-04-05 at 6.54.34 PM</media:title>
			<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2010/04/Screen-shot-2010-04-05-at-6.54.34-PM-150x150.png" />
		</media:content>
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2010/04/Screen-shot-2010-04-05-at-6.51.05-PM.png" medium="image">
			<media:title type="html">Screen shot 2010-04-05 at 6.51.05 PM</media:title>
			<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2010/04/Screen-shot-2010-04-05-at-6.51.05-PM-150x150.png" />
		</media:content>
	</item>
		<item>
		<title>CodeColorer List of supported languages</title>
		<link>http://www.worldgoneweb.com/2010/codecolorer-list-of-supported-languages/</link>
		<comments>http://www.worldgoneweb.com/2010/codecolorer-list-of-supported-languages/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 17:43:55 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[code colorer]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[programming languages]]></category>

		<guid isPermaLink="false">http://www.samanthahalfon.net/worldgoneweb/?p=305</guid>
		<description><![CDATA[A very quick post to list the languages supported by Code Colorer which I use on this blog. Everytime I write I find myself wondering which language is supported and how I should write it out for the plugin to work so here it is, for the record: ABAP ActionScript ActionScript 3.0 Ada Apache AppleScript [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-306" title="computer-code" src="http://www.samanthahalfon.net/worldgoneweb/wp-content/uploads/2010/02/computer-code.jpg" alt="" width="380" height="285" /></p>
<p>A very quick post to list the languages supported by Code Colorer which I use on this blog. Everytime I write I find myself wondering which language is supported and how I should write it out for the plugin to work so here it is, for the record:</p>
<ul>
<li>ABAP</li>
<li>ActionScript</li>
<li>ActionScript 3.0</li>
<li>Ada</li>
<li>Apache</li>
<li>AppleScript</li>
<li>Apt sources.list</li>
<li>asm</li>
<li>asp</li>
<li>autoit</li>
<li>avisynth</li>
<li>bash</li>
<li>basic4gl</li>
<li>bf</li>
<li>bibtex</li>
<li>blitzbasic</li>
<li>bnf</li>
<li>boo</li>
<li>c</li>
<li>c_mac</li>
<li>caddcl</li>
<li>cadlisp</li>
<li>cfdg</li>
<li>cfm</li>
<li>cil</li>
<li>cmake</li>
<li>cobol</li>
<li>cpp-qt</li>
<li>cpp</li>
<li>csharp</li>
<li>css</li>
<li>d</li>
<li>dcs</li>
<li>delphi</li>
<li>diff</li>
<li>div</li>
<li>dos</li>
<li>dot</li>
<li>eiffel</li>
<li>email</li>
<li>erlang</li>
<li>fo</li>
<li>fortran</li>
<li>freebasic</li>
<li>genero</li>
<li>gettext</li>
<li>glsl</li>
<li>gml</li>
<li>gnuplot</li>
<li>groovy</li>
<li>haskell</li>
<li>hq9plus</li>
<li>html4strict</li>
<li>idl</li>
<li>ini</li>
<li>inno</li>
<li>intercal</li>
<li>io</li>
<li>java</li>
<li>java5</li>
<li>javascript</li>
<li>kixtart</li>
<li>klonec</li>
<li>klonecpp</li>
<li>latex</li>
<li>lisp</li>
<li>locobasic</li>
<li>lolcode</li>
<li>lotusformulas</li>
<li>lotusscript</li>
<li>lscript</li>
<li>lsl2</li>
<li>lua</li>
<li>m68k</li>
<li>make</li>
<li>matlab</li>
<li>mirc</li>
<li>modula3</li>
<li>mpasm</li>
<li>mxml</li>
<li>mysql</li>
<li>nsis</li>
<li>oberon2</li>
<li>objc</li>
<li>ocaml-brief</li>
<li>ocaml</li>
<li>oobas</li>
<li>oracle11</li>
<li>oracle8</li>
<li>pascal</li>
<li>per</li>
<li>perl</li>
<li>php-brief</li>
<li>php</li>
<li>pic16</li>
<li>pixelbender</li>
<li>plsql</li>
<li>povray</li>
<li>powershell</li>
<li>progress</li>
<li>prolog</li>
<li>properties</li>
<li>providex</li>
<li>python</li>
<li>qbasic</li>
<li>rails</li>
<li>rebol</li>
<li>reg</li>
<li>robot</li>
<li>ruby</li>
<li>sas</li>
<li>scala</li>
<li>scheme</li>
<li>scilab</li>
<li>sdlbasic,</li>
<li>smalltalk</li>
<li>smarty</li>
<li>sql</li>
<li>tcl</li>
<li>teraterm</li>
<li>text</li>
<li>thinbasic</li>
<li>tsql</li>
<li>typoscript</li>
<li>vb</li>
<li>vbnet</li>
<li>verilog</li>
<li>vhdl</li>
<li>vim</li>
<li>visualfoxpro</li>
<li>visualprolog</li>
<li>whitespace</li>
<li>whois</li>
<li>winbatch</li>
<li>xml</li>
<li>xorg_conf, xpp</li>
<li>yaml</li>
<li>z80</li>
</ul>
<p>An impressive list which should be handy next time I post anything.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.worldgoneweb.com/2010/codecolorer-list-of-supported-languages/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2010/02/computer-code-150x150.jpg" />
		<media:content url="http://www.worldgoneweb.com/wp-content/uploads/2010/02/computer-code.jpg" medium="image">
			<media:title type="html">computer-code</media:title>
			<media:thumbnail url="http://www.worldgoneweb.com/wp-content/uploads/2010/02/computer-code-150x150.jpg" />
		</media:content>
	</item>
	</channel>
</rss>

