This is what i want to do:
I want /summary.php to include 5 latest posts (only the extract) from my blog, which lives in /wp.
Is there any way to include WordPress in /summary.php and only print the html for these posts? (Maybe i should parse the rss?)
Take a look to Integrating WordPress with your Website
This is an example from that page, that shows the first ten posts in alphabetical order:
Use
$posts = get_posts('numberposts=10');if you want the 10 latest posts.