How to get content from wordpress?

Discussion in 'WordPress' started by toretic, Sep 10, 2010.

  1. #1
    Hey guys can you help me you finding a way to get content like post titles and url's outside wordpress system, its on the same domain, something like:
    wordpress.site.com - i want t get post titles and urls from here.
    site.com - i want to put post titles and urls here.

    Thanks
     
    toretic, Sep 10, 2010 IP
  2. wounded1987

    wounded1987 Well-Known Member

    Messages:
    2,914
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    150
    #2
    u can use rss, or with mysql query.
    this is a sql method though need to change it a bit to your liking. like set correct db and other stuff. this example retrieves comments using sql.
     
    wounded1987, Sep 10, 2010 IP
  3. toretic

    toretic Peon

    Messages:
    155
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Sorry i am not really good at this kinda thing, can you please give me sample code for posts, not comments?
     
    toretic, Sep 17, 2010 IP
  4. jargodon

    jargodon Peon

    Messages:
    20
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You can try to go to wordpress.org to get these kind of info.
     
    jargodon, Sep 17, 2010 IP
  5. jalagamkalyan

    jalagamkalyan Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I use RSS and Export for this. may be u can try
     
    jalagamkalyan, Sep 20, 2010 IP