How to Add Wordpress Posts into Your Main Site Index

Discussion in 'Programming' started by Jin, Jul 11, 2010.

  1. #1
    As the title says, how one can add wordpress posts into their main site index. For example, if your website's main index is on a different CMS than wordpress and you host a wordpress blog at a subdomain/folder level and also want the new posts to be shown at front page of your main index, which is not wordpress, what would you do? Any help shall be appreciated.

    Thanks
     
    Jin, Jul 11, 2010 IP
  2. RadioBounce

    RadioBounce Banned

    Messages:
    4,171
    Likes Received:
    16
    Best Answers:
    1
    Trophy Points:
    0
    #2
    RSS feeds? Not sure since it's on a different CMS. Never done it that way before.
     
    RadioBounce, Jul 11, 2010 IP
  3. Jin

    Jin Well-Known Member

    Messages:
    488
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    108
    #3
    I have seen this on several sites, so its sure that its possible.
     
    Jin, Jul 11, 2010 IP
  4. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #4
    There are several ways you can do it:
    1. Use an RSS reader script that gets the Wordpress feed.
    2. Get the posts using Wordpress functions, as explained in this article.
    3. Get the posts directly from the Wordpress database, which is definitely the hardest way.

    Easiest way is to use the RSS feed, unless you need specific posts.
     
    Cash Nebula, Jul 15, 2010 IP
  5. caciocode

    caciocode Peon

    Messages:
    65
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I use RSS feeds. There has to be a plugin that can do this for you, or some kind of widget.
     
    caciocode, Jul 16, 2010 IP