Support » Fixing WordPress » Display my posts on another site??

  • Hi folks,
    Ive been hunting thro the topics but not coming up with ideas. How do I display posts from my current WP install on one site, on a second site.
    The second site does not have wp installed.
    I wish to show posts of a specific cat and limit the number displayed.
    Ive tried to do a staight php include but that dont work. Ive read about RSS but this is star wars to me. Can anyone suggest a method to try?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Look at David Chait’s CG-Feedread (part of his PowerPack):

    You should be able to use that on an rss feed from the category you want.

    Yes, FeedRead is a good approach. If the two sites are on the SAME MACHINE, it’s even easier to follow. If not, it’s still fairly easy (I just change what you install and where).

    Basically, grab my PowerPack. If the sites are on the same server/account (needs to be under the same account/privs for this trick), install the PowerPack into your WP site (you don’t even need to activate the plugins..), then you can just do a include of cg-feedread.php and call the getSomeFeed function with your WP site’s RSS feed url.

    If the sites aren’t on the same server account, you still grab the powerpack, but in that case just upload the cg-plugins folder alone to your non-wp site’s root (the whole folder, not just the contents, and not the plugins folder above it!), and again you can then direct-include the cg-feedread.php file and call getSomeFeed.

    Read the feedreadReadme file, as it discusses the actual function call and parameters. Post here if you have any Qs.


    Thanks guys thats great.
    This is a perfect example of a question meets an answer.
    My sites are on the same server so should be apples. I’ll go play 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Display my posts on another site??’ is closed to new replies.