The MU forums have moved to WordPress.org

Post with xmlrpc in mu? 302 redirect causing problems. (12 posts)

  1. frptech
    Member
    Posted 15 years ago #

    I'm hoping someone might be able to offer up a suggestion here.

    I'm trying to post to MU based blogs via xmlrpc.

    Unfortunately, there appears to be something wrong with the initial connection/login.

    If I setup some logging when trying to do the posts via xmlrpc: Here's what get dropped into my error_log:
    XML-RPC: xmlrpcmsg::parseResponse: HTTP error, got response: HTTP/1.1 302 Found

    htaccess looks ok. I can post from the web interfaces. Not sure what I'm missing.

    any help or suggestions are appreciated...

  2. drmike
    Member
    Posted 15 years ago #

    Need you settins please (URL and API address and API at least) and what are you suing to post with? I use blogdesk without any issue to post to wp.com, daria.be and my main blog at tdjc.be without issue.

  3. iolaire
    Member
    Posted 15 years ago #

    I'm posting ok to WPMU via XML-RPC in ruby.

  4. erinther
    Member
    Posted 15 years ago #

    Hi,
    Can someone please write a simple XML-RPC code by which we can send posts to wpmu's blogs? Honestly I don't know how I can write one.

  5. drmike
    Member
    Posted 15 years ago #

    I just use Blogdesk myself.

    http://blogdesk.org

  6. lunabyte
    Member
    Posted 15 years ago #

    I use performancing when I need to. It's a Firefox extension.

  7. iolaire
    Member
    Posted 15 years ago #

    Here is a ruby example:

    require 'xmlrpc/client'
    blog_server = "www.myblog.com"
    blog_rpc_script = "/xmlrpc.php"
    server = XMLRPC::Client.new(blog_server, blog_rpc_script)
    # where postcategories is an array of categorie names
    # myusername must be an Admin
    result = server.call('metaWeblog.newPost', '1', "myusername", "mypassword", {'title' => "the story title", 'description' => "post body short",'mt_text_more' => "post body extended", 'categories' => postcategories}, '1')

  8. howtobuynow
    Member
    Posted 15 years ago #

    I've used blogdesk and rss2blog to post to my wordpress mu. In both i could not post, gor errors like xml invalid procedure call, wordpress engine error code 6 etc. I've tried searching many forums and got few suggestions like modifying the xmlrpc.php with some modifications. I've tried that too. But not worked. Atlast I've replaced the xmlrpc.php from http://trac.mu.wordpress.org/browser/trunk/xmlrpc.php to my wpmu installation overwritng it. Voila both rss2blog and blogdesk worked fine with all my wpmu blogs without any glitches as it worked with normal wordpress blog. my ex wpmu is http://blogging-adsense-affiliate.howtobuynow.com/

  9. drmike
    Member
    Posted 15 years ago #

    Actually it got updated a few days ago. See here for details:

    http://trac.mu.wordpress.org/ticket/307

  10. hwz
    Member
    Posted 14 years ago #

    Can BlogDesk be configured to post 1 article content page to several blogs on a WPMU?

  11. h1b_transfer
    Member
    Posted 13 years ago #

    I believe their is a paid membership available at

    http://premium.wpmudev.org

    that gives you access to WP MU premium plugins that can do that. Too pricey for me at $50 per mo or $300 per yr! for a handful of pluggins.

  12. andrea_r
    Moderator
    Posted 13 years ago #

    You can do the $50 for 1 month & grab everything. there's more than a "handful" of plugins there.

About this Topic

  • Started 15 years ago by frptech
  • Latest reply from andrea_r