Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
XML-RPC For Textpattern - BETA 2 RELEASED!
Following on from the small test-run that was Beta 1, I’ve finally “got my finger oot
Last edited by chrismc (2004-10-15 19:57:50)
Offline
#2 2004-10-15 15:58:35
- Remillard
- Plugin Author
- From: Lenexa, KS
- Registered: 2004-05-16
- Posts: 169
Re: XML-RPC For Textpattern - BETA 2 RELEASED!
What does this do exactly? Permit local client side 3rd party apps to interface with TXP? (For example BloGTK for linux, etc.) Or is it more for some of the underpinnings like the pings and trackbacks and whatnot?
Regards,
Remillard
PS: BloGTK by the way has the funniest FAQ I’ve seen in a long time. Heck, the whole site is pretty amusing. It’s worth a read even if you run Windows.
Last edited by Remillard (2004-10-15 16:03:31)
Offline
Re: XML-RPC For Textpattern - BETA 2 RELEASED!
There isn’t a link to download the files. It says to look at the old post, but the link takes you back to your blog entries. I found the old post, but the link says ‘beta1’, and all the files have modification dates going back to Septembet – Could you confirm the right download link, I’m eager to try this out..
Cheers,
Jon VC#9
Offline
Re: XML-RPC For Textpattern - BETA 2 RELEASED!
Project Page: http://www.pixelmeadow.com/projects/xml-rpc-beta-2
Download: http://www.pixelmeadow.com/files/xmlrpc-for-textpattern-beta2.zip
Remillard: it’s for using stuff like BloGTK, etc with TXP
Offline
#5 2004-10-15 16:04:12
- Remillard
- Plugin Author
- From: Lenexa, KS
- Registered: 2004-05-16
- Posts: 169
Re: XML-RPC For Textpattern - BETA 2 RELEASED!
Beauty!
Off to try to write an ebuild script for it.
Remi
Offline
Re: XML-RPC For Textpattern - BETA 2 RELEASED!
Thanks – given it a quick whirl on my Mac with Ecto and MarsEdit. I can download posts OK, but I can’t send new posts, edit existing ones or specify which section to post to.
This is the error from trying to edit a post (I’ve changed the paths) :
<code>
XML-RPC reply received: 2004-10-15 17:14:12 +0100
URL: http://www.hicksdesign.co.uk/textpattern/xmlrpcs.php
Method name: metaWeblog.editPost
Status code: 200
Succeeded: NO
—Parse Error—
Parse Error Title: XML-RPC Response Parsing Failed
Parse Error Message: The XML parser could not parse the data.
Response text:
<br />
<b>Warning</b>: extract() [<a href=‘function.extract’>function.extract</a>]: First argument should be an array in <b>/path/to/textpattern/xmlrpcs.php</b> on line <b>326</b><br />
<br />
<b>Warning</b>: Cannot modify header information – headers already sent by (output started at /path/to/textpattern/xmlrpcs.php:326) in <b>/path/to/textpattern/lib/xmlrpc.php</b> on line <b>416</b><br />
<br />
<b>Warning</b>: Cannot modify header information – headers already sent by (output started at /path/to/textpattern/xmlrpcs.php:326) in <b>/path/to/textpattern/lib/xmlrpc.php</b> on line <b>417</b><br />
<br />
<b>Warning</b>: Cannot modify header information – headers already sent by (output started at /path/to/textpattern/xmlrpcs.php:326) in <b>/path/to/textpattern/lib/xmlrpc.php</b> on line <b>418</b><br />
<br />
<b>Warning</b>: Cannot modify header information – headers already sent by (output started at /path/to/textpattern/xmlrpcs.php:326) in <b>/path/to/textpattern/lib/xmlrpc.php</b> on line <b>419</b><br />
<br />
<b>Warning</b>: Cannot modify header information – headers already sent by (output started at /path/to/textpattern/xmlrpcs.php:326) in <b>/path/to/textpattern/lib/xmlrpc.php</b> on line <b>421</b><br />
<?xml version=“1.0” ?>
<methodResponse>
<params>
<param>
<value>
<string>562</string>
</value>
</param>
</params>
</methodResponse>
</code>
Last edited by jonhicks (2004-10-15 16:18:38)
Cheers,
Jon VC#9
Offline
Re: XML-RPC For Textpattern - BETA 2 RELEASED!
Hmmm… that’s very strange… I certainly don’t get any such errors posting through Windows.
Let me get everything setup here at home and I’ll look into the errors in more detail.
Do you have error reporting set to all, by any chance?
Offline
Re: XML-RPC For Textpattern - BETA 2 RELEASED!
Having dived back into the code, I’d suggest that the files from beta 1 haven’t been overwritten by the new versions.
The above errors do not match up to code in beta 2 – but they do match beta 1.
Make sure that it’s the files from this zip file that you are using.
Hope that helps!
Offline
Re: XML-RPC For Textpattern - BETA 2 RELEASED!
Thanks Chris – bizarre, but you’re right, they hadn’t been overwritten properly. The story is now quite different. The posts all download nicely into the right sections, and I can send edits.
- I can’t choose a category without receiving errors
- downloaded posts do not have line breaks preserved, all the text is one large paragraph.
It could be a problem with Ecto, or rather my inexperience in using it, so I’ll probe further. It feels so close!! Thanks for everything, I’ll keep plugging away at it. Interestingly the first beta allowed posts to be downloaded in MarsEsit, but not with this release. I think this is because posts are now organised into sections, which Ecto can handle, but MarsEdit can’t.
Cheers,
Jon VC#9
Offline
Re: XML-RPC For Textpattern - BETA 2 RELEASED!
Yeah, the category bug is a known one. In the windows version, the post will still be added to the database, category and all. Is it not the same in the Mac version?
No line breaks is a new one… Again, it works on the Windows and Linux clients I’ve tried. I’ll have to look into this one a bit further. I wonder if it’s something to do with new line markers across the different systems..?
Offline
Re: XML-RPC For Textpattern - BETA 2 RELEASED!
Ok, I’ve made some improvements, I think.
This should fix the Ecto category bug. At least it does on my machine…
It also provisionally adds support for mt.supportedTextFilters (so Ecto 2’s Textile preview might work, but I wouldn’t bet on it)
Offline
Re: XML-RPC For Textpattern - BETA 2 RELEASED!
Great work chris!
but still category wont work on my mac ecto
Offline