Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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
Re: From Posterous to Textpattern
put it in the <head> section of the html for your home page
Offline
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
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
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