WordPress.org

Ready to get started?Download WordPress

Forums

Creating content using PHP (3 posts)

  1. jgrau
    Member
    Posted 1 year ago #

    Hi all

    I am developing a website for a company that uses a third party service for writing joblistings. I can access the joblistings using SOAP but I want to import the job listings into a custom post type in order to easily show them on the wordpress site and include them in the search results and so on.

    My problem is finding the best solution for create (importing) the content using PHP. I know how to get the data from the SOAP service but what is the 'best practice' way of getting the content into the wordpress database. I know I could probably write straigt to the database, but I am hoping for a more elegant solution.

    All help is greatly appreciated :)

    Jonas

  2. cubecolour
    ɹoʇɐɹǝpoɯ
    Posted 1 year ago #

    you could check out how other developers have made WordPress plugins to interact with services using SOAP. Eg http://wordpress.org/extend/plugins/wp-sugarcrm-api-soap/

  3. jgrau
    Member
    Posted 1 year ago #

    Thanks for the reply. It's not the SOAP part thats a problem - it's creating wordpress content through PHP (and preferably the WP API)

Topic Closed

This topic has been closed to new replies.

About this Topic