Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2010-07-08 23:03:22

fabo114
New Member
From: Athens, Greece
Registered: 2006-12-04
Posts: 4
Website

Re: From Posterous to Textpattern

Thank you for the information but there is one big problem; specifying a section.

Can it be done through RPC?

This is the only thing I’ve found but does not work.
@Configure the RPC endpoint URL to post to a specific Textpattern section like this: http://site.com/rpc/index.php#sectionname

Otherwise although the post shows up in the main page, when someone clicks on the permalink to display it as an individual article, gets a 404 error.

Example: http://ciel.attique.gr/
In the first article you get a 404 error.
In the second I manually specified the section through the TXP admin panel so it displays as normal.

Is there a solution to this? Or at least a way to display an article individually without having to specify a section.

Regards,
Chris

Offline

#17 2010-07-09 00:08:56

ecklesroad
Plugin Author
From: Bemidji, MN
Registered: 2008-02-22
Posts: 119
Website

Re: From Posterous to Textpattern

that happened to me too. I had to login and add the test i made to a section; there’s got to be better way of doing that.

Offline

#18 2010-07-09 20:06:06

eric2007
Member
Registered: 2006-05-25
Posts: 18

Re: From Posterous to Textpattern

To what file do I need to add <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.mysite.com/rpc/" />?

I’m confused, as both files in Textpattern’s rpc folder are php.

Offline

#19 2010-07-09 23:15:19

ecklesroad
Plugin Author
From: Bemidji, MN
Registered: 2008-02-22
Posts: 119
Website

Re: From Posterous to Textpattern

put it in the <head> section of the html for your home page

Offline

#20 2010-07-19 20:09:22

ecklesroad
Plugin Author
From: Bemidji, MN
Registered: 2008-02-22
Posts: 119
Website

Re: From Posterous to Textpattern

Anyone ever figured out how to get these auto post articles to be put into a section, if nothing else the default section?

Offline

#21 2011-12-21 07:20:13

txarly
Member
From: Bakersfield, CA
Registered: 2005-06-04
Posts: 39
Website

Re: From Posterous to Textpattern

ecklesroad said:

Anyone ever figured out how to get these auto post articles to be put into a section, if nothing else the default section?

I finally found a way to do that. I edited the file TXP_RPCServer.php in txp’s rpc folder. In line 673, edit the code to match this:

$contents['Section'] = nameofsection;


Carlos Cuellar
blog: carloscuellar.net
mail: hola[at]carloscuellar[dot]net

Offline

#22 2011-12-21 14:06:05

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: From Posterous to Textpattern

This could be a (sub-) feature request for future Textpattern versions:

Admin / prefs / advanced: ‘Set default section for XML-RPC server for incoming articles: [section name]’

Edit: Added here forum.textpattern.com … pid=256085#p256085

Last edited by merz1 (2011-12-21 14:10:17)


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

Board footer

Powered by FluxBB