[TxMt] More on MT Categories
Steven W. Riggins
steve at geeksrus.com
Fri Jan 5 06:46:44 UTC 2007
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
More information about the textmate
mailing list