Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2005-08-18 20:09:49

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

Re: XML-RPC for Textpattern 4.0 - test release

I’ve having a slight problem with w.bloggar. I’m not sure if it’s a problem with w.bloggar or with the plugin, but when I post an article, it automatically sets the comments to off. I’d like it to default to on. TXP is set to on by default, so I know it’s only this way when I post via the desktop app. Is this fixable?

Edit: I get this option if I use the Movable Type API instead of MetaWeblog. Is this a limitation in the metaWeblog API?

Last edited by rayne (2005-08-18 20:12:57)


Rayne
mama love

Offline

#17 2005-08-18 20:41:48

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

Re: XML-RPC for Textpattern 4.0 - test release

Okay…there’s a new version posted (at the same URL) which should resolve the excerpt and comment issues. If comments are affirmatively set on or off (for example, by using w.bloggar’s “Advanced…” button on the “More” tab), then that setting is used. Otherwise, the Textpattern default for comments is used.

As to excerpts, they were being stored improperly in the database—the textiled excerpt was going in to the ‘Excerpt’ field, and ‘Excerpt_html’ was being left blank.

Let me know if either of these issues remain unresolved.

Thanks to all who have tested previous versions—your efforts have been very helpful.

-Kurt


kurt@kurtraschke.com

Offline

#18 2005-08-18 21:01:11

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: XML-RPC for Textpattern 4.0 - test release

Almost there with my problem.

Using w.bloggar:
excerpts now get published to the live site but they don’t get textile formatted. “Text Filters” is set to default under “Advanced” on the “more” tab I would assume that means leave it to txp default setting which is to use textile in excerpts.

Also on the front page it lists the articles as expected (minus the textile formatting) but when I go to the section the article belongs to it shows the full body and only one article even though it should show a list with excerpts. Once I resave it through txp it lists fine.

Last edited by tinyfly (2005-08-18 21:02:38)

Offline

#19 2005-08-19 13:08:46

Anark
Member
Registered: 2004-08-14
Posts: 101

Re: XML-RPC for Textpattern 4.0 - test release

Sweet. Worked straight away on Flickr.

Thanks, Kurt!

Offline

#20 2005-08-19 15:51:29

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

Re: XML-RPC for Textpattern 4.0 - test release

This is something of a shot in the dark, but there’s a new version posted which may resolve the excerpt issues with w.bloggar. As it stands now, Textile is forced on for both the body and excerpt—regardless of the setting specified by the XML-RPC client. Room for future improvement, maybe.

-Kurt


kurt@kurtraschke.com

Offline

#21 2005-08-20 08:31:10

Anark
Member
Registered: 2004-08-14
Posts: 101

Re: XML-RPC for Textpattern 4.0 - test release

Here’s an issue I have with Flickr: the paragraphs I post with an image get separated by three break tags. When I dump the same template into an account configured for a Blogger weblog and post from Flickr to that weblog, I only get two break tags betweeen paragraphs.

I’d settle for two break tags instead of proper paragraphing, but three break tags is a bit much.

The TxP site has Textile turned on.

Offline

#22 2005-08-22 03:38:12

Anark
Member
Registered: 2004-08-14
Posts: 101

Re: XML-RPC for Textpattern 4.0 - test release

The {description} tag in Flickr’s Blog This template pulls in whatever text is dispatched with the Flickr photo. It doesn’t matter if I set Textpattern to “use Textile”, “convert linebreaks” or “leave text untouched”, I always get a barrage of four break tags between paragraphs. (I miscounted them earlier — they’ve always been four rather than three. )

Offline

#23 2005-08-22 13:50:55

misterk
Member
From: Morris, MN
Registered: 2004-02-24
Posts: 77
Website

Re: XML-RPC for Textpattern 4.0 - test release

I wrote a custom template at flickr to post the photo into textpattern, and it looks something like this:

<pre><code>
p.

uploaded by name

description
</code></pre>

That fixed the problem to me, but I agree that there was a little weirdness in the handling of textile after posting from flickr.

Offline

#24 2005-08-22 19:31:21

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

Re: XML-RPC for Textpattern 4.0 - test release

Thanks Misterk!


“If you build it, they will come.”

Offline

#25 2005-08-25 19:43:59

chrismc
Plugin Author
Registered: 2004-09-13
Posts: 37
Website

Re: XML-RPC for Textpattern 4.0 - test release

Sorry to hijack the thread, but XRT version 2 will be released very soon.

Offline

#26 2005-08-25 23:33:54

Anark
Member
Registered: 2004-08-14
Posts: 101

Re: XML-RPC for Textpattern 4.0 - test release

Wait — when Kurt said he updated your plugin, I just assumed you had abandoned it and he’d taken over. Are you saying there are going to be two competing XML-RPC plugins, based on the same code, doing the same thing?

Offline

#27 2005-08-26 00:20:49

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

Re: XML-RPC for Textpattern 4.0 - test release

Okay, I’ll fess up. I didn’t exactly coordinate with Chris before releasing my updated version. I saw a lot of people struggling to get XML-RPC to work under TXP 4.0.0, and I also saw that a few small changes could get things running relatively well, so I put my changes together and released it as an updated version of XRT. Chris, if I’ve stepped on your toes here, I’m sorry—of course I left proper attribution in the code, but I did refer to my version as an update to XRT, and I can see how that could cause confusion.

So, that’s that. Moving forward, though, Dean contacted me a while back about rolling XML-RPC into Textpattern itself, and also indicated that Pedro has been working on XML-RPC support of his own. I don’t think it would be smart for Textpattern to end up with three XML-RPC interfaces, so I think at this point the best we can do is get everything in the open and try and merge things back and forth until we get something which works as well as possible. There are definitely weaknesses in my code, and while I can’t speak to XRT 2 or any other as-yet-unreleased code, I think Textpattern as a whole would benefit from mature XML-RPC support based around the code which has been written thus far.

Last edited by KurtRaschke (2005-08-26 00:26:33)


kurt@kurtraschke.com

Offline

#28 2005-08-26 12:28:53

chrismc
Plugin Author
Registered: 2004-09-13
Posts: 37
Website

Re: XML-RPC for Textpattern 4.0 - test release

Don’t worry – no toe-stepping done! I’d not looked at XRT in months and it was only in the last few days that I coded v2, as I had a few ideas to get around the short-comings of the old version. XRT2 (or “Telegraf” as I’ve started to call it) rocks a big fat one all over XRT1’s candy-ass.

I do agree there’s no point in 3 people releasing 3 different versions of what will be basically the same thing. I think this might be a good time for a developer to step in and tell us what their plan for XML-RPC in textpattern is.

Offline

#29 2005-08-26 14:19:17

Anark
Member
Registered: 2004-08-14
Posts: 101

Re: XML-RPC for Textpattern 4.0 - test release

Once upon a roadmap, it said that native XML-RPC support was scheduled for TxP 1.1…

Offline

Board footer

Powered by FluxBB