Hi All: I'm a new Textmate user. (I love it.) Was trying to use the blogging bundle with a Typepad blog. I'm having difficulties trying to get it through the first test fetch of recent posts.
I've been working with Typepad support for the past few days as I assumed the problem was on their end. They're pushing back to Textmate now. They claim Typepad supports the metaWeblog XML-RPC API in their Knowledge Base: a search for "metaweblog api" and it returns an article called "TypePad and Desktop Clients" at an obscenely unreadable URL.
(http://support.typepad.com/cgi-bin/typepad.cfg/php/enduser/ std_adp.php?p_faqid=87&p_created=1125520929&p_sid=5- AnQzJi&p_lva=&p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PSZwX2dyaWRzb3J0PSZwX3Jvd19jb nQ9NCZwX3Byb2RzPSZwX2NhdHM9JnBfcHY9JnBfY3Y9JnBfcGFnZT0xJnBfc2VhcmNoX3Rle HQ9bWV0YXdlYmxvZyBhcGk*&p_li=&p_topview=1)
The only Typepad discussion I found on the Textmate mailing list search was this old unanswered post: http://article.gmane.org/gmane.editors.textmate.general/11960/ match=typepad
I found no discussion in the original post comments that helped either: http://macromates.com/blog/2006/blogging-from-textmate/
My setup line looks like the following:
# Blog Name URL Once More Unto the Breach http://stephenrwalli@typepad.com/t/ api#000001
It prompts me for a password, then returns: Received Exception: HTTP-Error: 302 Found No posts are available!
I've also tried: http://stephenrwalli@typepad.com/cgi-bin/mt/mt-xmlrpc.cgi#1 http://stephenrwalli@typepad.com/cgi-bin/mt/mt-xmlrpc.cgi http://stephenrwalli@typepad.com/t/api http://stephenrwalli@typepad.com/t/api#1 http://www.typepad.com/t/api [which prompts for both username and passwd and returns Invalid Login (403)]
I would assume I should receive a post or two per the demonstration video. I'm not a constant blogger, but have 4 posts in the last 30 days.
Are there places I haven't looked yet? Ideas? More information I can dig out?
kindest regards, stephe
Stephen R. Walli mailto: stephen.walli@gmail.com mobile: +1 425 785 6102 skype: stephen.walli IM: stephenrwalli at AIM | YIM | Hotmail OR stephen.walli at gmail blog: http://stephesblog.blogs.com (Once More unto the Breach) podcast: http://stephenrwalli.libsyn.com (Once More unto the Breach podcasts) flickr: http://www.flickr.com/photos/stephenrwalli
On Aug 21, 2007, at 3:09 PM, Stephen Walli wrote:
Hi All: I'm a new Textmate user. (I love it.) Was trying to use the blogging bundle with a Typepad blog. I'm having difficulties trying to get it through the first test fetch of recent posts.
Have you get it working with other clients like MarsEdit and ecto?
Also do you have a blog ID, something like blog_id=12345 ?
Takaaki
Morning: I just downloaded the trial version of ecto2 (http:// infinite-sushi.com/software/ecto/download/). It configured and self-selected the Typepad API, connected and pulled the last 20 entries plus categories. I reconfigured it to use the metaweblog API, and told it to download entries. It pulled down the same 20 entries without categories.
Weblog id when I log onto typepad.com is blog_id=105091.
I tried Textmate's blogging bundle with a blog set up with each of the following addresses: # Blog Name URL Once More Unto the Breach http://stephenrwalli@typepad.com/t/ api#blog_id=105091 Once More Unto the Breach http://stephenrwalli@typepad.com/t/ api?blog_id=105091
In each case I was prompted for a password. In each case I received HTTP-Error (302) Found No posts are available. I did notice an additional difference. In the first (#) case, when prompting for a password, Textmate says: "Enter the password to login at http://stephenrwalli@typepad.com/" In the second (?) case, Textmate says: "Enter the password to login at http://stephenrwalli@typepad.com/t/api?"
On a reach, I tried: Once More Unto the Breach http://105091@typepad.com/t/api
It prompts for a passwd for http://105091@typepad.com/t/api, and returns http-error 302. So I tried one last one: I gave the same username a bogus passwd and I STILL get the http-error 302, so it's not validating. Or it's getting a bogus error return.
I looked up http-error: 302 Found. According to http://www.w3.org/ Protocols/rfc2616/rfc2616-sec10.html: **** 10.3.3 302 Found
The requested resource resides temporarily under a different URI. Since the redirection might be altered on occasion, the client SHOULD continue to use the Request-URI for future requests. This response is only cacheable if indicated by a Cache-Control or Expires header field.
The temporary URI SHOULD be given by the Location field in the response. Unless the request method was HEAD, the entity of the response SHOULD contain a short hypertext note with a hyperlink to the new URI(s).
If the 302 status code is received in response to a request other than GET or HEAD, the user agent MUST NOT automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued.
Note: RFC 1945 and RFC 2068 specify that the client is not allowed to change the method on the redirected request. However, most existing user agent implementations treat 302 as if it were a 303 response, performing a GET on the Location field-value regardless of the original request method. The status codes 303 and 307 have been added for servers that wish to make unambiguously clear which kind of reaction is expected of the client. ****
One last thing: I tried ecto2 with a bogus passwd on my username. It fails with "Invalid Login".
More ideas? (And thanks for taking an interest.) stephe
On 21-Aug-07, at 1:58 AM, Takaaki Kato wrote:
On Aug 21, 2007, at 3:09 PM, Stephen Walli wrote:
Hi All: I'm a new Textmate user. (I love it.) Was trying to use the blogging bundle with a Typepad blog. I'm having difficulties trying to get it through the first test fetch of recent posts.
Have you get it working with other clients like MarsEdit and ecto?
Also do you have a blog ID, something like blog_id=12345 ?
Takaaki ______________________________________________________________________ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Stephen R. Walli mailto: stephen.walli@gmail.com mobile: +1 425 785 6102 skype: stephen.walli IM: stephenrwalli at AIM | YIM | Hotmail OR stephen.walli at gmail blog: http://stephesblog.blogs.com (Once More unto the Breach) podcast: http://stephenrwalli.libsyn.com (Once More unto the Breach podcasts) flickr: http://www.flickr.com/photos/stephenrwalli
On Aug 22, 2007, at 1:41 AM, Stephen Walli wrote:
It configured and self-selected the Typepad API, connected and pulled the last 20 entries plus categories. I reconfigured it to use the metaweblog API, and told it to download entries. It pulled down the same 20 entries without categories.
If you couldn't find ecto/MarsEdit work without a problem using metaWeblog API,the chances are slim that TextMate's Blogging Bundle works.
Were you able to post with ecto/MarsEdit using metaWeblog API? It seems that you couldn't get categories with metaWeblog API, which makes me think TypePad API works better.
http://www.typepad.com/t/rsd/105091 shows your URL endpoint, Blog ID.
Also Blogging Bundle Help mentions TM_BLOG_MODE? Have you tried tweaking?
Most of blog software like WordPress and Drupal say they support X api, but the support is not always perfect. The specs of APIs themselves seem to have problems. Even dediccated software like ecto and MarsEdit don't always work perfectly.
Takaaki