So I’m having a problem with Bird Feeder.
I’m running Wordpress, which keeps the wp-rss.php, wp-rss2.php, wp-rdf.php, and wp-atom.php files in the root directory.
Per the readme file, I installed the Bird Feeder pepper in Mint preferences, unzipped and uploaded the feeder directory with no errors, and skipped the non-PHP section, since my feeds are already serving up as PHP.
At the top of wp-rss.php, wp-rss2.php, wp-rdf.php, and wp-atom.php, I added:
<?php
define('BIRDFEED', 'Feed Name');
include($_SERVER['DOCUMENT_ROOT'].'/feeder/index.php');
?>
So far so good. Feeds still working, no problem. Then I change the contents of <link> to:
<?php $BirdFeeder->seed(get_the_title_rss(), get_permalink()); ?>
Per the readme, and everything breaks. The feed error is:
The following tags were not closed: rss, channel, item, link. Error processing resource ‘wp-rss2.php’.
But the real problem is that when serving the php file, the file breaks right at the beginning of that BirdFeeder command, thus the rest of the file never gets served, and the error message comes up instead.
Any suggestions?