Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#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
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
Re: XML-RPC for Textpattern 4.0 - test release
MarsEdit and ecto work great! Thanks Kurt.
Offline
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
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.
- Download http://www.raschke.net/svn/textpattern/trunk/textpattern/xmlrpcs.php and then upload it to your /textpattern/ directory.
- 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
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
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
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
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
Re: XML-RPC for Textpattern 4.0 - test release
I am using w.blogger and I don’t see where to put text for the txp excerpt field
Refresh Dallas and other Refreshing Cities.
Offline
#14 2005-08-18 16:22:04
- KurtRaschke
- Plugin Author
- Registered: 2004-05-16
- Posts: 275
Re: XML-RPC for Textpattern 4.0 - test release
Regarding w.bloggar and the ‘excerpt’ field:
When you add an account in w.bloggar, make sure to select the “Movable Type” option for “Blog Tool”. If you’ve already created an account using the “Custom” blog type, you’ll have to delete it in w.bloggar first. Once you’ve done that, an “Excerpt” field will appear on the “More” tab. For some reason, changing an existing blog in w.bloggar from the “Custom” type to “Movable Type” does not cause the excerpt field to appear.
Also note that if you choose “Post” your post will be saved as a draft in Textpattern, as where as “Post and Publish” will cause the post to go live in Textpattern.
-Kurt
kurt@kurtraschke.com
Offline
Re: XML-RPC for Textpattern 4.0 - test release
Excellent thanks, one other thing though. I can now enter an excerpt in w.bloggar and it shows up in the txp admin but on my live site it shows only the body until I go to the article in the txp admin and resave it. I am using the if_excerpt conditional in my article form.
Any ideas on this?
Last edited by tinyfly (2005-08-18 16:35:45)
Refresh Dallas and other Refreshing Cities.
Offline