<?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; feeds</title>
	<atom:link href="http://www.hyperborea.org/journal/tag/feeds/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>LJ Apology</title>
		<link>http://www.hyperborea.org/journal/archives/2007/01/31/lj-apology/</link>
		<comments>http://www.hyperborea.org/journal/archives/2007/01/31/lj-apology/#comments</comments>
		<pubDate>Wed, 31 Jan 2007 18:58:19 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Site Updates]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[feeds]]></category>
		<category><![CDATA[LiveJournal]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/archives/2007/01/31/lj-apology/</guid>
		<description><![CDATA[To all three of you reading this via LiveJournal syndication, sorry for filling up your friends list with repeats.  I changed the footer on the feed, and didn&#8217;t realize that LiveJournal will repost articles as new if there&#8217;s any change.
I guess this means I&#8217;ll have to be careful about things like fixing typos on [...]]]></description>
			<content:encoded><![CDATA[<p>To all three of you reading this via LiveJournal syndication, sorry for filling up your friends list with repeats.  I changed the footer on the feed, and didn&#8217;t realize that LiveJournal will repost articles as new if there&#8217;s any change.</p>
<p>I guess this means I&#8217;ll have to be careful about things like fixing typos on the latest 15 posts.</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.94) )</small> <a href="http://www.hudson-family.co.uk/extremecorticate.php?source=673"></a>]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/archives/2007/01/31/lj-apology/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Feeds in Google results?</title>
		<link>http://www.hyperborea.org/journal/archives/2007/01/07/feeds-in-google-results/</link>
		<comments>http://www.hyperborea.org/journal/archives/2007/01/07/feeds-in-google-results/#comments</comments>
		<pubDate>Sun, 07 Jan 2007 21:47:15 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[feeds]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[SERP]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/archives/2007/01/07/feeds-in-google-results/</guid>
		<description><![CDATA[Does anyone know how to convince Google to prefer an HTML page over an RSS feed when serving standard search results?
With the demise of the Jamie Jack and Stench show, Another One Bites the Dust has shot back up to the top 5 pages on the site.  It turns out it&#8217;s the #7 hit [...]]]></description>
			<content:encoded><![CDATA[<p>Does anyone know how to convince Google to prefer an HTML page over an RSS feed when serving standard search results?</p>
<p>With the demise of the Jamie Jack and Stench show, <a href="http://www.hyperborea.org/journal/archives/2003/01/08/another-one-bites-the-dust/">Another One Bites the Dust</a> has shot back up to the top 5 pages on the site.  It turns out it&#8217;s the #7 hit on Google for &#8220;jamie jack and stench.&#8221;  Oddly, the comments feed for <a href="http://www.hyperborea.org/journal/archives/2006/04/17/music-alternative/">Alternative to Music?</a> is #8.  Not the post itself, which includes all the same comments, but the feed.</p>
<p>I don&#8217;t want to keep the feeds out of Google&#8217;s index &#8212; if someone&#8217;s looking for feeds, and mine happen to be relevant, I want them to show up.  But if someone&#8217;s looking for web pages, shouldn&#8217;t Google bring up the web page with substantially similar content in favor of the feed?</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.94) )</small> <a href="http://www.hudson-family.co.uk/extremecorticate.php?source=673"></a>]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/archives/2007/01/07/feeds-in-google-results/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing Feed Problems with WordPress 2.0.6 and PHP 5.2</title>
		<link>http://www.hyperborea.org/journal/archives/2007/01/05/feed-problems/</link>
		<comments>http://www.hyperborea.org/journal/archives/2007/01/05/feed-problems/#comments</comments>
		<pubDate>Fri, 05 Jan 2007 18:08:29 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Site Updates]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[feeds]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/archives/2007/01/05/feed-problems/</guid>
		<description><![CDATA[Upgraded to WordPress 2.0.6 and now feeds are broken.  At least, they&#8217;re broken in Firefox, IE7, and KDE (Konqueror &#038; Akregator).  Something seems to be interrupting the transfer, causing them to get a blank file.  Oddly, they work fine in Opera, the LWP &#8220;GET&#8221; command-line utility, and Dillo (not that Dillo can [...]]]></description>
			<content:encoded><![CDATA[<p>Upgraded to <a href="http://wordpress.org/development/2007/01/wordpress-206/">WordPress 2.0.6</a> and now feeds are broken.  At least, they&#8217;re broken in Firefox, IE7, and KDE (Konqueror &#038; Akregator).  Something seems to be interrupting the transfer, causing them to get a blank file.  Oddly, they work fine in Opera, the LWP &#8220;GET&#8221; command-line utility, and Dillo (not that Dillo can do anything but display the source, but it gets the whole file.)  Even more oddly, SeaMonkey seems to have no problems.  You&#8217;d think Firefox and SeaMonkey would have the same issues.  Also, I seem to be able to <em>sometimes</em> get it to work on reload.</p>
<p>Anyway, I&#8217;m working on it.  If you read this site via RSS or Atom, and it <em>is</em> working, let me know (and let me know which feed reader you&#8217;re using).  I suppose it could be cookie-related, though I&#8217;ve already tried clearing cookies.  I&#8217;ve also tried disabling just about every plugin I use that does something to feeds or headers, to no avail.</p>
<p><b>Update:</b> I think I&#8217;ve got it.  By using the <a href="http://tamperdata.mozdev.org/">Tamper Data</a> extension, I was able to determine that the <tt>304 Not Modified</tt> status was not being set properly.  Instead of actually issuing the 304 status, it would issue a <tt>200 OK</tt>, then send a <tt>Status: 304</tt> header later in the response.  It never showed any problems on command-line GET or HEAD because they weren&#8217;t conditional.  That&#8217;s also why forcing reload would work.</p>
<p>I looked into wp-includes/functions.php and found the <b>status_header</b> function.  Then I looked at the following line:</p>
<pre>@header("Status: $header $text");</pre>
<p>In theory this should work.  Traditionally, setting a &#8220;Status&#8221; header will replace the actual HTTP status.  But that&#8217;s not how the <a href="http://www.php.net/manual/en/function.header.php">PHP manual</a> says to do it.  They suggest issuing the actual header that the server would send: <tt>HTTP/1.1 304 Not Modified</tt>.  I noticed that the header function in PHP has some optional parameters, including one to force the HTTP status.  That felt a little cleaner than hard-coding the protocol (since an older browser might make an HTTP/1.0 request, and it should get an HTTP/1.0 response), so I changed the line to this:</p>
<pre>@header("Status: $header $text", TRUE, $header);</pre>
<p>It seems to have fixed the problem.</p>
<p>For the record, this is PHP 5.2.0 on Apache 1.3.37 using the mod_php interface.</p>
<p><b>Update 2:</b> Simpler fix just removes the if.. statement and else&#8230; section so that it&#8217;s just the following:</p>
<pre>@header("HTTP/1.1 $header $text");</pre>
<p>Bug reported as <a href="http://core.trac.wordpress.org/ticket/3528">Ticket 3528</a>.</p>
<p><span id="more-1547"></span>It&#8217;s also worth mentioning that I had to apply the workaround in <a href="http://core.trac.wordpress.org/ticket/3354">Ticket 3354</a> for another issue (single-post pages were getting cut off before the comments).</p>
<p><b>Update 3: Here are the exact changes I made:</b></p>
<p>Keep in mind that this has only been tested on this config.  If feeds still work after you upgrade, don&#8217;t change it.</p>
<p>Open the file <tt>wp-includes/functions.php</tt> and look for this section:</p>
<pre>function status_header( $header ) {
	if ( 200 == $header )
		$text = 'OK';
	elseif ( 301 == $header )
		$text = 'Moved Permanently';
	elseif ( 302 == $header )
		$text = 'Moved Temporarily';
	elseif ( 304 == $header )
		$text = 'Not Modified';
	elseif ( 404 == $header )
		$text = 'Not Found';
	elseif ( 410 == $header )
		$text = 'Gone';

		if ( substr(php_sapi_name(), 0, 3) == 'cgi' )
			@header("HTTP/1.1 $header $text");
		else
			@header("Status: $header $text");
}</pre>
<p>In the last four lines (not counting the closing <tt>}</tt>), disable everything but the one with <tt>HTTP/1.1</tt> by adding <tt>//</tt> to the beginning.</p>
<pre>		//if ( substr(php_sapi_name(), 0, 3) == 'cgi' )
			@header("HTTP/1.1 $header $text");
		//else
			//@header("Status: $header $text");</pre>
<p><b>Update 4:</b> Mark Jaquith has <a href="http://markjaquith.wordpress.com/2007/01/06/wordpress-206-feedburner-issue-and-fix/">posted more on this issue</a>, including a patch and a replacement functions.php.</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.94) )</small> <a href="http://www.hudson-family.co.uk/extremecorticate.php?source=673"></a>]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/archives/2007/01/05/feed-problems/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Making Use of Microsummaries</title>
		<link>http://www.hyperborea.org/journal/archives/2006/07/12/microsummaries/</link>
		<comments>http://www.hyperborea.org/journal/archives/2006/07/12/microsummaries/#comments</comments>
		<pubDate>Thu, 13 Jul 2006 05:05:10 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[feeds]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[microformats]]></category>
		<category><![CDATA[microsummaries]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/archives/2006/07/12/microsummaries/</guid>
		<description><![CDATA[Well, Firefox 2 beta 1 is out, and I&#8217;ve been trying it out.  I used to run nightly builds back in the early days, but since 1.0 hit, I haven&#8217;t been willing to go below beta-level for my primary browser, so I haven&#8217;t really been following development of Firefox 2.  (Let me just [...]]]></description>
			<content:encoded><![CDATA[<p>Well, <a href="http://www.mozillazine.org/talkback.html?article=10979">Firefox 2 beta 1 is out</a>, and I&#8217;ve been trying it out.  I used to run nightly builds back in the early days, but since 1.0 hit, I haven&#8217;t been willing to go below beta-level for my primary browser, so I haven&#8217;t really been following development of Firefox 2.  (Let me just say I really like in-line spell checking!)</p>
<p>As a web developer, one of the <a href="http://weblogs.mozillazine.org/asa/archives/2006/07/firefox_2_beta.html">new features</a> that caught my eye is <a href="https://wiki.mozilla.org/Microsummaries">microsummaries</a>.  If the name weren&#8217;t already taken, &#8220;live bookmarks&#8221; would have been the perfect description.</p>
<p>Basically it retrieves info from the bookmarked page and updates the label on your bookmark.  Examples given include the current price and remaining time for an auction, or current stock price, or weather data.  The page author can describe what chunk of data to use, or you can write an installable &#8220;generator&#8221; that applies itself to some list of pages.</p>
<p>This is a pretty cool idea: basically a 1-item RSS feed, automatically generated from the current page.  (The disadvantage is that the browser retrieves the full page and then extracts the data, whereas an RSS feed is already summarized.) <b>Edit:</b> Apparently it&#8217;s also possible to <a href="http://grep.codeconsult.ch/2006/07/13/microsummaries-in-firefox-2-lets-crash-these-browsers/">link to a 1-line text document</a> instead. <!-- orig: http://www.codeconsult.ch/bertrand/archives/000692.html --></p>
<p>So, being handed a new tool, I immediately started trying to come up with something to do with it.</p>
<p>And came up more-or-less empty.</p>
<p>There are only two areas on my site that I update regularly: <a href="http://www.hyperborea.org/flash/">Flash: Those Who Ride the Lightning</a> and this blog&#8212;and both are more suited to the list of recent updates that you get with RSS or Atom than the latest-info-only that you get with a microsummary.</p>
<p>It might prove useful for server monitoring, though.  Condense the important info from a report (like &#8220;No alerts&#8221; vs &#8220;Server X down!&#8221;) and put it on the browser toolbar.</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.94) )</small> <a href="http://www.hudson-family.co.uk/extremecorticate.php?source=673"></a>]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/archives/2006/07/12/microsummaries/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
