Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [feedback] How To Win Friends Who Love Desktop Blogging...
I’m an angry mini-mob. Yay!
Thanks iblastoff. I’m probably going to email you for advice on implementing the changes you’re suggesting.
Offline
Re: [feedback] How To Win Friends Who Love Desktop Blogging...
I’ve hopefully fixed any problems mentioned in this thread here and those discussed over there as well, as far as I was able to reproduce the issues mentioned.
Fixed:
- Restrict posts list to a selected section (i.e. blog), do not list every post.
- Use category titles instead of category names for all category-name-based RPC calls, preserve category settings through edits.
- Use post slugs or basenames specified via the
wp_slugormt_basenamestructure elements.
Unresolved:
- Time zone issues
Not implemented:
- Media uploads and other goodies.
Compatibility:
- Txp 4.0.5+
Tested with Windows Live Writer, Zoundry and to an extent even with w.bloggar.
You can grab an interim copy here [.zip] or here [.tar.gz]. Depending on the feedback, I will eventually add this to the core distribution.
Last edited by wet (2008-01-26 21:12:46)
Offline
Re: [feedback] How To Win Friends Who Love Desktop Blogging...
Wow, Robert, thanks very much for making that available. I can confirm that posting with Marsedit via the metaweblog api works very well. Sadly, the movable type API is still dead in the water for me – it can create an article but you have to resave it in the textpattern interface for it to exist on anywhere other than the front page of a blog. It also can’t seem to create the category correctly.
I’d love to be able to set excerpt/body, assign keywords, and edit custom fields (the latter would require some extension in Marsedit too, so I’m not going to get my hopes up, heh) but for now this is a great improvement.
Offline
Re: [feedback] How To Win Friends Who Love Desktop Blogging...
Textpattern does not support the creation of new categories through XMLRPC, you will have to go through the web interface for that. I haven’t even found any evidence that the creation of categories is specifed by either Metaweblog or MT. Any pointers are welcome.
This is what works for me with Windows Live Writer as a client (which observes the API protocol quite well, I think):
| API | post to specific section | write body | write excerpt | set keywords | assign categories | set publishing date | allow/disallow comments |
|---|---|---|---|---|---|---|---|
| MT | yes | yes | yes | yes | yes | yes | yes (bug fixed) |
| Metaweblog | yes | yes | n/a | n/a | yes | yes | n/a |
I’ve found yet another bug which affected the comment on/off state and updated the download files ([.zip], [.tar.gz]) with a corrected version of txplib_wrapper.php. I think we might need a little bit of assistance from Red Sweater to pinpoint any issues which do not show up with Live Writer or any other Windows client, as I don’t own a Mac.
If there’s any way for a client to specify custom fields through XMLRPC I’d yet have to find a specification for this. Pointers, anybody?
Offline
Re: [feedback] How To Win Friends Who Love Desktop Blogging...
Sorry, I mis-spoke — I meant “assign” rather than “create” a category on a post. The category assignation works with metaweblog and not MT.
Offline
Re: [feedback] How To Win Friends Who Love Desktop Blogging...
It seems that custom field support was recently added into the Wordpress XML-RPC implementation: http://www.red-sweater.com/forums/viewtopic.php?id=578
Offline
Re: [feedback] How To Win Friends Who Love Desktop Blogging...
The recent development in this area has surpassed my wildest imaginations. Incredible! As for the possibility of adding support for custom fields — what’s to stop you from extending the MovableType API with methods specific for Textpattern? Why not create a TextPattern API? I’m sure Daniel Jalkut (Of RedSweater.com) and others would be more than happy to implement these hooks in their desktop clients. Being the first blogging client to fully and truly support TextPattern is after all a pretty good sales argument.
If you’re going to dream — why not dream big.
Offline
Re: [feedback] How To Win Friends Who Love Desktop Blogging...
I think that is would suffice to align our efforts with WordPress’s, as long as it fits within our data model. From the patch I saw in WordPress’s code repository, this can be taken for granted. I’m still waiting for some more reports of how the current solution works across various clients before any extension to the current protocol becomes a topic.
Offline
Re: [feedback] How To Win Friends Who Love Desktop Blogging...
It’s really great that you guys are making so much progress. To conceptualize where you might go beyond MT, keep in mind that WordPress’s API is a logical extension to MT, and in fact even in MT 4.1’s latest development, they seem to be adopting some of the WordPress API extensions.
I would like to encourage you not to create a unique TextPattern API. Although it can be tempting to go off on one’s own to get the pet features of an API that one wants, I think you’ll get a lot more leverage out of sticking with the semi-standard implementations that you’ve been emulating. The chances of success are much greater when you can work with any client that already supports an existing API, as opposed to asking that they implement support for a new one (even if it’s only a slight variation on an existing one).
So, I agree that gelling on the MT implementation is a great idea for now. And if you decide to elaborate, I suggest implementing the WordPress extensions. If you have other ideas that are not met by the existing API, I strongly suggest getting in touch with the WordPress API developer, Joseph Scott. WordPress is basically the “cohesive point” for further development of the API at this point.
Daniel
Offline
Re: [feedback] How To Win Friends Who Love Desktop Blogging...
You’re probably right. I’m still hoping for an implementation of metaWeblog.newMediaObject, though. Wordpress supports this, right? MarsEdit (the client I’m using) doesn’t come with built in FTP and I would prefer writing to the Txp database while uploading images.
Last edited by december76 (2008-01-27 15:46:33)
Offline
Re: [feedback] How To Win Friends Who Love Desktop Blogging...
Yes, implementing metaWeblog.newMediaObject would solve that for MarsEdit. It’s up to wet whether he implements it by storing images in the database or not. On WordPress it implements it by storing the files into a folder of the WordPress installation.
Offline
Re: [feedback] How To Win Friends Who Love Desktop Blogging...
One thing I’ll add here, is supporting RSD will really help for configuration with clients such as MarsEdit:
http://cyber.law.harvard.edu/blogs/gems/tech/rsd.html
Also see:
http://www.red-sweater.com/blog/453/designing-for-the-first-launch
For an example of how this RSD information streamlines client setup.
Daniel
Offline
#28 2008-01-29 19:48:01
- mapu
- Member

- From: Munich, Germany
- Registered: 2004-03-16
- Posts: 141
Re: [feedback] How To Win Friends Who Love Desktop Blogging...
wet wrote:
I’ve hopefully fixed any problems mentioned in this thread here and those discussed over there as well, as far as I was able to reproduce the issues mentioned.
Fixed:
- Restrict posts list to a selected section (i.e. blog), do not list every post.
- Use category titles instead of category names for all category-name-based RPC calls, preserve category settings through edits.
- Use post slugs or basenames specified via the
wp_slugormt_basenamestructure elements.
It’s also working with ecto3.
Unresolved:
- Time zone issues
Still a problem indeed.
Not implemented:
- Media uploads and other goodies.
Would be cool if this could work some time.
Offline
Re: [feedback] How To Win Friends Who Love Desktop Blogging...
Thanks.
As reports from MarsEdit users indicate that all what works for you on ecto and for me on various Windows clients doesn’t work for them: Would you mind trying MarsEdit, too?
Offline
#30 2008-01-29 20:05:58
- mapu
- Member

- From: Munich, Germany
- Registered: 2004-03-16
- Posts: 141
Re: [feedback] How To Win Friends Who Love Desktop Blogging...
Ok here a more detailed report what has worked for me and what not:
ecto:
- Got only posts from the selected section
- I’m not using categories on my blog, but fetching categories was ok.
- post-slug was submitted correctly
- couldn’t make ecto to post in the right time (local) zone, tried dfferent preferences but didn’t work.
- ecto was even transmitting keywords properly but was adding them again and again when editing the post and submitting again.
MarsEdit:
- Got only posts from the selected section
- I’m not using categories on my blog, but fetching categories was ok.
- post-slug was not submitted
- MarsEdit did post in the right time zone :)
- MarsEdit was transmitting keywords properly and didn’t even duplicated them when submitting an edited post. :)
Hope that helps.
Offline