Unable to get ecto to work with Metaweblog API and XML RPC

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Guest

Post 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
Guest

Post by Guest »

Btw i think i ammended a few typos in the variables where could i send my version to be looked at ?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply