• Hello,

    I’m new to wordpress/php and I’m trying to create new posts dynamically through a xml file.

    The xml I’m working with is this one.

    The file get updated periodically during the day in a FILO fashion (new item are added at the top and the bottom one get push out) and right now we have someone manually creating new posts every few hours by grabbing a few value in each items.

    So what I’m wondering is if I can automate this process?

    Whenever this file is updated. WordPress will create a new post with the new item only.

    I’m able to pull values out of the xml file, but I’m having trouble creating a post dynamically and also set it so it will only create the new items, so I won’t have any duplicates.

    Also I’m not sure if this will effect much of the code, but I’m using the ACF plugin, so there are some custom fields in the post as well.

    Thanks in advance.

  • The topic ‘Create Posts Dynamically Via XML File’ is closed to new replies.