w.bloggar and Serendipity

Discussion corner for Developers of Serendipity.
Bobasaur
Regular
Posts: 17
Joined: Tue Jul 04, 2006 7:13 pm
Location: Shreveport, La.
Contact:

w.bloggar and Serendipity

Post by Bobasaur »

I was able to get w.bloggar to work with Serendipity using custom settings but would still like to tweak it a bit more. Full review at http://etherealtrades.com/ with examples.

Interested in proper tags for:

Title: "serendipity_title"
Categories: ??? just worked on its' own
Extended: "extended"

Are there other comperable editors that interface easily?

Any comments appreciated!

Bobasaur
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: w.bloggar and Serendipity

Post by garvinhicking »

Hi!

For the title tag just use "title". :)

For "more Text" use "mt_text_more".

HTH,
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/
Bobasaur
Regular
Posts: 17
Joined: Tue Jul 04, 2006 7:13 pm
Location: Shreveport, La.
Contact:

Re: w.bloggar and Serendipity

Post by Bobasaur »

garvinhicking wrote:Hi!

For the title tag just use "title". :)

For "more Text" use "mt_text_more".

HTH,
Garvin
Thanks for the feedback Garvin!
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post by stm999999999 »

I tryed it with <mt_text_more> and </mt_text_more>, but the extended entry in s9y after the transfer is still empty!?

Is there any other thing to do?

PS: I try it on my test-blog at supersized.org, the plugin is v1.23
Ciao, Stephan
Bobasaur
Regular
Posts: 17
Joined: Tue Jul 04, 2006 7:13 pm
Location: Shreveport, La.
Contact:

Post by Bobasaur »

stm999999999 wrote:I tryed it with <mt_text_more> and </mt_text_more>, but the extended entry in s9y after the transfer is still empty!?
Still chokes here too... but we're getting closer :?

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

Post by stm999999999 »

Is there any possibility to see, what bloggar sends to the API? Perhaps a web online service which I can send an entry and it shows me the XML-data?

Or can I sniffer the communication between bloggar and s9y?
Ciao, Stephan
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

You can enable debugging in the XMLRPC plugin by editing the serendipity_xmlrpc.inc.php file and setting $debug_xmlrpc to "2" instead of "false". This will create a /tmp/rpc.log logfile...

If you look into the same file, "mt_text_more" should be referenced a couple of times to take care of the input, though?

Best 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/
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post by stm999999999 »

/tmp/rpc.log
Hm, I use my s9y on a hosting server - would these make an logfile in the temp-directory of the server-root? I do not think I get access to this place ;-)

I have a tmp-dir on the same level as my htdocs where s9y is installed. Can I use ../tmp/rcp.log instead?
Ciao, Stephan
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

You can edit the file to change the logfile location of course, yes. I think /tmp/rpc.log can be found 2 or 3 times in the file. :)

Best 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/
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post by stm999999999 »

hm, when ich make the debug-variable to 2 (or true) I get an error in bloggar:

Image

It is independant of the location of the log-file. I tried /tmp, ../../../tmp and I tried the whole path /home/www/... to my directorys.
Ciao, Stephan
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Yes, that is right, once the debugging is on, s9y will not return the variables as expected, I think...because it emits very verbose output...

So try to turn on the debugging only before you post your entry!

Best 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/
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post by stm999999999 »

OK, thats work.

But there is no "more_text" oder "mt_text_more" in the xml-file :-( It seems, that bloggar did dot send any extended text :-(
Ciao, Stephan
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post by stm999999999 »

the debug-function protocolls everey recieved data, right? It is not important, if s9y kowns the variables? So also "more_text", even if s9y does not know it, should be in the protocoll, yeah?
Ciao, Stephan
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

That'S right. It seems as if w.bloggar is the culprit because it does not send mt_more_text! If it's not in the XML, s9y didn't receive it!

Best 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/
Bobasaur
Regular
Posts: 17
Joined: Tue Jul 04, 2006 7:13 pm
Location: Shreveport, La.
Contact:

Post by Bobasaur »

garvinhicking wrote:That'S right. It seems as if w.bloggar is the culprit because it does not send mt_more_text! If it's not in the XML, s9y didn't receive it!
Here is th XML that w.bloggar does send:

Code: Select all

<name>textMore</name>
<value>
<string>supposed to be the additional information...</string>
</value>
</member>
I guess we garner a good association with the w.bloggar folks :-)

Bob
Post Reply