Using the OPML Editor with WordPress

This is a progress report on the connection between the OPML Editor and wordpress.com.

First, as you can see from this screen shot, I am using the editor to write this post. That’s a good sign.

It’s quite primitive, note that I have to enter the HTML code to start a new paragraph. But the basic connection is there, using the Metaweblog API, and the next steps will be adding new features to make things a bit more automatic, and perhaps easier to set up.

Note that I’ve got a special icon for a WordPress post. It’s pretty ugly. I stole it from another nodetype. If there are any good icon designers out there, start thinking about what a good icon for WordPress might look like.

Also, this same approach will work for all blogging tools. But since both WP and the OPML Editor are GPL apps, I want to work on the connection between the two. (Also because Matt M likes spicy noodles.)

PS: The tool is working so well I thought I’d release the source.

22 responses to this post.

  1. hi dave. this is very cool. any chance weblog editors like marsedit will be able to talk to opml editor in the future? my opml editor wants to talk as well as listen. brent says he can make marsedit talk to opml editor if it has the metaweblog api.

    Reply

  2. […] Dave Winer is working on incorporating functionality to post via the metaweblogAPI to WordPress powered blogs with his OPML Editor: I am using the editor to write this post. That’s a good sign. It’s quite primitive, note that I have to enter the HTML code to start a new paragraph. But the basic connection is there, using the Metaweblog API, and the next steps will be adding new features to make things a bit more automatic, and perhaps easier to set up. […]

    Reply

  3. […] Dave Winer is using the OPML editor to write his wordpress.com blog. His approach will work with other blogging tools as well. Cool. […]

    Reply

  4. Will this work with any WordPress blog, or just wordpress.com ones?

    Reply

  5. […] Using The OPML Editor With WordPress Top […]

    Reply

  6. […] Dave shows us how to post to wordpress with OPML. He has released the source to the editor. Thanks! Dave.   […]

    Reply

  7. Lance, I don’t know how these sites compare to other WordPress sites.

    Maybe someone here who has more knowledge of WordPress can shed some light.

    It likely does work because I just did normal Metaweblog API calls, no special casing for WordPress. This same code would work with Manila, for example.

    Reply

  8. […] Dave Winer is using his OPML editor to post on his WordPress blog. This stuff is over my head but I am happy to be on the bus and feel the ride is going to get interesting. […]

    Reply

  9. Lance (and Dave);

    Actually it seems like the OPML Editor implementation of the MetaWeblog API is different than, say, the Flock browser’s, since Flock’s works with my other WordPress blog and OPML Editor does not.

    Details at parenthetcal (so as not to clutter the comments.

    Thanks for the code, Dave!

    Reply

  10. […] I tried Dave’s wordPress.root tool or the OPML Editor to create a new post at elliptical this evening, and it seems as though the inplementation of the MetaWeblog API in OPML Editor is different than that in Flock, because Flock’s blogging tool works just fine while the OPML Editor’s tool won’t authenticate me to xmlrpc.php. […]

    Reply

  11. Cori, I had to fix something to get it to work with Blojsom, I was sending the blog id as a number, not as a string. The Blogger API spec says it should be a string, so I made the change. Try updating opml.root (the command is in the File menu) and try posting to your blog again. Dave

    Reply

  12. Thanks Dave;
    Retrieved 1 new part for opml.root, tried it and received the same result.

    The log file now shows the 1st param looking like:
    <param>^M
    <value>0</value>^M
    </param>^M

    so the change fom <i4> (which I assume means 4-bit integer, or something like that) came across, but still no authentication. I’m getting the entire call in the log, so I can validate that the login information is correct – it’s just not being accepted.

    Still looks like I’m getting those ^Ms at each newline as well. I don’t see that in successful calls from Flock, for whatever that’s worth.

    Reply

  13. When I step through the OPML Editor code to the point just after OPML Editor receives the 403 response from my server, the contents of the httpCommand string within level06: httpClient looks like the contents of http://kinrowan.net/miscellany/opmled_http_cmd.txt – which looks OK, no funky characters or anything. However the log file defiitely shows some weird chars in there. I wonder if it’s getting munged on the way in to my xmlrpc.php script?

    Id love for someone else with a stand-alone WordPress blog to try it out to see if they have more success.

    Reply

  14. […] I’m going to make my new WordPress blog into blog central for my posts. Now that I can post to it from MarsEdit as well as the OPML Editor, I don’t see why that shouldn’t just act as my blog repository. http://blogs.opml.org/dwatts/ broken Please, if you are reading this weblog at the above URL, point your links to http://donovanwatts.com instead. Using the OPML Editor to post to a WordPress Blog I use the OPML Editor to post my weblog. I also have a WordPress weblog. Now, Dave has the OPML Editor talking to the WordPress weblog. “Also, this same approach will work for all blogging tools. But since both WP and the OPML Editor are GPL apps, I want to work on the connection between the two.” […]

    Reply

  15. […] From (parenthetical): See my conversation with Dave starting here. […]

    Reply

  16. […] Not long ago I was trying to understand how people make blog posts via an outlining tool. Mike at Crunchnotes has informed us that soon enough this will be officially possible…although when you compare the screen shot of the outliner to the sample blog post , the blog post doesn’t seem to have collapsable nodes for each paragraph. […]

    Reply

  17. Not much of an icon designer myself, but wouldn’t the favicon of wp.com do? It being included in the new wordpress logo and all…

    Reply

  18. I concur with the last commenter. Swipe the favicon. 🙂

    Reply

  19. […] Dave ha estado trabajando en su editor de OPML durante un buen tiempo y hace poco incorporó una herramienta para publicar a WordPress en el editor. Creo que les será de utilidad a muchos. Yo aún no he usado ésta herramienta (por ahora Performancing se está portando muy bien) pero ya tendré oportunidad de experimentar con ella. […]

    Reply

  20. […] Deze post is gemaakt mbv Dave Winer’s OPML Editor. De overige posts zijn met behulp van dit script van Nucleus naar WordPress gehaald (wel even phps in php veranderen). Wat kleine issues, maar die waren snel opgelost. […]

    Reply

  21. […] Even een snelle uitleg: deze post is gemaakt mbv Dave Winer’s OPML Editor. De overige posts zijn met behulp van dit script van mijn Nucleus gestuurde blog naar WordPress gehaald. Hoewel dat niet helemaal zonder problemen ging, kostte het ook weer niet al te veel prutswerk om het allemaal naar behoren te krijgen. […]

    Reply

Leave a comment