First off i am not doing a sitewide rss feed pull for my home page. I have done this by modifying andrea_r recent posts code http://blogs.itworldcanada.com/code/ah-recent-posts-mu.txt
Now for the problem. I am creating a new "section" in my MU site that will have 5-6 blogs that all have custom templates that interlink with each other.
The "Home page" for this section is required to pull in the latest posts from the other 5 blogs and display them and only them on the page. For other blogs I've used fetch rss to display rss feeds from a related external blog or site.
<h4>PcWorld Canada RSS </h4>
<?php // Get RSS Feed(s)
include_once(ABSPATH . WPINC . '/rss.php');
$rss = fetch_rss('http://blogs.pcworld.ca/feed/');
$maxitems = 5;
$items = array_slice($rss->items, 0, $maxitems);
?>
Then a loop to write the code to the page... which is working fine.
This works flawlessly.... but only sites that are not in my wpmu install work. If i replace the url with anything that is also on the wpmu install simply returns No items.
I have tried other wp blogs and even wpmu blogs and they all work fine.
The problem seems to be related to virtual subdirectories. In that blogs.yourdomain.com/blog/feed/ does not actually have a directory called "blog" on the server only a value sored in a database that is then interpreted as a directory when the request is made..(I think)
Does anyone know if there is a php value for getting the virtual directories.. or another way to solve this problem ... without using an asp page on a different server thats pulled in by an IFrame....Yuck but it may end up being my only solution.
Thanks, Radecki