By chiggsy on
I've realized a cold fact. I hate typing in textareas. I think i want to use vim to post to my blog. This is possible. Wondering about how blogapi deals with freetagging , or nodewords. How do i add that into the post request?
Comments
metaweblog, movabletype
Check the docs for the MetaWeblog and MovableType APIs:
* http://www.xmlrpc.com/metaWeblogApi
* http://www.movabletype.org/mt-static/docs/mtmanual_programmatic.html#xml...
Drupal's blog API implements both. However, neither of these can handling freetagging, never mind nodewords. Limited APIs suck :(
No one has written an Atom Publishing Protocol implementation yet...don't know if it's flexible enough to handle this, but I suspect it would be. Freetagging and nodewords would be implemented as drupal-specific extensions to the protocol.
Thanks for quick reply
Ok i'll take a look at all 3 ... I need a workout with XML-RPC anyway , and we shall see how things go with the Atom stuff... for now i just need to work out a way to blog lots from my home, the cold, dark osX shell.
Pfft.
The osX shell is warm and cozy. Still dark though.
one more question...
I checked out these api's ... you are exactly correct, limited API's do in fact , suck . What's involved in writing an implementation of Atom for drupal? I've been looking at the code, but that tells me how it was done by others.. is there a theoretical approach that i can apply my own methods to?
APP docs
Here's an incredibly dry article: http://www.xml.com/pub/a/2006/07/19/implementing-atom-publishing-protoco...
Note the methods in HTTP other than GET and POST...fun, eh?
APP is well specced, but may be rather hard to implement. Of course....you could always
1) write a custom XML-RPC handler amd function
2) use mailhandler and submit posts via email -- this does support taxonomy terms, etc.
Neat!
I did need to know more about XML-RPC, so it's time not wasted. I was looking at the custom route, and that might be the way to go. Of course now that you mention maillhandler, i'll look at that also. Thanks a lot for the links... they've been good reading and quite useful in increasing the clarity of the mental model of this process.
I can see the atom problem
Atom is a REST based thing, built to fix the XML-RPC issues of blogger and metaWeblog et al. Looks like it uses REST or similar as protocol, not xml-rpc.
But, it seem the metaWeblog spec does allow for mutliple categories... no?
Yes
Yes, MW supports multiple categories. It doesn't support creation of categories on the fly, which is what you would need for freetagging. That's why I mentioned mailhandler...it does create those on the fly.