<?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>w00kie&#039;s ramblings &#187; wordpress</title>
	<atom:link href="http://w00kie.com/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://w00kie.com</link>
	<description>Living the good life in Japan</description>
	<lastBuildDate>Thu, 17 May 2012 11:39:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Blacklisting words in Twitter Tools</title>
		<link>http://w00kie.com/2009/05/30/blacklisting-words-in-twitter-tools/</link>
		<comments>http://w00kie.com/2009/05/30/blacklisting-words-in-twitter-tools/#comments</comments>
		<pubDate>Sat, 30 May 2009 02:26:59 +0000</pubDate>
		<dc:creator>w00kie</dc:creator>
				<category><![CDATA[internet]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://w00kie.com/?p=539</guid>
		<description><![CDATA[There's a new game trending on Twitter these days, Spymaster, and it likes to write out stuff to your twitter feed. There's a good controversy running on the web whether these tweets are spam or not. I'm playing and I've &#8230; <a href="http://w00kie.com/2009/05/30/blacklisting-words-in-twitter-tools/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There's a new game <a title="twitter trend: #spymaster" href="http://twitter.com/#search?q=%23spymaster">trending</a> on Twitter these days, <a title="Play Spymaster - it's addictive" href="http://playspymaster.com">Spymaster</a>, and it likes to write out stuff to your twitter feed. There's a good <a title="post on techcrunch" href="http://www.techcrunch.com/2009/05/29/spy-vs-spy-the-spymaster-backlash-begins-and-twitter-needs-to-fix-it/">controversy</a> running on the web whether these tweets are spam or not. I'm playing and I've set it up to tweet out only level ups which is pretty minimalist.</p>
<p>However, I am also running the <a title="Twitter Tools plugin" href="http://alexking.org/projects/wordpress/readme?project=twitter-tools">Twitter Tools</a> plugin to copy my tweets back from twitter to my blog. But if I'm fine with exposing my twitter followers with #spymaster notifications, I'd rather not show them to my blog readers.</p>
<p>There is no way currently in the plugin to exclude tweets based on words, so I made a patch for it:</p>
<p><img class="aligncenter size-full wp-image-540" title="blacklist in the twitter tools options menu" src="/uploads/2009/05/twittertools-blacklist.jpg" alt="blacklist in the twitter tools options menu" width="434" height="154" /></p>
<p>You can download <a title="patch for Twitter Tools 1.6" href="/uploads/2009/05/twittertools-blacklist.patch">the patch</a> for the current 1.6 version and apply it with the following command:</p>
<pre style="padding-left: 30px;">patch twitter-tools.php &lt; twittertools-blacklist.patch</pre>
<p>I hope this feature will make it in the next version of the plugin.</p>
]]></content:encoded>
			<wfw:commentRss>http://w00kie.com/2009/05/30/blacklisting-words-in-twitter-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Meta-tags proposal for the new DiggBar</title>
		<link>http://w00kie.com/2009/04/18/meta-tags-proposal-for-the-new-digg-bar/</link>
		<comments>http://w00kie.com/2009/04/18/meta-tags-proposal-for-the-new-digg-bar/#comments</comments>
		<pubDate>Sat, 18 Apr 2009 06:27:39 +0000</pubDate>
		<dc:creator>w00kie</dc:creator>
				<category><![CDATA[internet]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[digg]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://w00kie.com/?p=421</guid>
		<description><![CDATA[Many think the DiggBar is evil. I don't. I find it ingenious, especially the digg.com pre-pending which will automatically generate a shortened URL for you as well as a "Submit to Digg" button if the page URL has not been &#8230; <a href="http://w00kie.com/2009/04/18/meta-tags-proposal-for-the-new-digg-bar/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Many think the <a title="Digg bar announcement" href="http://blog.digg.com/?p=591">DiggBar</a> is evil. I don't. I find it ingenious, especially the <em>digg.com</em> pre-pending which will automatically generate a shortened URL for you as well as a "Submit to Digg" button if the page URL has not been submitted yet.</p>
<p><img class="aligncenter size-full wp-image-424" title="prepending digg.com for the digg bar" src="/uploads/2009/04/diggbar-prepend.jpg" alt="prepending digg.com for the digg bar" width="440" height="26" /></p>
<p><img class="aligncenter size-full wp-image-425" title="unsubmitted diggbar" src="/uploads/2009/04/diggbar.jpg" alt="unsubmitted diggbar" width="500" height="190" /></p>
<p>However, when you submit a link to Digg by this way, the title and description of the item are empty by default, placing the burden to fill up these fields on the submitter. He needs to go back to the page, copy the title, copy some text of the article or make up a better description, which is all a pain and poses a big hurdle...</p>
<p><img class="aligncenter size-full wp-image-422" title="Digg submission - all empty" src="/uploads/2009/04/digsubmit.jpg" alt="Digg submission - all empty" width="500" height="153" /></p>
<p>Digg <a title="Digg tools" href="http://digg.com/tools/integrate#3">offers a way</a> for webmasters to create a link that will pre-fill these fields with the data you want your readers to use. This is done by simply setting some parameter in a URL to put as target of the link:</p>
<pre>http://digg.com/submit?url=example.com&amp;title=TITLE&amp;bodytext=DESCRIPTION&amp;media=MEDIA&amp;topic=TOPIC</pre>
<p>But this process is not compatible with the DiggBar and its URL pre-pending feature. What we, webmasters, need is a way to define these values that will work everytime.</p>
<p><strong>Why not Meta tags?</strong> Step 1 of the step 2 in the screenshot above is Digg downloading the page to check it really exists and provide potential thumbnails for the submission. At this stage they could read a couple of meta tags in the &lt;head&gt; of the page and use that to pre-fill these fields.</p>
<pre>&lt;meta name="digg-title"  content="My title here" /&gt;
&lt;meta name="digg-description" content="My 350 characters excerpt." /&gt;</pre>
<p>It would then be trivial to write a WordPress plugin that generates these meta from your post title and excerpt (or similar concepts in other CMS platforms).</p>
<p>If you think this would be a feature you would like to see, I invite you to digg this blog post: <a title="Digg this" href="http://digg.com/d1p1YV">http://digg.com/d1p1YV</a></p>
]]></content:encoded>
			<wfw:commentRss>http://w00kie.com/2009/04/18/meta-tags-proposal-for-the-new-digg-bar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ctype_digit error in WordPress 2.5</title>
		<link>http://w00kie.com/2008/04/02/ctype_digit-error-in-wordpress-25/</link>
		<comments>http://w00kie.com/2008/04/02/ctype_digit-error-in-wordpress-25/#comments</comments>
		<pubDate>Wed, 02 Apr 2008 04:57:26 +0000</pubDate>
		<dc:creator>w00kie</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://w00kie.com/?p=258</guid>
		<description><![CDATA[I've upgraded my blog to WordPress 2.5 last weekend. The new design of the admin backend is great and seeing things evolve like that really motivates me to pour more time into my blog and add some nice little functionalities &#8230; <a href="http://w00kie.com/2008/04/02/ctype_digit-error-in-wordpress-25/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-medium wp-image-260" title="wordpress-image-upload" src="http://w00kie.com/uploads/2008/04/wordpress-image-upload.jpg" alt="wordpress-image-upload" width="213" height="103" />I've upgraded my blog to <a title="Wordpress 2.5 announcement post" href="http://wordpress.org/development/2008/03/wordpress-25-brecker/">WordPress 2.5</a> last weekend. The new design of the admin backend is great and seeing things evolve like that really motivates me to pour more time into my blog and add some nice little functionalities that I've been thinking about lately.</p>
<p>But it happens that I came upon an error when trying out the new image uploader and I'm sure many people will get it too:</p>
<blockquote><p><strong>PHP Fatal error:</strong> Call to undefined function ctype_digit() in wp-includes/link-template.php on line 182</p></blockquote>
<p>What happens is that my flavor of PHP5 is not compiled with the ctype flag. This seems to be the default on <a title="Gentoo Linux distribution" href="http://gentoo.org">Gentoo</a>, so if you run it be sure to add the ctype use flag to your <a title="Gentoo USE Flags FAQ" href="http://gentoo-wiki.com/FAQ_USE_Flags">portage config</a>. But if you can't recompile PHP, you can just open up the file <strong>wp-includes/link-template.php</strong> and replace the line 182 as follows:</p>
<blockquote><p>Replace <span style="text-decoration: line-through;"><strong><span style="color: #ff0000;">ctype_digit</span></strong></span> with <strong><span style="color: #00ff00;">is_numeric</span></strong></p></blockquote>
<p>That should do the trick until the version 2.5.1 that should patch things up according to what I see in the bug tracker (<a title="Wordpress issue #6534" href="http://trac.wordpress.org/ticket/6534">pending issue</a> on link-template.php and a <a title="Wordpress issue #5481" href="http://trac.wordpress.org/ticket/5481">similar issue</a> in another file already merged in 2.5).</p>
]]></content:encoded>
			<wfw:commentRss>http://w00kie.com/2008/04/02/ctype_digit-error-in-wordpress-25/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: w00kie.com @ 2012-05-25 06:33:57 -->
