OOPS... PLEASE DISREGARD ABOVE POST AND READ THIS ONE! Olly.
thank you NC@WP. I'm testing this plugin, but...
surely the php script is the way to go. I am having a problem with this though!
to recap, i have a few blogs, and want the last post from each to appear on a portal page. so for the portal page I have the following php...
<div><h1>Blog 1</h1>
<p><?php include_once ($_SERVER['DOCUMENT_ROOT'].'/blog1/latest_post.php'); ?></p></div>
<div><h1>Blog 2</h1>
<p><?php include_once ($_SERVER['DOCUMENT_ROOT'].'/blog2/latest_post.php'); ?></p></div>
...and that calls latest_post.php, from each blog. latest_post.php contains...
<?php $limit=1; $more=1; $count=1;
if (empty($wp)) {require_once('wp-config.php'); wp('feed=rss');}
if ($posts) { foreach ($posts as $post) { start_wp(); ?>
<h5><p class="post-info"><?php the_time('l j F Y') ?></p></h5>
<h5>" rel="bookmark" title="Enlace permanente a <?php the_title(); ?>"><?php the_title(); ?></h5>
<?php $count++; if ($count >1) { break; } } }?>
**** this says blog2, for the second blog.
Here's the problem!...
On the output html, for <h1>Blog 1</h1> the first post is correctly called, but...
On the output html, for <h1>Blog 2</h1> instead of calling the first post of blog 2, mysteriously, the SECOND post of BLOG 1 is called.
i am a php newbie. can anyone help?
Many thanks,
Olly.