Page 2 of 2

Posted: Wed Jan 25, 2006 8:09 pm
by garvinhicking
I've just quickly added up the plugin : http://nopaste.php-q.net/187044

with the Spec from http://www.xmlrpc.com/metaWeblogApi

Regards,
garvin

Posted: Thu Jan 26, 2006 7:54 am
by Guest
Ok worked out they are calling mt.getCategories. Im now using the Moveable Type API, as they suggested to use that and it works now. However I cant get one of my latest entries for some reason. When i click refresh on the app, i goes through each entry and collects all the categories for each entry all the time !

Also i think i found a bug here, this got rerturned alot to the client, its because the table had autoinc off !

INSERT INTO serendipity_entries (title,body,extended,isdraft,allow_comments,moderate_comments,timestamp,exflag,comments,last_modified,author,authorid) values ('Test blog', 'Test blog', '', 'true', '1', '', '1138257180', '0', '0', '1138257180', 'admin', '2')</pre> / Duplicate entry '0' for key 1

Posted: Thu Jan 26, 2006 7:55 am
by Guest
Btw i think i ammended a few typos in the variables where could i send my version to be looked at ?

Posted: Thu Jan 26, 2006 11:54 am
by garvinhicking
About your SQL error: Please check your SQL table and see if the "entryid" has a auto_increment ID? The SQL statement you use should not give this error message if auto_increment is properly set.

You can use a service like http://nopaste.php-q.net/ to post your patch here on the forums or send me a mail with your file so I can fix errors.

Regards,
Garvin