2010年9月29日水曜日

php + xmlrpc => WordPress [en]

I tried to build application post to WordPress through XMLRPC-API using php and xmlrpc modules.
Almost works good, but i just have a little trouble when setting up categories to posted articles.
XMLRPC-API accepts categoryName instead of categoryID.

My site has auto post system to many SNSes and have arrays of IDs which category to post.
So, i have to use API named 'mt.getCategoryList' everu time posting any articles.
It's so silly process >o<.

Have a good day.

* Thanks.

0 件のコメント:

コメントを投稿