Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
How do I pull textpattern data from another textpattern site?
Recently I re-did my portfolio site, I added a blog and created the whole thing in textpattern. I have since bought another domain and want to separate the blog and portfolio content, one part for each domain. The blog will stay in the same place and the portfolio’s content will move domains.
Both the site’s design, will stay almost exactly the same, but on various pages, most notably the homepage, there are instances when data from both the blog and the portfolio appear as a list of recent articles. I would still like this to happen, but as the blog will be on a separate domain from the main site now, how is this done? Can I pull data from my other textpattern powered site and include it using a form? I know I could use an RSS feed, but it is quite rudimentary and I would rather not…unless I’m mistaken and it can be done gracefully.
Do you understand what I’m getting at? Please ask me more questions if you are in the dark.
PS I would also like to transfer my current portfolio content and move it over to my new site. This can’t be done using the import function, what is the best solution? Will I have to re-enter the information by hand?
Many thanks in advance
Admin Themes Prometheus | Stung | <txp:coder/
My Portfolio | ɹǝpuɐz.com | @MrMartineau
<txp:coder /> – Convert your designs into Textpattern-based websites
jQuery Style | @jquerystyle
Offline
Re: How do I pull textpattern data from another textpattern site?
maybe ied_if_domain is what you’re looking for?
TXP Builders – finely-crafted code, design and txp
Offline
Re: How do I pull textpattern data from another textpattern site?
Hi,
Just copy your current site to the other domain, php code and mysql data, then delete what you don’t want from the new site.
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
#4 2008-07-15 21:06:27
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: How do I pull textpattern data from another textpattern site?
rathersplendid wrote:
…Can I pull data from my other textpattern powered site and include it using a form? I know I could use an RSS feed, but it is quite rudimentary and I would rather not…unless I’m mistaken and it can be done gracefully.
I think with rss it can be done “gracefully”
Offline
Re: How do I pull textpattern data from another textpattern site?
I’m with Bert here.
Clone the site and delete.
Why mess around with RSS & forms.
Geoff
There are 10 types of people in the world: those who understand binary, and those who don’t.
Offline
Re: How do I pull textpattern data from another textpattern site?
Offline
#7 2008-07-15 23:42:35
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: How do I pull textpattern data from another textpattern site?
If I understood you right, that you want to display certain articles from one site on the pages of another domain, then this method by colak should be interesting.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#8 2008-07-16 08:48:14
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: How do I pull textpattern data from another textpattern site?
geoff777 wrote:
Why mess around with RSS & forms.
From what I understood rathersplendid made two questions.
One was correctly answered by Bert-hgtv (clone and delete).
For the other (having in both homepages articles pulled from the other site) I think rss is the best and easier option.
Obviously it can be I did not understand well what the original question was…
Offline
Re: How do I pull textpattern data from another textpattern site?
Uli, you are correct, i will try Colak’s method as I think it is the right one.
Also, thank you everyone else, I have taken bits from each of you and hopefully it will all work. I will let you know how it goes
Cheers
Admin Themes Prometheus | Stung | <txp:coder/
My Portfolio | ɹǝpuɐz.com | @MrMartineau
<txp:coder /> – Convert your designs into Textpattern-based websites
jQuery Style | @jquerystyle
Offline
#10 2008-07-16 11:46:12
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: How do I pull textpattern data from another textpattern site?
rathersplendid, once you have it working: be so kind and post your code here, so we have another example we can refer to :)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: How do I pull textpattern data from another textpattern site?
I have worked out a solution…
I migrated the site over to its new server and to call the articles from the other txp install I used the bit_rss plugin to display the rss feed from that site (i also used the rss_auto_excerpt plugin as bit_rss only allows for the entire body of the article, so I need to create my own excerpt).
It was simple really – now that I’ve worked it out.
thank you for your help
Admin Themes Prometheus | Stung | <txp:coder/
My Portfolio | ɹǝpuɐz.com | @MrMartineau
<txp:coder /> – Convert your designs into Textpattern-based websites
jQuery Style | @jquerystyle
Offline
#12 2008-07-16 23:27:39
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: How do I pull textpattern data from another textpattern site?
rathersplendid wrote:
…to call the articles from the other txp install I used the bit_rss plugin to display the rss feed from that site…
Exactly what I meant ;)
Offline