What's the best way to insert content into WP site with php?

Discussion in 'WordPress' started by Choller, Nov 25, 2008.

  1. #1
    Let's say I have this php array

    
    ['thread1']['title']            = 'This is the title of the wordpress post';
    ['thread1']['post']             = 'This is the actual content of the post';
    ['thread1']['user_comment1']    = 'User comment 1';
    ['thread1']['user_comment2']    = 'User comment 2';
    ['thread1']['user_comment3']    = 'Great Post!';
    ['thread1']['user_comment4']    = 'Amazing';
    ['thread1']['user_comment5']    = 'Good info';
    
    PHP:
    What is the best/easiest/server friendly way to create a whole wordpress post on my site?
    I'd like to use this technique to do an autoblog (with self made content in those php arrays).
     
    Choller, Nov 25, 2008 IP
  2. cipals15

    cipals15 Well-Known Member

    Messages:
    1,085
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    100
    #2
    After learning php and MySQL. I couldn't leave them anymore. The most powerful tools in web design.

    Better learn to use them. Anyway, i think autoblogs are considered spam blogs or splogs. or should i say similar to alltop.com?
     
    cipals15, Nov 25, 2008 IP
  3. Choller

    Choller Peon

    Messages:
    388
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    What?

    I know php and mysql. My question was how to insert the data in a wordpress blog....

    And my autoblog isn't a spamblog. It's a normal blog that i want to update from another place...
     
    Choller, Nov 25, 2008 IP