Hi Everybody,
Wow, I'm so glad to have found this place. I'm fumbling with php as I go along, and I'm stuck on a problem.
I'm hacking into a plugin for wordpress - it's an rss plugin that displays the feed's links. But I want it to display the feed's content instead, so I look through the code and I found the lines that display the data. Problem is, I can't get it to load the feed's posts.
Take a look:
$summary = '<div class="rssSummary">' . $item['description'] . '</div>';
echo "<li>$summary</li>";
See where it says 'description'? I discovered that that corresponds to tags in the rss feed; if I put something else there, such as 'link' 'date' 'title' the plugin is able to find that corresponding data in the feed, and display it correctly.
In the feed, the content I want displayed is labeled with <content:encoded>
So I figure if I put content:encoded in place of description, and it should work.
But it doesn't - the function outputs nothing.
Damn, so close! What am I missing here?
Thanks!