CPSBlog now supports AtomAPI

I have implemented a partial AtomAPI support into CPSBlog, using specification and methods described by Blogger and Typepad AtomAPI.

This mainly allow blogging from desktop and mobile application.

Right now, CPSBlog AtomAPI implementation supports:

  • adding entries
  • editing entries
  • retrieving and using categories (though some bugs seems to exists depending on the client)
  • reading feed / entries

From a technical point of view, I've used the excellent lxml python component to parse incoming request and manage to also deal with SOAP enveloppe request (sent by some client, even if the server never says it accept it ! :-).

This blog will be posted using ecto on MacOS X (at least I hope it will work since it's the first post using AtomAPI on this site ;-). BTW, I was really disappointed to find out that there is very few AtomAPI clients (and almost none open source, but PyQLogger which seems to not work at the moment :-/).

How to get it working (taking this site as example):

  • Protocol : Atom / AtomAPI
  • Access / Entry Point : your blog URL/atomBlogServicesDiscovery (ex: http://blogs.nuxeo.com/sections/blogs/eric_barroca/atomBlogServicesDiscovery)
  • Login / Pass : your usual login / password on the CPS site !
Then your client should get the required information and download the feed to allow you to post ! :-)

I would be pleased to get some feedback of using the API from other clients (Windows / Linux).

TODO:

  • HTTP DELETE support to delete an entry
  • pictures / files upload support (if I can find a client that supports it)
  • test, test, test, test and more test !

Hope this help !

Technorati Tags: , , , ,

Important announcement: Join the Nuxeo team and contribute to the Nuxeo project! We have open positions in France and the UK for open source Java EE developers and sales engineers, both junior and senior.

Like this post? Share it:


Trackback Pings

Trackback URL for this entry:
http://blogs.nuxeo.com/sections/blogs/eric_barroca/2005_08_19_cpsblog-now-support/tbping
Posted by Eric Barroca @ 08/19/2005 05:40 AM. - Categories: zope3, cps, Nuxeo, Python, Web, zope -  0 comments

Nuxeo Bloggers: Log in!
Search Nuxeo Blogs
About this blog

Eric Barroca
Executive VP of Operations
eb@nuxeo.com
Subscribe !

Subscribe to this blog (ATOM / RSS)

Subscribe in NewsGator Online

Photos and Pictures
Nuxeo - Indesko - Nuxeo 5 Project
All content is copyrighted by their author.
CPSSkins is Copyright © 2003-2006 by Jean-Marc Orliaguet. | CPS is Copyright © 2002-2006 by Nuxeo SAS.