Page 1 of 1

how to post entry/extended body via API?

Posted: Mon Sep 29, 2008 9:03 am
by ameo
hi,
how can i tell s9y how to split the content i submit through scribfire or any other blogging tool?

i used to use

Code: Select all

<!--more-->
with almost all the blogging engines i've used, but that doesn't seems to work with s9y.

any idea?

thanks

Re: how to post entry/extended body via API?

Posted: Mon Sep 29, 2008 1:50 pm
by garvinhicking
Hi!

s9y supports an "split entry" plugin that allows to use such a syntax. However, when you add an entry through XMLRPC you must make sure to put this split syntax into the EXTENDED body, not the plaintext body.

s9y seperates between body and extended body, for XMLRPC this is usually the "mt_text_more" column that your client needs to support to fill the output.

HTH,
Garvin

Posted: Mon Sep 29, 2008 4:30 pm
by ameo
thanks i'll try that next time i post something

Posted: Thu Oct 02, 2008 7:36 pm
by Mekk
Both BlogJet and Post2Blog more-or-less correctly post splitted entry.

I had the following problems related to extended entry with them (more frequently with post2blog):

- sometimes basic entry ended with <p>, and extended entry started with </p>, what obviously messed HTML

- sometimes when I load the post from the server for edition the split mark is missed (and must be re-added)

Re: how to post entry/extended body via API?

Posted: Fri Oct 03, 2008 7:07 am
by ameo
garvinhicking wrote:Hi!

s9y supports an "split entry" plugin that allows to use such a syntax. However, when you add an entry through XMLRPC you must make sure to put this split syntax into the EXTENDED body, not the plaintext body.

s9y seperates between body and extended body, for XMLRPC this is usually the "mt_text_more" column that your client needs to support to fill the output.

HTH,
Garvin
sorry, i wanted to reply to this yesterday but totally forgot,
i couldn't find that "split entry" plugin the only thing i found related was the "split in pages"

Posted: Fri Oct 03, 2008 7:09 am
by ameo
Mekk wrote:Both BlogJet and Post2Blog more-or-less correctly post splitted entry.

I had the following problems related to extended entry with them (more frequently with post2blog):

- sometimes basic entry ended with <p>, and extended entry started with </p>, what obviously messed HTML

- sometimes when I load the post from the server for edition the split mark is missed (and must be re-added)
i use both actually, have you tried posting splitted entry successfully through post2blog?

Posted: Fri Oct 03, 2008 1:50 pm
by Mekk
have you tried posting splitted entry successfully through post2blog
Yes, and it works (I insert this _MORE_TEXT_MARK_ or whatever it is called - I am now writing from another machine) and post (as draft).

The only problem is that - as I said - initial excerpt ends with <p>, and extended entry starts with </p>, what confuses browser when serendipity renders.

Posted: Sat Oct 04, 2008 6:48 am
by ameo
Cool, thanks
i'll give it on more shot.

one more issue i'm wondering about, hope you or garvin can tell me about.

when posting through blogging software, does s9y try to check all the links in the post for possible trackbacks/pingback URL?

and also when i post does the "post announcement" plugin works? or it needs entries to e posted only from admin area!

thanks

Posted: Sun Oct 05, 2008 7:52 pm
by garvinhicking
Hi!
when posting through blogging software, does s9y try to check all the links in the post for possible trackbacks/pingback URL?
Yes.
and also when i post does the "post announcement" plugin works? or it needs entries to e posted only from admin area!
This should work as well, but this pinging is much more prone to errors or network failures.

Regards,
Garvin

Posted: Sun Oct 05, 2008 8:51 pm
by ameo
great, thanks gravin