ok it appears this was only tested on WordPress according to the comments. :)
I duplicated "Category" into "Category MT" and changed the xmlrpc call to:
blog_id = cred.blog_id res = [{'categoryName' => cred.username},{'categoryName'=>'two'}]
res = TextMate.call_with_progress(:title => "Fetch Categories", :message => "Contacting Server “#{cred.host}”…") do cred.client.call("mt.getCategoryList", blog_id, cred.username, password) end
Now I get a list of categories! However they are not posted, because MT does all of its category stuff with IDs. So more work is involved.
I guess nobody is using the Blogging bundle with MT?
Steve
Heh... well, I do! I started this bundle and I'm one of the engineers for Movable Type. The fact is, the category support wasn't critical for me-- I mainly post with tags these days, so I left it on the back burner. We're going to be overhauling our Atom support now that the Atom Publishing Protocol is solidifying and full category support will be done then, unless someone else wants to get it working via xmlrpc in the meantime.
On Jan 4, 2007, at 10:46 PM, Steven W. Riggins wrote:
ok it appears this was only tested on WordPress according to the comments. :)
I duplicated "Category" into "Category MT" and changed the xmlrpc call to:
blog_id = cred.blog_id res = [{'categoryName' => cred.username},{'categoryName'=>'two'}]
res = TextMate.call_with_progress(:title => "Fetch Categories", :message => "Contacting Server “#{cred.host}”…") do cred.client.call("mt.getCategoryList", blog_id, cred.username, password) end
Now I get a list of categories! However they are not posted, because MT does all of its category stuff with IDs. So more work is involved.
I guess nobody is using the Blogging bundle with MT?
Steve ______________________________________________________________________ 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
Well there you go!
This is the first day I've looked at Ruby (working in Smalltalk, talk about crossing wires hehe) and XMLRPC so this stuff is all foreign. I'm going to poke around and see what I can implement for my own needs. I'd rather not poke inside your bundle, so maybe I'll copy it and muck with it in app support or something (so I don't lose my changes later) Oh yeah first day in TextMate also :)
thanks for the quick response!
On Jan 4, 2007, at 10:56 PM, Brad Choate wrote:
Heh... well, I do! I started this bundle and I'm one of the engineers for Movable Type. The fact is, the category support wasn't critical for me-- I mainly post with tags these days, so I left it on the back burner. We're going to be overhauling our Atom support now that the Atom Publishing Protocol is solidifying and full category support will be done then, unless someone else wants to get it working via xmlrpc in the meantime.
On Jan 4, 2007, at 10:46 PM, Steven W. Riggins wrote:
ok it appears this was only tested on WordPress according to the comments. :)
I duplicated "Category" into "Category MT" and changed the xmlrpc call to:
blog_id = cred.blog_id res = [{'categoryName' => cred.username},{'categoryName'=>'two'}]
res = TextMate.call_with_progress(:title => "Fetch Categories", :message => "Contacting Server “#{cred.host}”…") do cred.client.call("mt.getCategoryList", blog_id, cred.username, password) end
Now I get a list of categories! However they are not posted, because MT does all of its category stuff with IDs. So more work is involved.
I guess nobody is using the Blogging bundle with MT?
Steve _____________________________________________________________________ _ 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
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