Login to download the latest version of Mint and your favorite Pepper, purchase additional licenses, or post in the Forum. Don't have an account? Create one!

In Partnership with Media Temple

Mint Forum

Birdfeeder putting links at top of RSS file

<?xml version=”1.0” encoding=”ISO-8859-1”?><rss version=”2.0”> http://arcaplay.com/feeder/?FeederActio … cycle+Game

That’s what is happening in my RSS file even though I have this:

<link>’.$BirdFeeder->seed($row[‘games_name’], $gameurl).’</link>

It’s actually putting multiple links at the top right under the <rss>.

Does the $BirdFeeder->seed include an echo? It could be the way I’m building my RSS file and it’s echoing the link before I actually want it to.

EDIT: I’m not sure how to post code here so I edited the xml tag to make it work here in the forum.

Yeah, I had the same problem. From what I could tell it’s either echoing or printing. If you’re doing a concatenation, it’ll make it interesting. It would be nice if there was an argument to determine whether to return the value or echo it.

Shaun Inman
Mint/Pepper Developer
Posted on Jan 30, '07 at 10:22 pm

seed() will return instead of echoing if you set the third argument to true.

eg.

<link>'.$BirdFeeder->seed($row['games_name'], $gameurl, true).'</link>

You must be logged in to reply. Login above or create an account