Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1:/tmp/cvs-serv19171
Modified Files:
serendipity_xmlrpc.php
Log Message:
fixes for kung-log - improved mt api compliance
Index: serendipity_xmlrpc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_xmlrpc.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- serendipity_xmlrpc.php 10 Oct 2003 15:31:11 -0000 1.8
+++ serendipity_xmlrpc.php 11 Oct 2003 01:13:01 -0000 1.9
@@ -26,6 +26,8 @@
array('function' => 'mt_getRecentPostTitles'),
'mt.getCategoryList' =>
array('function' => 'mt_getCategoryList'),
+ 'mt.getPostCategories' =>
+ array('function' => 'metaWeblog_getPostCategories'),
'metaWeblog.setPostCategories' =>
array('function' => 'metaWeblog_setPostCategories'),
'metaWeblog.getPostCategories' =>
@@ -235,9 +237,10 @@
'description' => new XML_RPC_Value($entry['body'], 'string'),
'mt_text_more' => new XML_RPC_Value($entry['extended'], 'string'),
'mt_excerpt' => new XML_RPC_Value('', 'string'),
- 'mt_allow_comments' => new XML_RPC_Value(1, 'boolean'),
- 'mt_allow_pings' => new XML_RPC_Value(1, 'boolean'),
- 'mt_convert_breaks' => new XML_RPC_Value(0, 'boolean'),
+ 'mt_allow_comments' => new XML_RPC_Value(1, 'int'),
+ 'mt_allow_pings' => new XML_RPC_Value(1, 'int'),
+ 'mt_convert_breaks' => new XML_RPC_Value('', 'string'),
+ 'mt_keywords' => new XML_RPC_Value('', 'string'),
'title' => new XML_RPC_Value($entry['title'],'string'),
'permalink' => new XML_RPC_Value($serendipity['baseURL'] . '/archives/' . $postid . '_.html', 'string'),
'link' => new XML_RPC_Value($serendipity['baseURL'] . '/archives/' . $postid . '_.html', 'string'));
|