Thread: Posting/Editing via ScribeFire
Created on: 08/21/08 02:06 AM
| New topic Reply | Page: 1 |
| Replies: 5 | |
| mrnil
|
08/21/08 2:06 AM I've been trying to post using ScribeFire, but I'm not having much success. I can connect up. I can get a list of articles. I can load an article to edit and I can start writing a note, but everytime I hit publish or preview ScribeFire tells me that the api isn't working properly and gives me an output with what looks like ColdFusion white space. I've tried to monitor the response using Fiddler and I've looked in the CF logs, but I'm not seeing anything in the response other than tabs and spaces and nothing in the logs. I've also had a look in the error log in /components/utilities/log - there's plenty of errors in there, but nothing relating to the api stuff. I can post from Google Docs and DeepestSender, but they aren't really what I'm after. Any thoughts? Successes? Stephen |
| Link | Top | Bottom | |
| Laura
Wizard |
08/22/08 12:48 AM Hi Stephen, ScribeFire used to work. Then they changed something and it stopped working. I checked, and I saw a date parsing error (there is a try/catch block that needs to be removed to see the error). The library that I used to parse the xmlrpc request is choking on this date format: 2008-08-22 06:40:46Z The error says: 2008-08-22 06:40:46Z is an invalid date or time string. It is obviously a problem of the library, but I'll have to see how to make sure it will parse all dates (since this works with other editors). |
| Link | Top | Bottom | |
| mrnil
|
08/22/08 2:23 AM Ah..... That's an ISO 8601 date/time format. The Z being zero time zone (UTC) http://www.w3.org/TR/NOTE-datetime That's pretty standard RSS/ATOM/etc style date format. It makes me wonder what the other editors are sending (having never looked at this previously).... |
| Link | Top | Bottom | |
| Laura
Wizard |
08/25/08 11:38 AM Hi Stephen, I've fixed the issue. It is not making any timezone conversion, so the time might be off, but at least it works :) You can grab the file from svn or wait until I release 1.2. http://mangoblog.googlecode.com/svn/trunk/src/coldfusion/application/api/xmlrpc.cfc |
| Link | Top | Bottom | |
| mrnil
|
08/27/08 2:40 PM Hi Laura, Just to let you know, despite saying on my blog that was going to be lazy and wait for the 1.2 update, I've ended up installing the updated file. It all looks to be working quite happily. Many Thanks Stephen |
| Link | Top | Bottom | |
| Laura
Wizard |
08/29/08 9:40 PM I'm glad it worked :) |
| Link | Top | Bottom | |
New Post