{"id":190,"date":"2013-12-08T21:24:27","date_gmt":"2013-12-08T21:24:27","guid":{"rendered":"https:\/\/ahorseforonebin.co.uk\/?p=190"},"modified":"2023-07-04T11:46:30","modified_gmt":"2023-07-04T11:46:30","slug":"feed-the-birds-tuppence-a-bag","status":"publish","type":"post","link":"https:\/\/ahorseforonebin.co.uk\/?p=190","title":{"rendered":"feed the birds (tuppence a bag)"},"content":{"rendered":"<p>Because Young Mister Masher started me thinking about the main blog&#8217;s RSS feeds&#8230;<\/p>\n<p>And also because Young Mister Punctuation added further fuel to my thoughts&#8230;<\/p>\n<p>I have been thinking.<\/p>\n<p>Yeah I know.<\/p>\n<p>Dangerous.<\/p>\n<p>Anyway.<\/p>\n<p>The main blog generates a direct and an indirect feed.<\/p>\n<p>The direct feed is the generic \/blog\/?feed=rss2. The indirect feed is a Feedburner product.<\/p>\n<p>What happens with the indirect feed is that Feedburner sucks in the direct feed address (and all traffic on it) and spits it out via an indirect address of http:\/\/feeds.feedburner.com\/.<\/p>\n<p>I ran the blog&#8217;s direct RSS feed through Feed Validator and it passed, but with two minors.<\/p>\n<p>Then I ran the blog&#8217;s indirect RSS feed through Feed Validator and it failed.<\/p>\n<p>Stone dead.<\/p>\n<p>What the?<\/p>\n<p>How?<\/p>\n<p>I scratched my head.<\/p>\n<p>How is it possible that a website feed can generate an acceptable RSS content, but when that feed is parsed through Feedburner it generates a fail?<\/p>\n<p>Anyway, I stopped scratching my head, fired up an FTP session and renamed the plugin folder, then ran the Feed Validator sessions again.<\/p>\n<p>The results for the direct feed came back with a pass and one minor.<\/p>\n<p>The results for the indirect feed came back with a big fat &#8216;F&#8217; again.<\/p>\n<p>I reconnected the plugins folder and inspected the .php for each one, looking for rogue spaces outside the &lt; and &gt;.<\/p>\n<p>None found.<\/p>\n<p>Then I checked theme-functions.php looking for the same thing.<\/p>\n<p>None found.<\/p>\n<p>Then I checked theme-functions.php in the child theme I have running.<\/p>\n<p>None found.<\/p>\n<p>I switched themes to a native WordPress template and revalidated the RSS through Feed Validator.<\/p>\n<p>The directly generated theme came back with a big green tick and one minor.<\/p>\n<p>I pinged the indirectly generated theme through Feedburner, made myself a mug of hot chocolate and then revalidated the RSS for that one.<\/p>\n<p>This too came back with a big green tick and one minor.<\/p>\n<p>A theme problem, then?<\/p>\n<p>Seems likely.<\/p>\n<p>I changed the theme to a low-impact design I used for a year or so, checked the four plugins I use were good to go and revalidated the directly generated feed.<\/p>\n<p>Green. One minor.<\/p>\n<p>I pinged Feedburner and revalidated the indirectly generated feed.<\/p>\n<p>Green. One minor.<\/p>\n<p>(At this point I had a thought: I bet these changes will make Mister Masher&#8217;s Yahoo feed reader&#8217;s cup overfloweth)<\/p>\n<p>Anyway.<\/p>\n<p>I downloaded the current version of the Mantra theme (the one I use as my default design template), unzipped it, and uploaded it to the server.<\/p>\n<p>Then I switched the theme back to Mantra and ran the feed validations again.<\/p>\n<p>Both failed.<\/p>\n<p>This is pretty conclusive evidence that there&#8217;s a .php problem somewhere in the Mantra product.<\/p>\n<p>Although the problem doesn&#8217;t stop RSS publication through the direct feed, somehow it becomes a bigger issue when the direct feed is parsed through Feedburner &#8211; and stops the indirect feed from working.<\/p>\n<p>So when Young Mister Punctuation said his feeds had not been disrupted during the last server change, this was (probably) because he is subscribed to the directly generated feed. I need to check this.<\/p>\n<p>And when Young Mister Masher declared feed issues, the last time I did a server swap, it was (probably) because he was subscribed to the Feedburner feed. I need to check on this too.<\/p>\n<p>So, to wrap this up for now: I have switched the theme away from Mantra, to the one I validated both feeds successfully against about half an hour ago.<\/p>\n<p>I have switched the four plugins on.<\/p>\n<p>I have just run a final feed revalidation against both feeds and they both passed (with the same minor).<\/p>\n<p>I will start to debug the Mantra theme tomorrow.<\/p>\n<p>Oh, and I&#8217;m unconcerned with the minor that shows up.<\/p>\n<p>It&#8217;s the same one every time, and it is related to YouTube&#8217;s encoding of embedded content.<\/p>\n<p>So a big fat &#8216;meh&#8217; to that one.<\/p>\n<p>Tomorrow I&#8217;ll debug.<\/p>\n<p>Tonight I&#8217;ll drink hot chocolate and watch an episode of Outnumbered.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Because Young Mister Masher started me thinking about the main blog&#8217;s RSS feeds&#8230; And also because Young Mister Punctuation added further fuel to my thoughts&#8230; I have been thinking. Yeah I know. Dangerous. Anyway. The main blog generates a direct and an indirect feed. The direct feed is the generic \u2026 <a class=\"continue-reading-link\" href=\"https:\/\/ahorseforonebin.co.uk\/?p=190\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-190","post","type-post","status-publish","format-standard","hentry","category-admin"],"_links":{"self":[{"href":"https:\/\/ahorseforonebin.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/190","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ahorseforonebin.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ahorseforonebin.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ahorseforonebin.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ahorseforonebin.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=190"}],"version-history":[{"count":3,"href":"https:\/\/ahorseforonebin.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/190\/revisions"}],"predecessor-version":[{"id":595,"href":"https:\/\/ahorseforonebin.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/190\/revisions\/595"}],"wp:attachment":[{"href":"https:\/\/ahorseforonebin.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=190"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ahorseforonebin.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=190"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ahorseforonebin.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=190"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}