Hi, I'm exporting my wiki's rss to my blog's sidebar with a plugin I wrote using SimplePie. I also installed the
feed plugin to consume the comments feed as well (comments generated using the
discussion plugin, by the same author), and noticed that the plugin-generated feed uses the first heading in the entry rather than page id. I like this output better and would like to have the wiki's main feed do the same thing.
So for instance if it were a feed item for
this page, the feed item title would read "Feed Plugin - revision summary" rather than "plugin:feed - revision summary." Problem is, I have no idea which files to modify, or how. I am not an expert user by any means and have only a basic knowledge of PHP. I know a tiny bit about how to handle SimplePie, from having written a blog plugin to consume feeds. Any help to get the result I want would be much appreciated.
There's a related, lower-priority modification I'd like to make. I've noticed that the main feed uses the user's full name as author name, while the plugin-generated feed uses the user id. I'd like the plugin-generated feed to use the full name as well, for uniformity. I presume I need to change line 153 of feed.php:
//creator
if ($page['user']) $item->author = $page['user'];
What variable should I put in instead of $page['user']?