w.bloggar and Serendipity

Discussion corner for Developers of Serendipity.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Yes, I think asking the w.bloggars if that is a known bug would now seem appropriate :)

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 »

Here is th XML that w.bloggar does send:
How did you get access to the XML?
Ciao, Stephan
Bobasaur
Regular
Posts: 17
Joined: Tue Jul 04, 2006 7:13 pm
Location: Shreveport, La.
Contact:

Post by Bobasaur »

Heya,

I opened w.bloggars' .post file with an editor, EditPlus. What it is actually sending is:

Title: textTitle
Body: textBody
Extended: textMore

And how it even passes a category I don't know... string is empty:

Category:

<member>
<name>categories</name>
<value>
<string></string> <<--------- Nothing there ;-)
</value>
</member>

I'm just glad that it's halfway there!

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

Post by stm999999999 »

I don't think, the xml-file, which can be saved by bloggar is the xml bloggar sends to the blog.

And BTW, it saves categories as well! And it transfers them to the blog, been there, done that.

my saved xml:

Code: Select all

<?xml version="1.0"?>
<postData>
<params>
<param>
<value>
<struct>
<member>
<name>accountID</name>
<value>
<int>-1</int>
</value>
</member>
<member>
<name>blogID</name>
<value>
<string></string>
</value>
</member>
<member>
<name>postID</name>
<value>
<string></string>
</value>
</member>
<member>
<name>textTitle</name>
<value>
<string>test</string>
</value>
</member>
<member>
<name>textBody</name>
<value>
<string>sdsdfsdf</string>
</value>
</member>
<member>
<name>dateCreated</name>
<value>
<dateTime.iso8601>18991230T00:00:00</dateTime.iso8601>
</value>
</member>
<member>
<name>textMore</name>
<value>
<string>weiter</string>
</value>
</member>
<member>
<name>excerpt</name>
<value>
<string></string>
</value>
</member>
<member>
<name>keywords</name>
<value>
<string></string>
</value>
</member>
<member>
<name>allowComments</name>
<value>
<int>-1</int>
</value>
</member>
<member>
<name>allowPings</name>
<value>
<int>-1</int>
</value>
</member>
<member>
<name>textFilter</name>
<value>
<string></string>
</value>
</member>
<member>
<name>trackBack</name>
<value>
<string></string>
</value>
</member>
<member>
<name>categories</name>
<value>
<string>Auf ein Bild	Mein Leben & ich	</string>
</value>
</member>
</struct>
</value>
</param>
</params>
</postData>
As i said, this seems to be only the internal xml-represantation of bloggar, it is NOT the send xml: There is <name>textTitle</name>, but in the config "title" and "title" is the right term for s9y.
Ciao, Stephan
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post by stm999999999 »

OK, I found a proxy which sniffers my sendings. So, this is the xml which bloggar sends:

Code: Select all

<?xml version="1.0"?>
<methodCall>
<methodName>metaWeblog.newPost</methodName>
<params>
<param>
<value>
<string>1</string>
</value>
</param>
<param>
<value>
<string>my-login</string>
</value>
</param>
<param>
<value>
<string>my-pass</string>
</value>
</param>
<param>
<value>
<struct>
<member>
<name>title</name>
<value>
<string>testtitle</string>
</value>
</member>
<member>
<name>description</name>
<value>
<string>test text</string>
</value>
</member>
<member>
<name>categories</name>
<value>
<array>
<data>
<value>
<string>Auf ein Bild</string>
</value>
<value>
<string>Fundsachen</string>
</value>
<value>
<string></string>
</value>
</data>
</array>
</value>
</member>
</struct>
</value>
</param>
<param>
<value>
<boolean>0</boolean>
</value>
</param>
</params>
</methodCall>
What you must know:

I try it with unchanged bloggar config, I try it with mt_text_more, I even try it with <title1> to fetch an error, but even with title1 in the config bloggar sends <name>title</name>

so, bloggar seems to ignore the config AND do not send extended text. :-(
Ciao, Stephan
Bobasaur
Regular
Posts: 17
Joined: Tue Jul 04, 2006 7:13 pm
Location: Shreveport, La.
Contact:

Post by Bobasaur »

Stephen,

I see what you mean. I took a look at the packet using CommView with the same results. Thanks for the insight!

Bob
Post Reply