XML-RPC plugin update - thanks!

Creating and modifying plugins.
Post Reply
dolbex
Regular
Posts: 22
Joined: Fri Aug 18, 2006 9:17 pm

XML-RPC plugin update - thanks!

Post by dolbex »

Thanks to whomever made the changes to the XML-RPC plugin. It works 100% of the time now with Windows Live Writer.

*bows*
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post by stm999999999 »

hm, it is real all allright?

I have the following problems:

Permalink is set, but I do not enter one in LiveWriter

I add a link in the trackback-field, but it does not appear in s9y

are you able to post an extended text?
Ciao, Stephan
mgroeninger
Regular
Posts: 546
Joined: Mon Dec 20, 2004 11:57 pm
Contact:

Post by mgroeninger »

dolbex, thanks! (Hopefully you are talking about the update I made this passed week.)

stm999999999, all I did was troubleshoot an html response header problem, which did not affect everyone. But, when it did effect someone they were unable to use LiveWriter at all... So your level of expectation might be a little different.

I've decided LiveWriter doesn't really do what I need, but I would be happy to take a look at those problems.
mgroeninger
Regular
Posts: 546
Joined: Mon Dec 20, 2004 11:57 pm
Contact:

Post by mgroeninger »

stm999999999,
I've been looking at too many blog clients... I can't find any way to post an extended entry in LiveWriter, and I don't see anything which even allows me to view a permalink (from within the client).

I'll run through a couple of tests and catch some data, but I'm not really sure what I am doing here... :D Any help would be appreciated.
dolbex
Regular
Posts: 22
Joined: Fri Aug 18, 2006 9:17 pm

Post by dolbex »

mgroeninger wrote:stm999999999,
I've been looking at too many blog clients... I can't find any way to post an extended entry in LiveWriter, and I don't see anything which even allows me to view a permalink (from within the client).

I'll run through a couple of tests and catch some data, but I'm not really sure what I am doing here... :D Any help would be appreciated.
You're right, I am not seeing extended text either (which surprises me) but I don't use that on my own blog (www.dolbex.com) as I post single stories.

Another thing that does seem to be supporting in LiveWriter via MT is keywords. However, they don't actually get put anywhere in serendipity which brings me to this post that is really bugging me (and I'm surprised it doesn't bug more people). Can we take those keywords and put them into the keywords of that plugin?
dolbex
Regular
Posts: 22
Joined: Fri Aug 18, 2006 9:17 pm

Post by dolbex »

mgroeninger wrote:stm999999999,
I've been looking at too many blog clients... I can't find any way to post an extended entry in LiveWriter, and I don't see anything which even allows me to view a permalink (from within the client).

I'll run through a couple of tests and catch some data, but I'm not really sure what I am doing here... :D Any help would be appreciated.
You're right, I am not seeing extended text either (which surprises me) but I don't use that on my own blog (www.dolbex.com) as I post single stories.

Another thing that does seem to be supporting in LiveWriter via MT is keywords. However, they don't actually get put anywhere in serendipity which brings me to this post that is really bugging me (and I'm surprised it doesn't bug more people). Can we take those keywords and put them into the keywords of that plugin?
dolbex
Regular
Posts: 22
Joined: Fri Aug 18, 2006 9:17 pm

Post by dolbex »

mgroeninger wrote:stm999999999,
I've been looking at too many blog clients... I can't find any way to post an extended entry in LiveWriter, and I don't see anything which even allows me to view a permalink (from within the client).

I'll run through a couple of tests and catch some data, but I'm not really sure what I am doing here... :D Any help would be appreciated.
You're right, I am not seeing extended text either (which surprises me) but I don't use that on my own blog (www.dolbex.com) as I post single stories.

Another thing that does seem to be supporting in LiveWriter via MT are keywords. However, they don't actually get put anywhere in serendipity which brings me to this post that is really bugging me (and I'm surprised it doesn't bug more people). Can we take those keywords and put them into the keywords of that plugin?
mgroeninger
Regular
Posts: 546
Joined: Mon Dec 20, 2004 11:57 pm
Contact:

Post by mgroeninger »

Ok, the plugin does actually support tags and extended data... This post is for me to kinf of keep track of what I have found, and let you guys comment on it.

If you can tell me how to actually get Live Writer to send an "extended entry" I can test this. "mt_excerpt" is sent with each post, but it is blank and the plugin looks for 'mt_text_more', anyhow.

For tags it handles it this way:

Code: Select all

        $entry['mt_keywords'] = $post_array['mt_keywords'];
        serendipity_plugin_api::hook_event('xmlrpc_updertEntry', $entry);
This means we need to add an event handler to any plugins which handle tags. I'm not familiar with either of the tag plugins, but I will take a look at it sometime.

Some problems I see:

Code: Select all

    $entry['allow_comments'] = $post_array['mt_allow_comments']? true : false;
This should probably check to see if it is set and if not use the serendipity default. I'll look into this.

There is no check for mt_tb_ping_urls. I will look into this too.
mgroeninger
Regular
Posts: 546
Joined: Mon Dec 20, 2004 11:57 pm
Contact:

Post by mgroeninger »

I have a patch for the metadesc plugin which should get keywords working for that plugin. I have asked Garvin to look it over so I don't introduce anything horrifying into the plugin.

I have verified that the freetag plugin supports tags (keywords) via xmlrpc.

I have verified that the xmlrpc plugin supports extended entries when using w.bloggar. I have no idea how to get Live Writer to send an "extended" entry, so without that info I can't do a whole lot.

stm999999999, the permalink is being set at the server and, on my installation, it is actually setting the permalink correctly. Would you prefer to see the plugin discard the permalink the server creates if one is not provided?

I will work on getting trackbacks working as soon as I have some time...
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post by stm999999999 »

hm, when I make a new entry on the s9y-backend, the permalink-field has "/permalink/UNKNOWN.html", so normaly my entries have no permalink, they are represented by their normal archhive/id-title - link.

Only when I want a special permalink, I add some permalink in the field ans from this on in the normal entry-list or the category-list, the entry is linked by his permalink.

If I use LiveWriter and I let the link-field empy (as I see now, even if I wrote something into it), the permalink at s9y is set to /permalinks/title

This has two problems:
1) I do not want to have permalinks for normal entries
2) If you have to entries with the same title there is a confusion.


BTW: making the permalink-field in the backend empty does not have an effect! After saving the old permalink is back! Only one thing makes the entry listed by his normal archives/id-title: typing "/permalink/UNKNOWN.html"! I think it would be better when an empty field is the sign for s9y to use the normal link, or?
Ciao, Stephan
mgroeninger
Regular
Posts: 546
Joined: Mon Dec 20, 2004 11:57 pm
Contact:

Post by mgroeninger »

Ahhh... are you using the "Custom Permalinks for Entries" (serendipity_event_custom_permalinks) plugin?

I haven't tested the results with that plugin. I have only been looking at permalinks as the normal link.. in my case it is /year/month/day/id-title

Sometime next week I will get the permalink plugin installed on my test site and see what I find...
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post by stm999999999 »

yes, I mean serendipity_event_custom_permalinks.

The normal entry link is of course set by s9y
Ciao, Stephan
Post Reply