Welcome to Geeklog, Anonymous Wednesday, April 24 2024 @ 12:21 am EDT

Geeklog Forums

blog plugin + ecto client = ?


Status: offline

davidduff

Forum User
Newbie
Registered: 11/06/04
Posts: 2
i just installed the blog plugin. seems to have installed cleanly.

i am attempting to use the "ecto" client (mac os x) to post to my site.

it works, in the sense that items do get posted, however i get an error from the client after each attempt to post. from the logs, it appears that the ecto client is trying to invoke the blogger.getPost method after each blogger.newPost method. the newPost calls are working fine. the getPost calls are returning "Unknown method".

i have configured ecto with an account for my server with system type "blogger" because that's what the ecto docs said to use for geeklog.

any suggestions?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The plugin used to work fine with KungLog, the predecessor of ecto. Haven't had the time to test it with ecto, though.

KungLog had a mode where it logged all the communication between the client and the server (in a window). Does ecto still have that?

bye, Dirk (saw your email, btw)
 Quote

Status: offline

davidduff

Forum User
Newbie
Registered: 11/06/04
Posts: 2
yes, ecto still has the "console" window, where it logs communication between client and server.

here are the last two volleys:

Text Formatted Code

Request with URL:
http://duff.homedns.org/~duff/gl/blog/
and data:
<?xml version="1.0" encoding="UTF-8"?>
<methodCall>
<methodName>blogger.newPost</methodName>
<params>
        <param>
                <value><string>CBA1A614CEFC5337A795A465752597A7BEEB0287</string></value>
        </param>
        <param>
                <value><string>21083</string></value>
        </param>
        <param>
                <value><string>Admin</string></value>
        </param>
        <param>
                <value><string>******</string></value>
        </param>
        <param>
                <value><string><title>test post</title><p>another test...</p></string></value>
        </param>
        <param>
                <value><boolean>1</boolean></value>
        </param>
</params>
</methodCall>

Response:
<?xml version="1.0" encoding="iso-8859-1"?>
<methodResponse>
<params>
<param>
<value>1099727812880</value>
</param>
</params>
</methodResponse>

Request with URL:
http://duff.homedns.org/~duff/gl/blog/
and data:
<?xml version="1.0" encoding="UTF-8"?>
<methodCall>
<methodName>blogger.getPost</methodName>
<params>
        <param>
                <value><string>CBA1A614CEFC5337A795A465752597A7BEEB0287</string></value>
        </param>
        <param>
                <value><string>1099727812880</string></value>
        </param>
        <param>
                <value><string>Admin</string></value>
        </param>
        <param>
                <value><string>******</string></value>
        </param>
</params>
</methodCall>

Response:
<?xml version="1.0" encoding="iso-8859-1"?>
<methodResponse>
<fault>
<value>
<struct>
<member>
<name>faultCode</name>
<value><int>1</int></value>
</member>
<member>
<name>faultString</name>
<value><string>Unknown method</string></value>
</member>
</struct>
</value>
</fault>
</methodResponse>


 
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The plugin doesn't support the blogger.getPost method.

Thanks for the log. It looks like ecto is posting the message and then tries to read it back to ensure it actually has been posted. So it should work just fine, if you can live with that error message for now ...

I'll have to overhaul the plugin sooner or later anyway, as it currently doesn't work with the editable story IDs of Geeklog 1.3.10. However, there hasn't been that much interest in the plugin lately, so it's not exactly high on my list of things to do.

bye, Dirk
 Quote

All times are EDT. The time is now 12:21 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content