MetaWebLog API And Really Simple Discovery
Category API
Bookmark :
Previous versions of BlogSphere had an implementation of the blogger API so that you could post to your blog from 3rd party tools but unfortunitly it wasn't perfect. Apart from the fact that the blogger API is fairly simplistic and is not very powerful there were problems with it's implementation like posting from Flickr would result in blog entries with no title and it doesn;t support categories.
So today I looked at the code and decided to remove the blogger API support and replace it with the MetaWebLog API. Now I'm not a Java developer, it's not a language I know but I was able to look at the specs from the API and look at the old code for the blogger API and work out what changes I needed to make using methods described at the Java Jumpstart session at Lotusphere the past few years and I have to say I'm fairly happy with the results so far. You can create new posts, edit existing posts, get a list of all posts and even delete posts, the only part of the API I have left to figure out is the metaWeblog.newMediaObject that will allow you to upload images to your blog.
I have also implemented the Really Simple Discovery API which is a small XML file that is referenced in your blogs homepage. Some 3rd party blogging tools will look for this file and from it be able to work out what API to use and what the url for the xml-rpx endpoint it so you don't have to enter it in yourself.. The Microsoft Windows Live Writer tool uses this feature and also supports the MetaWebLog API and it's one of the many 3rd party tools I'm testing with to make sure my first java agent is working correctly.
Oh and one thing I would like to add is Domiclipse is a wonderful tool for editing java agents in Domino. It's a plug-in for Eclipse that I decided to try out after I found that the built in java editor for Domino just isn't really all that good...
Bookmark :
Previous versions of BlogSphere had an implementation of the blogger API so that you could post to your blog from 3rd party tools but unfortunitly it wasn't perfect. Apart from the fact that the blogger API is fairly simplistic and is not very powerful there were problems with it's implementation like posting from Flickr would result in blog entries with no title and it doesn;t support categories.
So today I looked at the code and decided to remove the blogger API support and replace it with the MetaWebLog API. Now I'm not a Java developer, it's not a language I know but I was able to look at the specs from the API and look at the old code for the blogger API and work out what changes I needed to make using methods described at the Java Jumpstart session at Lotusphere the past few years and I have to say I'm fairly happy with the results so far. You can create new posts, edit existing posts, get a list of all posts and even delete posts, the only part of the API I have left to figure out is the metaWeblog.newMediaObject that will allow you to upload images to your blog.
I have also implemented the Really Simple Discovery API which is a small XML file that is referenced in your blogs homepage. Some 3rd party blogging tools will look for this file and from it be able to work out what API to use and what the url for the xml-rpx endpoint it so you don't have to enter it in yourself.. The Microsoft Windows Live Writer tool uses this feature and also supports the MetaWebLog API and it's one of the many 3rd party tools I'm testing with to make sure my first java agent is working correctly.
Oh and one thing I would like to add is Domiclipse is a wonderful tool for editing java agents in Domino. It's a plug-in for Eclipse that I decided to try out after I found that the built in java editor for Domino just isn't really all that good...








Comments
P.S.: the BloggerAPI does support Title and Category. You have to put them into <> <category>The Category</category><title>The Title</title>. But it is OK if its gone (at least for me)
Posted by Stephan H. Wissel At 03:41:24 AM On 11/02/2006 | - Website - |
Once this shows up in an Alpha build, I'll give it a try with the Google Docs tool - I wasn't able to get the Blogger API working with that yet, and it would be handy for authoring.
Posted by Rob McDonagh At 09:57:40 AM On 11/02/2006 | - Website - |
Most blogging tools will support blogger api and metaweblog api's
I've done a test from Google Docs and I can confirm that it works as expected.
Posted by Declan Lynch At 10:26:53 AM On 11/02/2006 | - Website - |
---* Bill "Its a small world - unlike my stomach" Buchan
Posted by Wild Bill At 06:39:52 AM On 12/23/2006 | - Website - |