Update on WordPress blog APIs

I mentioned previously that the XML-RPC and Atom blog APIs would be disabled by default when WordPress 2.6 is released. This was a matter of some debate within the community, and there has been some clarification:

  • The APIs will not be automatically disabled for sites upgrading from older versions. Since the APIs have previously been ‘on’ by default, they will continue to function.
  • For new installs of WordPress 2.6 and later, there will be an option presented at install-time to enable the APIs. Or not. They seem to have removed that between Beta 1 and Beta 2.
  • There will be options in the Write settings to enable or disable XML-RPC posting and Atom API posting individually.

This sounds like the most reasonable path to make this change without causing disruption for those who have been using client tools like Ecto, MarsEdit, or Windows Live Writer (or third-party web services which can post to blogs, like Flickr or Delicious) to post to their blogs.

Also, though this change is being made under the moniker of a security improvement, that is not to imply that the current API code is not secure. It is simply a pretty standard practice to turn off services that are not used, just as when building a dedicated email server, you wouldn’t turn on FTP unless you absolutely needed it. Stats from WordPress.com have shown that only about 5% of its users utilize the client APIs, so it doesn’t make sense to automatically turn it on for the 95% who aren’t using them.

Stumble It!
Update on WordPress blog APIs

Related posts:

  1. WordPress 2.6 Beta 1
    "Last night Ryan Boren announced the release of WordPress 2.6 Beta 1. At first glance, you probably wouldn’t notice much difference between versions 2.5 and..."
  2. del.icio.us daily blog post fixer plugin
    " I mentioned previously that I wanted to make a WordPress plugin that would touch up the posts created by the del.icio.us “daily blog post”..."
  3. Google Blog Search
    " I may be a little late coming to this party, but Google has introduced Google Blog Search, which limits searches to just blogs (well,..."
  4. Map Service APIs
    " Both Google and Yahoo! have announced APIs for their mapping services. I’ve already gotten a developer key for the Google service. But it doesn’t..."
  5. WordPress 2.6.1-beta1
    "I’m surprised that I haven’t seen mention of this from other channels yet (official or unofficial), but two days ago, SVN revision 8561 of the..."
This entry was posted in Announcements, Atom, Blogging, Community, WordPress and tagged , , , , , , , , , , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

19 Comments

  1. Kevin Paquet pinoyteens.net
    Posted June 30, 2008 at 10:16 am | Permalink

    I agree with this one, thanks for pointing this out and emphasizing that upgrades won’t disable that function.
    It cleared out a lot of things, many people might have thought that the API code is not secure, that’s why it’ll be turned off by default for new installs. XD

  2. Joseph Scott joseph.randomnetworks.com
    Posted June 30, 2008 at 11:49 am | Permalink

    One correction: new installs of WordPress will not have a check box to enable XML-RPC & AtomPub.

    http://trac.wordpress.org/ticket/7157#comment:18

  3. Kelson speedforce.org
    Posted June 30, 2008 at 1:02 pm | Permalink

    So it’ll only be on the regular settings pages, not an additional setup step? That’s probably a better way to do it.

  4. Joseph Scott joseph.randomnetworks.com
    Posted June 30, 2008 at 1:10 pm | Permalink

    @Kelson -

    Correct, the only spot to enable it is under Settings -> Writing.

  5. Douglas Karr douglaskarr.com
    Posted June 30, 2008 at 2:38 pm | Permalink

    Woohoo! That makes fantastic sense. I was really wondering what the WP guys were drinking over there on the first notice.

  6. factoryjoe factoryjoe.com
    Posted July 1, 2008 at 3:47 pm | Permalink

    Seems to me that enabling OAuth by default would solve this problem long term… moving to delegated authorization and away from giving away your username/password all over the place is the way forward. Too bad Automattic isn’t seizing the opportunity to bake in support in 2.6 and beyond. Maybe by 3.0?

  7. Joseph Scott joseph.randomnetworks.com
    Posted July 1, 2008 at 4:01 pm | Permalink

    @factoryjoe -

    OAuth was exactly what I brought up on the wp-xmlrpc email list (http://lists.automattic.com/mailman/listinfo/wp-xmlrpc):

    http://comox.textdrive.com/pipermail/wp-xmlrpc/2008-June/thread.html#208

    The response was mixed.

  8. Denis useshots.com
    Posted July 2, 2008 at 3:30 am | Permalink

    >>Stats from WordPress.com have shown that only about 5% of its users utilize the client APIs

    And WP 2.6 is going to make this number even smaller ;-)

  9. Stephen Paul Weber singpolyma.net
    Posted July 2, 2008 at 11:49 am | Permalink

    Considering how easy it is to implement OAuth in WordPress (I have a plugin that does just that), I’m not sure why it is being so easily dismissed on the mailing list (having read the thread). WordPress blogs live on the web, for goodness’ sake! Web authz can apply.

  10. Jonathan inthelimelight.net
    Posted July 2, 2008 at 1:06 pm | Permalink

    I’m glad to hear it won’t effect upgraded installations. Not that it’s a big deal, but it would be the perfect trigger for a “WTF &%^$$ is wrong with Windows Live Writer” kind of episode.

  11. Dougal dougal.gunters.org
    Posted July 2, 2008 at 3:27 pm | Permalink

    Jonathan: I think I recall seeing something that indicated that if API publishing was turned off, it would still return a friendly error message to clients, indicating that fact.

  12. Joseph Scott joseph.randomnetworks.com
    Posted July 2, 2008 at 4:20 pm | Permalink

    Correct, if XML-RPC/AtomPub is disabled you’ll get an error message that looks like:

    XML-RPC services are disabled on this blog. An admin user can enable them at %s

    Where the %s is replaced with the Settings -> Writing wp-admin URL.

    http://trac.wordpress.org/browser/trunk/xmlrpc.php#L192

  13. Denis useshots.com
    Posted July 3, 2008 at 3:57 am | Permalink

    Joseph: That’s great! This error message and the URL makes perfect sense.
    I’ve just updated the latest version from SVN and it works.

  14. Scott Holdren sitening.com
    Posted July 18, 2008 at 12:16 pm | Permalink

    The latest wordpress has been great, all of our blogging software works with it no problems. We use a combination of MarsEdit and PlutoEdit, which is a freely available HTML/PHP interface that you can integrate with your own CMS. It does not require a database, but you can configure it to manage multiple blogs.

    http://raven-seo-tools.com/pluto-edit/

  15. itsuport itdoc.com.ua
    Posted July 31, 2008 at 1:10 am | Permalink

    And WP 2.6 is going to make this number even smaller ;-)

  16. Clarky netfuns.net
    Posted September 11, 2008 at 7:42 am | Permalink

    I notice that today,maybe it is much more secure,but I still like use windows live writer to publish posts.I think someone will agree with me :)

  17. Andrej allsimple.net
    Posted October 7, 2008 at 6:48 pm | Permalink

    ????….?????? ?????, ?? ?? ??? ????^^ ???? ???? ?? ?? ????????? ????????))) ???? ? ???^_^

  18. Mikey Fritz art-hr.com
    Posted October 13, 2008 at 12:24 pm | Permalink

    “????? ???????, ?? ?????? ??????, ?? ???? ??????”

  19. Vamban vamban.com
    Posted January 27, 2010 at 4:14 pm | Permalink

    API is a gift for wordpress. Can’t imagine wordpress without API. Its great future of wordpress blogging platform.

11 Trackbacks

  1. [...] With WordPress 2.6, in new installations, the access to XML-RPC will be unavailable by default. This in short means that every user will have to go and manually enable XML-RPC to allow external applications to post to your blog. Dougal wrote a post about this recently. From his post on the APIs: [...]

  2. By ??????? WordPress 2.6 - ????,???? on July 1, 2008 at 8:41 pm

    [...] ?????????????? post on the APIs???????????? [...]

  3. [...] With WordPress 2.6, in new installations, the access to XML-RPC will be unavailable by default. This in short means that every user will have to go and manually enable XML-RPC to allow external applications to post to your blog. Dougal wrote a post about this recently. From his post on the APIs: [...]

  4. By ??? » Blog Archive » ??????? WordPress 2.6 on July 3, 2008 at 9:49 am

    [...] ???????????????Dougal ?????????????? post on the APIs???????????? [...]

  5. [...] Version einsetzen, müssen sich darum nicht kümmern: Der externze Zugriff wird beim Update nicht deaktiviert! Artikelzusatzinfos 1. Tags: wordpress 2. weitere Artikel [...]

  6. [...] Dougal Campbell – Update on WordPress blog APIs covers the issues around changes to the XML-RPC and Atom blog APIs being disabled by default in WordPress 2.6. [...]

  7. [...] With WordPress 2.6, in new installations, the access to XML-RPC will be unavailable by default. This in short means that every user will have to go and manually enable XML-RPC to allow external applications to post to your blog. Dougal wrote a post about this recently. From his post on the APIs: [...]

  8. By WordPress 2.6: Launching Tonight on July 14, 2008 at 7:02 pm

    [...] Update on WordPress Blog APIs [...]

  9. [...] With WordPress 2.6, in new installations, the access to XML-RPC will be unavailable by default. This in short means that every user will have to go and manually enable XML-RPC to allow external applications to post to your blog. Dougal wrote a post about this recently. From his post on the APIs: [...]

  10. [...] ??????Wopus??????????Wordpress2.6???????????Wordpress?????????????WordPRess 2.6 Beta 1?Beta 2?Beta 3???????RC??????????????Wordpress????????Dougal????????Wordpress2.6????????XML-RPC?Atom blog APIs??????? [...]

  11. By Magazzino » Changes in Wordpress 2.6 on October 24, 2008 at 1:19 am

    [...] With WordPress 2.6, in new installations, the access to XML-RPC will be unavailable by default. This in short means that every user will have to go and manually enable XML-RPC to allow external applications to post to your blog. Dougal wrote a post about this recently. From his post on the APIs: [...]

Post a Comment

Your email is never published nor shared.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting

  • Subscribe

  • Follow Me

    Twitter  Facebook  Flickr  Last.fm  LinkedIn  StumbleUpon  Technorati  Delicious  
  • Referrals

    Sign up for Text Link Ads and earn money from your blog.
  • Lifestream