Ideally, MarsEdit shouldn’t be marking posts as unpublished then republished (seriously, what?) but since I can’t fix that, I can fix the plugin to not delete LJ posts in response. One good way to create an XML snippet from an object is to use a template solution, like Velocity or Freemarker. In that case youd parse the XML using a DOM parser and walk the tree to create the object. I’ve gone and made some adjustments to the plugin to NOT do this, so hopefully folks commenting on LJ won’t have their comments so unceremoniously deleted. Parsing is something youd do if you had the XML and wanted to instantiate the object from it. Update #6: I posted detailed troubleshooting information to the forum, but the summary is that MarsEdit invokes the WP XML-RPC in a way that marks the blog post as unpublished, then published again, and that causes the WP plugin to delete the LJ post and then re-post it. Update #5: I’ve also posted a thread on the Red Sweater MarsEdit forum about this issue, to see if I can get any troubleshooting help there. Having to refresh all posts and pages just to pick up the edits within MarsEdit that I make in the WP interface is quite cumbersome. Update #4: This reminds me, I need to submit an enhancement request for MarsEdit, to refresh an individual post from the server. For completeness, I’m going to note that the WordPress post_id hasn’t changed regardless of how the post is edited. Not sure if it’s really MarsEdit’s fault, or a bug in the WordPress XML-RPC interface that MarsEdit uses, or the way that MarsEdit uses it. A new post on LJ was created, with the latest post content, though. Update #3: Aha! After posting the last edit using MarsEdit, the post on LiveJournal disappeared. Now, I’m editing the post and adding this update using MarsEdit. XML-RPC server accepts POST requests only. Update #2: Great, WP updated the post and updated the LJ post without changing the post ID. Testing for popular XML-RPC clients (Ecto, w.bloggar) development of WPs standard posting API support. Here’s the first edit using the WP web interface directly. Update: This post originally was posted to LJ as. The Action Web Service API in Rails, which is intended to implement such APIs, has deprecated a while ago. Therefore …ĭon’t post comments on this entry, or at least expect them to disappear suddenly as I test. The XML-RPC system is rather bewildering - there's a lot of different variations (Atom, MovableType, metaWeblog, Blogger, TypePad, probably others), never mind actually implementing any of them. So, I’m posting this entry and will be using it as a test entry in which I’ll try to get to the bottom of things, either fixing the plugin that I’m currently using or otherwise figuring out what the problem is. I don’t think so, but I haven’t ruled it out yet. I’m starting to wonder if it’s not WordPress or the plugins that are causing the problem, but the blog post authoring app that I use: MarsEdit. Not a huge problem, except for the fact that any comments left on the old LJ post are lost, which is a real drag. However, there’s been an issue: whenever I edit a post, it appears to delete the LJ post and post it as new. I’ve used a series of various WordPress plugins that mirror posts to LiveJournal, and for the most part, they work great. wikipedia-en:Weblogs.I hate to do this, but I’m finally fed up with something that’s been bothering me for a while ….The site also provided free hosting to many early bloggers. Web-services like and Technorati monitor for its list of the latest blog posts, generated in response to pings via XML-RPC. It launched in late 1999 as a free, registration-based web crawler monitoring weblogs, was converted into a ping-server in October 2001, and came to be used by most blog applications. is a website created by UserLand Software and later maintained by Dave Winer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |