• I’m running a news site which supports a print newspaper. The stories come from the newspaper’s print publishing system as XML files. The XML contains the following info:

    • Title
    • Author
    • Date
    • Excerpt
    • Content
    • Category

    I want to take this info and insert it into the WP database as posts. What is the easiest/best/most efficient way to do this?

    I was hoping I could make use of existing WP functions – that is, whatever WP uses when manually saving a post from the admin interface.

Viewing 7 replies - 1 through 7 (of 7 total)
  • If you are wanting a program for posting try a program called post2blog.
    Gives you the ability to send a post to your blog from anywhere on the web with a simple right click.
    It can be found at download.com.

    Hope this helps!

    I want to do the same thing, except I want to allow some helpers to post news items without giving them the admin login for the entire blog. Some of them have Macs, and post2blog is only for windoze, and anyway its capabilities are overkill.

    My hope is to write a cgi script that will let them do a post from a web form. Perl mod CGI can send GET or POST information to a script so I should be able to emulate input from WPs post-new.php.

    The problem is that I can’t figure out exactly how the posting process works. The method on the post-new.php form is post.php, but as far as I can tell when you click publish then the $location for the redirect on line 41 gets set to the default on line 31, which points it right back to post-new.php. So how does the publish button result in a post getting published?

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    I want to allow some helpers to post news items without giving them the admin login for the entire blog.

    Why not just give them separate user logins and make them Authors or something like that? WordPress supports more than one user.

    Why not just give them separate user logins and make them Authors or something like that? WordPress supports more than one user.

    I thought for this you had to use WordPress MU and that this separated the different users into different blog pages. You can have multiple users posting into a common blog page?

    robertlove those categories sound like an RSS feed. If so maybe you can use WP-O-MATIC https://www.easywordpress.com/labs/wordpress-plugins-wp-o-matic/

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    I thought for this you had to use WordPress MU…

    Nope.

    You can have multiple users posting into a common blog page?

    Yep.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Save post from outside WordPress’ is closed to new replies.