Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: XML-RPC For Textpattern - BETA 2 RELEASED!
Ok so now I’ve tried it using Zempt 0.3 which is specifically designed for MT and that works too. It’s also free which is a bonus.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: XML-RPC For Textpattern - BETA 2 RELEASED!
This also works with Flickr. I know a lot of people here like to just use their own photo albums. But I found it pretty cool.
Offline
Re: XML-RPC For Textpattern - BETA 2 RELEASED!
Using w.bloggar and it doesn’t turn comments on, other than that it seems to work fine.
Offline
Re: XML-RPC For Textpattern - BETA 2 RELEASED!
> bleveck wrote:
> This also works with Flickr. I know a lot of people here like to just use their own photo albums. But I found it pretty cool.
Yeah, I tested this tonight. Flickr gives me an error message, saying that it failed, but the post is created. That’s one more bug for me to iron out…
Offline
#20 2004-11-12 04:05:49
- nesher
- Archived Plugin Author

- Registered: 2004-02-23
- Posts: 15
Re: XML-RPC For Textpattern - BETA 2 RELEASED!
I got it to download articles using MarsEdit (i had to mark the “blog id” as “articles” and it downloaded everything in the articles section. ) It did download the categories, and noticed entries that had various categories marked, but the categories marked were lost when I saved the article.
Deleting even worked. I’m impressed.
Offline
Re: XML-RPC For Textpattern - BETA 2 RELEASED!
> nesher wrote:
> I got it to download articles using MarsEdit (i had to mark the “blog id” as “articles” and it downloaded everything in the articles section. ) It did download the categories, and noticed entries that had various categories marked, but the categories marked were lost when I saved the article.
Thank you SO much! That was the missing element for me – putting the section name in the blog ID field! Its now working great! As you say, downloaded posts don’t retain their category, but I’m able to post articles with catgeories OK. Superb!
Cheers,
Jon VC#9
Offline
#22 2004-11-12 20:02:35
- nesher
- Archived Plugin Author

- Registered: 2004-02-23
- Posts: 15
Re: XML-RPC For Textpattern - BETA 2 RELEASED!
Yeah – it kinda makes sense…. sorta…. if you think about how Movable Type used different blogs for different sections… so you could create a new blog in marsedit for a different section, right?
Offline
Re: XML-RPC For Textpattern - BETA 2 RELEASED!
I think its a great start. For one I am going to start making a custom input with Flash and XML-RPC. This way I can customize the input for the users giving greater usability and more functions while using the core TXP API and my additions.
Offline
Re: XML-RPC For Textpattern - BETA 2 RELEASED!
I love using this with Flickr for running a moblog right now, but I have a problem:
When I post to Textpattern via Flickr, comments are turned off and the comment invite is “Comment” instead of using the defaults I set in the admin preferences (comments are on by default and use a custom invite).
Now, the invite I think I can fix through editing xmlrpcs.php, but I don’t know how to get comments to be on. Any suggestions?
Liberal. Geek.
Offline
Re: XML-RPC For Textpattern - BETA 2 RELEASED!
I’m not having a lot of luck getting this to work with ecto 2.0.8. I can hit “Update Cache” and it seems to be doing something, I can see the POST in my servers access logs. However when I go to WebLog -> Retreive Entries I get this error:
Could not parse response for method “metaWeblog.getRecentPosts”. Error: “getRecentPosts() error: Your login (, ) didn’t validate.”.
As for my ecto seetings. I have “System” set to “MovableType” “Access Point” is set to: http://plek.org/textpattern/xmlrpcs.php which is the proper URL as far as I can see.
Also I’m getting these in my error logs with every POST:
PHP Notice: Use of undefined constant WEBLOG_XMLRPC_USERAGENT – assumed ‘WEBLOG_XMLRPC_USERAGENT’ in /path/to/textpattern/xmlrpcs.php on line 569
Any help?
Thanks much!
Offline
Re: XML-RPC For Textpattern - BETA 2 RELEASED!
Ok, I just figured out my problem. I am using custom database table prefixes and the xmlrpc code doesn’t expect that.
I went through and manually updated every SQL statement with my table prefixes. But it would probably make the most sense to check to see if $txpcfg['table_prefix'] is set. If so then assign that to a varible thats prepended to the front of all the table names in each SQL statement. And maybe just set that variable to an empty string if $txpcfg['table_prefix'] is not set.
Offline
Re: XML-RPC For Textpattern - BETA 2 RELEASED!
Another thing I noticed. I was having little luck getting Textile previews working with ecto. But after much looking and frustration and confusion about how mt.supportedTextFilters is supposed to work, I tried a few random things.
It looks like ecto expects the key in mt_supported_filter() to be textile_1. With that set I was able to get ecto to do proper textile previews.
I’m not sure if ecto is doing the right thing there, didn’t have a lot of luck figuring out what acceptable key values are, but this works for me.
Offline