Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#46 2005-03-04 20:25:38
- xenlab
- Member
- From: winter park, fl
- Registered: 2004-07-08
- Posts: 16
Re: XML-RPC for Textpattern - version 1.0 released
wow! thanks for this plug-in. i was dying to figure out how to plug flickr into textpattern. I just got a new 5 megapixel cannon and now picasa and flickr are my new best friends… now i can bring my old friend txp to the party and get it on!
i’ll also have to check out some of these other tools, i’m always looking for ways to make my technology access more and more transparent, and being able to blog from other than the txp admin is going to come in handy… and like other people said too, for clients espeically.
thanks,
xenlab
http://www.xnlb.com/
Offline
#47 2005-03-09 07:44:02
- jbitely
- New Member
- Registered: 2005-02-28
- Posts: 3
Re: XML-RPC for Textpattern - version 1.0 released
Anyone have this working with RC3? If so, where do you sprinkle the magic dust?
Offline
Re: XML-RPC for Textpattern - version 1.0 released
@jbitely: in xmlrpcs.php you have to comment out the function stripSpace like follows:
/*function stripSpace($text)
{
//global $txpac;
//$text = preg_replace(“/(^| &\S+;)|(<[^>]*>)/U”,”“,$text);
return strtolower(preg_replace(“/[^[:alnum:]\-]/”,”“,str_replace(” “,”-”,$text)));
}*/
I didnt test, if there is now a bug with whitespaces, but posting and getting categories works, which was what i needed.
the function is now defined somewhere in the inner side of txp ;)
Samui? Samui! (about the life as farang in thailand)
David’s Neighbour
Offline
Re: XML-RPC for Textpattern - version 1.0 released
line 52 till 57 – i forgot
Samui? Samui! (about the life as farang in thailand)
David’s Neighbour
Offline
#50 2005-03-15 16:58:17
- jbitely
- New Member
- Registered: 2005-02-28
- Posts: 3
Re: XML-RPC for Textpattern - version 1.0 released
Worked like a charm. Thanks very much graumeister.
Offline
Re: XML-RPC for Textpattern - version 1.0 released
Is XRT compatible with PHP5? I am having trouble using it after they upgraded my server at textdrive— it was working great before the upgrade.
Offline
Re: XML-RPC for Textpattern - version 1.0 released
I have php5 installed and it works.
Samui? Samui! (about the life as farang in thailand)
David’s Neighbour
Offline
Re: XML-RPC for Textpattern - version 1.0 released
Thanks graumeister— must be something else then.
Did you do anything besides comment out the stripspace function to get it working?
Offline
Re: XML-RPC for Textpattern - version 1.0 released
I’m watching this too. I’m having the same problem. I commented out those lines too, but still nothing.
Offline
Re: XML-RPC for Textpattern - version 1.0 released
soulship,
Are you hosted on Textdrive?
Offline
Re: XML-RPC for Textpattern - version 1.0 released
Aehm, did you use the new version of the script?
http://www.pixelmeadow.com/blog/2005/4/29/urgent-security-update-to-xrt/
Samui? Samui! (about the life as farang in thailand)
David’s Neighbour
Offline
Re: XML-RPC for Textpattern - version 1.0 released
It works – now to go set up a del.icio.us “thingy” and see if it will post my links daily! :)
Offline
Re: XML-RPC for Textpattern - version 1.0 released
Yes, I am using the new version.
Offline
Re: XML-RPC for Textpattern - version 1.0 released
I’ve got everything working great, but posts are coming through with comments turned off by default, and textile turned on. How can I turn one on, and the other off, without editing the posts afterward?
Offline
Re: XML-RPC for Textpattern - version 1.0 released
joshpeek: read this you have to comment out this function in rc3 to work.
Samui? Samui! (about the life as farang in thailand)
David’s Neighbour
Offline