Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter neveremail

    (@neveremail)

    thanks for the links.

    They will both work well for the site.

    What about including content on external sites (different domain)

    I’d look at RSS then. Have the external site get your blog’s RSS feed and display it. There’s a ton of PHP rss gizmos that should make that reasonably painless.

    Thread Starter neveremail

    (@neveremail)

    Would it be possible to make a wordpress page including the
    <?php
    require(‘/wp-blog-header.php’);
    ?>
    and then have that page also showing only the recent posts, and then call that page to an external page by an Server Side Include?

    Sorry, this is a bit of a shameless plug 😛 but I’ve written a tool which does all the hard work for you and allows you to pull WordPress posts out of the database directly and put them on your page.

    Download from here

    Peter, does this get around the open_basedir restriction employed by some hosts?

    Well, yes and no.

    Basically, if you are allowed to connect to the database server where the WordPress stuff is, from the location where my script is, then yes.

    If you can’t connect to the database server from elsewhere, unfortunately it won’t do it.

    In short – all the script requires is access to the relevant database server, it doesn’t need access to any WordPress files.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Recent Posts on Non WordPress Pages (or different site)’ is closed to new replies.