Hi all!
Has anyone ever posted to a Serendipity blog using ecto? I tried it today with the latest Serendipity build 0.8-alpha11 and the latest ecto version 2.1.1 (see http://ecto.kung-foo.tv/ ).
With my old Nucleus blog everything went fine, but adressing Serendipity, the ecto application always gives errors. And I'm sure I got the correct API...
Any hints?
Thanks,
TheMM
posting to serendipity using ecto
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: posting to serendipity using ecto
I only used it recently with some windows application; our XMLRPC API is seldomly used and there's no one acitvely maintaining it - I know that we at least have problems editing existing entries. But posting to the Blog works - which API do you use? MT or Blogger?
Regards,
Garvin
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/
# 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/
Re: posting to serendipity using ecto
I tried both.garvinhicking wrote:But posting to the Blog works - which API do you use? MT or Blogger?
-
Adriaan Tijsseling
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
I'm afraid George is no longer using up-to-date Serendipity versions, so I doubt he can help there...we would need someone to look into current code, I'm sure the fix will be easy...
Regards,
Garvin
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/
# 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/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
If you can provide me the full API specs with all input/output values for the API, I can look into it...the last time I tried, I could not find a complete API. 
Regards,
Garvin
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/
# 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/
-
Darren
xmlrpc.php
I had a little muck around in the php file and noticed it was way of spec on certain api's. The first fix I tried was to update blogger get recent posts, which sends postid twice and not the content, you have get the entry using full=true then pass content=body.
Ecto starts to work but posts still wrong....
Since I only learn php yesterday to have a go, I'm not planning to post fixes. I will try and play with it and forward any bugs I find.
Darren
Ecto starts to work but posts still wrong....
Since I only learn php yesterday to have a go, I'm not planning to post fixes. I will try and play with it and forward any bugs I find.
Darren
-
ridcully
Bugfix
The Bugfix is very easy. The Pear-Libs are included in the plugin folder and in the bundled-libs folder. I fixed the includes around line 54 and deleted the PEAR-folder in the plugin dir. Now posting and editing works...
maybe someone can update the xml-rpc-plugin...
regards
ridcully
Code: Select all
case 'frontend_xmlrpc':
if (!class_exists('XML_RPC_Base')) {
// require_once dirname(__FILE__) . '/PEAR/XML/RPC.php';
require_once S9Y_INCLUDE_PATH . '/bundled-libs/XML/RPC.php';
}
if (!class_exists('XML_RPC_Server')) {
// require_once dirname(__FILE__) . '/PEAR/XML/RPC/Server.php';
require_once S9Y_INCLUDE_PATH . '/bundled-libs/XML/RPC/Server.php';
}
require_once dirname(__FILE__) . '/serendipity_xmlrpc.inc.php';
$eventData = array('XML-RPC' => true);
return true;
default:regards
ridcully