Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-08-15 21:45:58

KurtRaschke
Plugin Author
Registered: 2004-05-16
Posts: 275

XML-RPC for Textpattern 4.0 - test release

I’ve updated the latest XRT release to run under Textpattern 4.0. I’ve tested it with ecto, Azure, and DashBlog, each of which appeared to work well.
If you’d like to try this release, you can download it from:

http://www.raschke.net/svn/textpattern/trunk/textpattern/xmlrpcs.php

Additionally, it now uses the IXR XML-RPC library which is bundled with Textpattern, so the “xmlrpc.php” file which was previously included with XRT is no longer used.

There is still room for improvement, as this version tends to log a torrent of undefined variable and undefined index errors, which are non-fatal, but still should be remediated. Additionally, its handling of privileges is a bit out of date.

As I’ve only tested it with a small number of XML-RPC weblog clients, I would be interested in hearing any reports of success or failure with other clients.

-Kurt


kurt@kurtraschke.com

Offline

#2 2005-08-16 09:25:40

jonhicks
Member
From: Oxfordshire UK
Registered: 2004-03-22
Posts: 256
Website

Re: XML-RPC for Textpattern 4.0 - test release

Thanks Kurt – I’ll give this a try later today…


Cheers,
Jon VC#9

Offline

#3 2005-08-16 13:37:56

flowb33
Member
From: Portland, OR
Registered: 2004-02-25
Posts: 11

Re: XML-RPC for Textpattern 4.0 - test release

I just tried it with Flickr using the “Metaweblog API” and it configured and posted to my site perfectly. I could never get the old one to work very well. Nice job and thanks.

Last edited by flowb33 (2005-08-16 13:38:46)

Offline

#4 2005-08-16 13:58:49

bauhouse
Archived Plugin Author
From: Abbotsford, BC Canada
Registered: 2004-06-29
Posts: 68
Website

Re: XML-RPC for Textpattern 4.0 - test release

MarsEdit and ecto work great! Thanks Kurt.

Offline

#5 2005-08-16 21:15:59

rayne
Member
From: AL USA
Registered: 2004-03-24
Posts: 58
Website

Re: XML-RPC for Textpattern 4.0 - test release

Tested and worked with w.bloggar on WinXP.

Thanks! I was hoping for something so I could post pics from Flickr.


Rayne
mama love

Offline

#6 2005-08-17 04:58:26

creativesplash
Member
From: Coimbatore, India
Registered: 2005-01-19
Posts: 283
Website

Re: XML-RPC for Textpattern 4.0 - test release

I need some help here. Can you please give me step by step instructions for setting this up in w.bloggar?


“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”

— Albert Einstein

Offline

#7 2005-08-17 11:21:59

KurtRaschke
Plugin Author
Registered: 2004-05-16
Posts: 275

Re: XML-RPC for Textpattern 4.0 - test release

> creativesplash wrote:

> I need some help here. Can you please give me step by step instructions for setting this up in w.bloggar?

Well, I can’t tell you what to do about w.bloggar specifically, because it’s Windows-only (perhaps some Windows user here can contribute directions for that end?), but I can give you a generic outline.

  1. Download http://www.raschke.net/svn/textpattern/trunk/textpattern/xmlrpcs.php and then upload it to your /textpattern/ directory.
  2. In your weblogging tool, use http://www.yoursite.com/path/to/textpattern/xmlrpcs.php as the “API URL” (the name may be different). If you’re given a choice of API, you’ll want to choose either the “MetaWeblog” or “Movable Type” API.

Let me know if this helps. If you can, try and post a screenshot of the configuration screen for w.bloggar; if I knew what the configuration options were I could probably be of more assistance.

-Kurt


kurt@kurtraschke.com

Offline

#8 2005-08-17 19:04:05

creativesplash
Member
From: Coimbatore, India
Registered: 2005-01-19
Posts: 283
Website

Re: XML-RPC for Textpattern 4.0 - test release

Okie I selected “Movable Type” API and it works just fine. Thanx a lot for the pointers, Kurt.

Regards,
Vasanth


“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”

— Albert Einstein

Offline

#9 2005-08-17 20:11:23

poeman
New Member
Registered: 2004-05-26
Posts: 4
Website

Re: XML-RPC for Textpattern 4.0 - test release

I’ve tried this with Ecto, MarsEdit and Dashblog – I always get the same error — any ideas?

return new IXR_Error(1, “getRecentPosts() error: Your login ($username, $password) didn’t validate.”);

I’m running 4.0 SVN 810

Thanks,

Alvin…

Offline

#10 2005-08-17 21:16:59

bluearc21
Member
From: US.VA
Registered: 2004-02-24
Posts: 62
Website

Re: XML-RPC for Textpattern 4.0 - test release

Holy crap this is really cool.

“Blog this” now works in Flickr.

And you custom layout with Textile.

<code>

! {photo_src}({photo_title}) ! : {photo_url}

“ {photo_title} “ : {photo_url}

Originally uploaded by “ {uploader_name} “ : {uploader_profile}

{description}

</code>

Thanks Kurt!

now, to Ecto or not to Ecto, that is the question…

Last edited by bluearc21 (2005-08-17 21:19:36)


“If you build it, they will come.”

Offline

#11 2005-08-17 21:48:08

KurtRaschke
Plugin Author
Registered: 2004-05-16
Posts: 275

Re: XML-RPC for Textpattern 4.0 - test release

Alvin and anyone else experiencing password issues:

I’ve updated the <code>txp_validate()</code> function to the new version used in <code>txp_auth.php</code>; this should fix the password problem. Please download a new copy of xmlrpcs.php and try it out.

-Kurt


kurt@kurtraschke.com

Offline

#12 2005-08-18 12:07:36

poeman
New Member
Registered: 2004-05-26
Posts: 4
Website

Re: XML-RPC for Textpattern 4.0 - test release

Kurt – you’re got my vote for sainthood. I grabbed a new copy, sent it to textdrive and pressed that cool F12 key for the the tiger dashboard. Worked like —- well, it worked just fine…

Thanks so much,

Alvin…

Last edited by poeman (2005-08-18 12:13:21)

Offline

Board footer

Powered by FluxBB