There are two blogs. The client wants a category from blog 1 to appear in the RSS feed of blog 2.
is that possible?
would I use something like this?
$feed = new SimplePie(); $feed->set_feed_url(array( 'http://simplepie.org/blog/feed/', 'http://feeds.tuaw.com/weblogsinc/tuaw' )); $feed->init(); $feed->handle_content_type();
foreach ($feed->get_items() as $item) { echo $item->get_title(); echo 'Posted to ' . $item->get_feed()->get_title(); }
I know nothing about PHP can someone spell it out for me? Also the wordpress site where the feed is to be added into doesn't have a rss.php file. Do I just create one?
any help would be mucha appreciated thanks so much.