This worked for me:
include ('wp-blog-header.php');
and before:
while (have_posts()) : the_post();
you have to create wp_query, so do this for example:
query_posts('cat=1'); // or any other query args you wish
This worked for me:
include ('wp-blog-header.php');
and before:
while (have_posts()) : the_post();
you have to create wp_query, so do this for example:
query_posts('cat=1'); // or any other query args you wish