<?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>K-Squared Ramblings &#187; plugin</title>
	<atom:link href="http://www.hyperborea.org/journal/tag/plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hyperborea.org/journal</link>
	<description>Sci-fi, comics, humor, photos...it&#039;s all fair game.</description>
	<lastBuildDate>Sat, 21 Nov 2009 07:49:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='www.hyperborea.org' port='80' path='/journal/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>Working on a Twitter Tools Filter for #fb Tags</title>
		<link>http://www.hyperborea.org/journal/archives/2009/11/13/tt-filter/</link>
		<comments>http://www.hyperborea.org/journal/archives/2009/11/13/tt-filter/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 07:45:00 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Site Updates]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/archives/2009/11/13/line-items-for-2009-11-13/</guid>
		<description><![CDATA[Since the normal Twitter/Facebook link stopped working, I&#8217;ve switched to Selective Twitter Status. Instead of importing all your Twitter status updates to Facebook, it only pulls in the ones that end with the hashtag #fb.  I&#8217;ve thrown together a plugin that hooks into Twitter Tools and filters out that tag when building a daily [...]]]></description>
			<content:encoded><![CDATA[<p>Since the normal Twitter/Facebook link stopped working, I&#8217;ve switched to Selective Twitter Status. Instead of importing all your Twitter status updates to Facebook, it only pulls in the ones that end with the hashtag #fb.  I&#8217;ve thrown together a plugin that hooks into Twitter Tools and filters out that tag when building a daily or weekly digest. (It was complicated by the fact that the README didn&#8217;t provide any real detail for the relevant API hook.) I tested the function outside of WordPress, then set it up to run on Thursday evening.</p>
<p>Good: It worked! Every instance of the #fb tag was removed, and everything else stayed.<br />
Bad: Twitter Tools posted four copies of the digest.</p>
<p>Well, Twitter Tools does that sometimes.  I&#8217;ll frequently see it post 2 or even 3 copies, and while I&#8217;ve determined it&#8217;s not related to WP Super-Cache, I haven&#8217;t gotten around to seriously debugging it.  So I don&#8217;t know if it has anything to do with my plugin.  Actually, it probably doesn&#8217;t, since it runs <em>within</em> the digest-building code.</p>
<p>For what it&#8217;s worth, Friday posted only two copies of the digest. I only found one item worth saving, though. (Well, two, but I expanded the other one into this post.)</p>
<p>I guess it still needs some testing. When I&#8217;m sure it&#8217;s working properly, I&#8217;ll post the code.</p>
<hr /><small>Copyright &copy; 2009 Kelson Vibber and/or Katherine Foreman.<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. Permission granted to Planet Antispam and LiveJournal syndication feed ksquaredramblin.  If this content is not in your news reader or one of the sites listed above, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint: bc1c453a98ff79bab5c4fca2d890469d (38.107.191.92) )</small> <a href="http://www.hudson-family.co.uk/extremecorticate.php?source=673"></a>]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/archives/2009/11/13/tt-filter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Mobile Validating Patch</title>
		<link>http://www.hyperborea.org/journal/archives/2009/02/17/wordpress-mobile-validating-patch/</link>
		<comments>http://www.hyperborea.org/journal/archives/2009/02/17/wordpress-mobile-validating-patch/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 07:50:07 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Computers/Internet]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/?p=3675</guid>
		<description><![CDATA[I&#8217;ve been using Alex King&#8217;s WordPress Mobile Edition for a while to provide a mobile-friendly version of this blog, but haven&#8217;t really paid much attention to it since my last few phones were extremely limited in web browsing ability.  Since I got the G1, I&#8217;ve been paying more attention to mobile access, including setting [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="http://alexking.org/">Alex King&#8217;s</a> WordPress Mobile Edition for a while to provide a mobile-friendly version of this blog, but haven&#8217;t really paid much attention to it since my last few phones were extremely limited in web browsing ability.  Since I got the G1, I&#8217;ve been paying more attention to mobile access, including setting up <a href="http://www.bravenewcode.com/wptouch/">WPTouch</a> for a high-functioning iPhone&#8211; &#038; Android&#8211;friendly version of the site.  Last week I finally got around to testing the two plugins in combination, and determined that they do seem to work together with the right priorities.</p>
<p>I also ran the main page through the mobile-readiness evaluator at <a href="http://ready.mobi/">ready.mobi</a>, and noticed that most of the issues it cited with the mobile edition of the site were really simple changes.  Some were basics like fixing unbalanced HTML, and others were recommended practices like including a DOCTYPE and making sure that headings were nested properly.  So I whipped together a patch for WordPress Mobile Edition 2.1a.  (It&#8217;s labeled as 2.1.1 in the readme, but it shows up as 2.1a in the list of plugins.)</p>
<h3>Changes:</h3>
<ul>
<li>Add XHTML Mobile 1.2 Doctype.</li>
<li>Fix unbalanced &lt;small&gt; tag.</li>
<li>Fix mising &lt;ul&gt; tags around list of recent posts.</li>
<li>Avoid empty class attribute on comments.</li>
<li>Add type attribute to style element.</li>
<li>Change non-standard value attribute on &lt;meta&gt; tag to content attribute.</li>
<li>Reassign headings so that h1, h2, h3 appear in order.</li>
</ul>
<h3>Download:</h3>
<p><a href="http://www.hyperborea.org/software/wordpress/wp-mobile-validation.patch">wp-mobile-validation.patch</a></p>
<p>The patch should be applied to the wp-mobile folder that you place in your themes folder.</p>
<p><b>Update:</b> This has been completely superseded by more recent versions of the plug-in, which use Carrington Mobile instead.</p>
<hr /><small>Copyright &copy; 2009 Kelson Vibber and/or Katherine Foreman.<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. Permission granted to Planet Antispam and LiveJournal syndication feed ksquaredramblin.  If this content is not in your news reader or one of the sites listed above, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint: bc1c453a98ff79bab5c4fca2d890469d (38.107.191.92) )</small> <a href="http://www.hudson-family.co.uk/extremecorticate.php?source=673"></a>]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/archives/2009/02/17/wordpress-mobile-validating-patch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bunny&#8217;s Technorati Tags and WordPress 2.0</title>
		<link>http://www.hyperborea.org/journal/archives/2005/12/30/bunny-tags-in-wp2/</link>
		<comments>http://www.hyperborea.org/journal/archives/2005/12/30/bunny-tags-in-wp2/#comments</comments>
		<pubDate>Sat, 31 Dec 2005 00:36:26 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Site Updates]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[bunny]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[tags]]></category>
		<category><![CDATA[technorati]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/archives/2005/12/30/bunny-tags-in-wp2/</guid>
		<description><![CDATA[Solved!  To make Bunny&#8217;s Technorati Tags fully compatible with WordPress 2.0 you need to change two lines in the add_tags_textinput() function.
Just replace this:
function add_tags_textinput() {
	global $postdata;
	$tags = get_post_meta($postdata->ID, 'tags', true);
with this:
function add_tags_textinput() {
	global $post_ID;
	$tags = get_post_meta($post_ID, 'tags', true);
The problem is that it will show existing tags, or let you add a new tag, but [...]]]></description>
			<content:encoded><![CDATA[<p>Solved!  To make <a href="http://plugins.trac.wordpress.org/wiki/BunnysTechnoratiTags">Bunny&#8217;s Technorati Tags</a> fully <a href="http://codex.wordpress.org/User:Matt/2.0_Plugin_Compatibility">compatible with WordPress 2.0</a> you need to change two lines in the <code>add_tags_textinput()</code> function.</p>
<p>Just replace this:</p>
<pre>function add_tags_textinput() {
	global <b>$postdata</b>;
	$tags = get_post_meta(<b>$postdata->ID, 'tags', true);</b></pre>
<p>with this:</p>
<pre>function add_tags_textinput() {
	global <b>$post_ID</b>;
	$tags = get_post_meta(<b>$post_ID</b>, 'tags', true);</pre>
<p>The <a href="http://www.hyperborea.org/journal/archives/2005/12/30/wp2/">problem</a> is that it will show existing tags, or let you add a new tag, but it will lose tags when you edit a post.  It&#8217;s not able to retrieve the tags to fill in the form field, apparently because $postdata isn&#8217;t returning the ID it expects.</p>
<p>I&#8217;ve <a href="http://plugins.trac.wordpress.org/ticket/339">submitted the fix</a> to wp-plugins.org, so if the author is keeping track of tickets there, the fix should show up in the next version of the plugin.</p>
<p><b>Update Jan. 3:</b> The plugin author has <a href="http://climbtothestars.org/archives/2006/01/03/plugin-updates-for-wordpress-20/">released version 0.5</a> with a slightly different fix (plus a few other improvements), and it&#8217;s now compatible with WordPress 2.0.</p>
<hr /><small>Copyright &copy; 2009 Kelson Vibber and/or Katherine Foreman.<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. Permission granted to Planet Antispam and LiveJournal syndication feed ksquaredramblin.  If this content is not in your news reader or one of the sites listed above, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint: bc1c453a98ff79bab5c4fca2d890469d (38.107.191.92) )</small> <a href="http://www.hudson-family.co.uk/extremecorticate.php?source=673"></a>]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/archives/2005/12/30/bunny-tags-in-wp2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accidental Blogspam</title>
		<link>http://www.hyperborea.org/journal/archives/2005/06/14/accidental-blogspam/</link>
		<comments>http://www.hyperborea.org/journal/archives/2005/06/14/accidental-blogspam/#comments</comments>
		<pubDate>Tue, 14 Jun 2005 16:45:07 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Site Updates]]></category>
		<category><![CDATA[Spam]]></category>
		<category><![CDATA[comments]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[subscribe]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/archives/2005/06/14/accidental-blogspam/</guid>
		<description><![CDATA[I just got a complaint about the latest comment on Another One Bites the Dust.  Apparently the previous commenter (who checked the &#8220;Subscribe to comments&#8221; box) either entered someone else&#8217;s email address or forgot visiting the site.  It&#8217;s a name123@example.com-style address, so it could easily have been a typo.
Either way, the new comment [...]]]></description>
			<content:encoded><![CDATA[<p>I just got a complaint about the latest comment on <a href="http://www.hyperborea.org/journal/archives/2003/01/08/another-one-bites-the-dust/">Another One Bites the Dust</a>.  Apparently the previous commenter (who checked the &#8220;Subscribe to comments&#8221; box) either entered someone else&#8217;s email address or forgot visiting the site.  It&#8217;s a name123@example.com-style address, so it could easily have been a typo.</p>
<p>Either way, the new comment notice went out, and the recipient sent me a spam complaint.  I apologized and removed him from the update list, but it moves &#8220;accidental spam&#8221; from a theoretical risk to an observed problem.  I&#8217;ve disabled the subscription plugin until I have a chance to figure this out.</p>
<p>The good news is that <a href="http://txfx.net/code/wordpress/subscribe-to-comments/">Subscribe to Comments 2.0</a> is out now, so I should be able to upgrade when I get a chance.  The bad news is that it doesn&#8217;t seem to have added a confirmation step, meaning it&#8217;s still (effectively) opt-out.  Sure, you have to opt-in to get it in the first place&#8230;but the fact is that <em>anyone</em> can opt you in just by giving your email address instead of their own.</p>
<hr /><small>Copyright &copy; 2009 Kelson Vibber and/or Katherine Foreman.<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. Permission granted to Planet Antispam and LiveJournal syndication feed ksquaredramblin.  If this content is not in your news reader or one of the sites listed above, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint: bc1c453a98ff79bab5c4fca2d890469d (38.107.191.92) )</small> <a href="http://www.hudson-family.co.uk/extremecorticate.php?source=673"></a>]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/archives/2005/06/14/accidental-blogspam/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Open Letter to WordPress Plugin Authors</title>
		<link>http://www.hyperborea.org/journal/archives/2005/05/25/open-letter-to-wordpress-plugin-authors/</link>
		<comments>http://www.hyperborea.org/journal/archives/2005/05/25/open-letter-to-wordpress-plugin-authors/#comments</comments>
		<pubDate>Wed, 25 May 2005 15:12:47 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Computers/Internet]]></category>
		<category><![CDATA[authors]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/?p=883</guid>
		<description><![CDATA[Please, when developing your plugins, be sure to always use the full opening tag for PHP:
&#60;?php code goes here ?&#62;
On some servers&#8212;maybe even your own&#8212;you can shorten this to just the opening &#60;?.  The following line in php.ini will disable this &#8220;feature,&#8221; and many web server administrators do so to simplify things like generating [...]]]></description>
			<content:encoded><![CDATA[<p>Please, when developing your plugins, be sure to always use the full opening tag for PHP:</p>
<p><code>&lt;?php code goes here ?&gt;</code></p>
<p>On <em>some</em> servers&#8212;maybe even your own&#8212;you can shorten this to just the opening <code>&lt;?</code>.  The following line in php.ini will disable this &#8220;feature,&#8221; and many web server administrators do so to simplify things like generating XML with PHP:</p>
<p><code>short_open_tag = Off</code></p>
<p>When this option is set, PHP will ignore <code>&lt;?</code> and assume it&#8217;s simply part of the template&#8230; along with all the code following it.  If you&#8217;re lucky, it means a bunch of PHP code gets sent to the web browser.  If you&#8217;re not lucky, it results in invalid syntax, and PHP grinds to a halt, spitting out a blank page and a PHP Parse Error.</p>
<p>So please make sure you always use the full opening tag so that your plugin will be compatible with <em>everyone&#8217;s</em> system.  If you run your own server, set that option in php.ini so that if you miss one, you can catch it before you post it.</p>
<hr /><small>Copyright &copy; 2009 Kelson Vibber and/or Katherine Foreman.<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. Permission granted to Planet Antispam and LiveJournal syndication feed ksquaredramblin.  If this content is not in your news reader or one of the sites listed above, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint: bc1c453a98ff79bab5c4fca2d890469d (38.107.191.92) )</small> <a href="http://www.hudson-family.co.uk/extremecorticate.php?source=673"></a>]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/archives/2005/05/25/open-letter-to-wordpress-plugin-authors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
