Need help? Check out our Support site, then


Atom Publishing troubles

  1. I'm trying to use the Atom Publishing Protocol to interface with my wordpress.com blog, but every time I always get rejected. I'm using cURL to start off with this. Based on what I saw here (http://torrez.us/archives/2006/08/21/486/), I've been using this command to login:

    curl -X POST -v -d "log=username&pwd=password" -c cookies.txt http://testbp2010.wordpress.com/wp-app.php/ser
    vice

    Every other URL I've tried produces a 404 response code, but for this one, I always get

    > POST /wp-app.php/service HTTP/1.1
    > User-Agent: curl/7.20.1 (i386-pc-win32) libcurl/7.20.1 OpenSSL/0.9.8n zlib/1.2
    .5
    > Host: testbp2010.wordpress.com
    > Accept: */*
    > Content-Length: 28
    > Content-Type: application/x-www-form-urlencoded
    >
    < HTTP/1.1 405 Method Not Allowed
    < Server: nginx
    < Date: Thu, 17 Jun 2010 14:59:55 GMT
    < Content-Type: text/html; charset=utf-8
    < Connection: close
    < X-hacker: If you're reading this, you should visit automattic.com/jobs and app
    ly to join the fun, mention this header.
    < Allow: GET
    < Content-Length: 0

    Does anyone know why this isn't working? Can anyone suggest a good resource to look at? I'm pretty sure I can handle everything that I need as soon as I can authenticate, but I'm having a really hard time figuring that out.

    The blog I need help with is testbp2010.wordpress.com.

Topic Closed

This topic has been closed to new replies.

About this Topic