Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2011-05-11 02:36:31
- mindtset
- New Member
- Registered: 2011-05-11
- Posts: 5
Grabbing articles from one TXP site to display on another
I have a client with two Textpattern sites, one site that displays all products, and one site that displays a subset of those — only a single brand.
The client would like to manage all product information on the main TXP site, rather than managing the same products on both TXP sites, and asked if this is possible.
I thought perhaps RSS or even direct database queries using PHP might be a solution, but I’m wondering if there’s anything I should be aware of before I try this, or if one method is superior. For example, can RSS show an individual article and also include it in site search somehow? I also wonder what to do about navigation — I would like to automate it, but I’m not sure if this will be doable.
Each product article on the main website has about 10 custom fields and is in a product-specific section without any category assignments.
Thanks for any tips or advice!
Last edited by mindtset (2011-05-11 02:36:59)
Offline
Re: Grabbing articles from one TXP site to display on another
you can use something like
<txp:php> include($DOCUMENT_ROOT . "http://www.mysite.com/?rah_external_output=products"); </txp:php>
to embed the content from the original site.
there’s a caveat with the search
not sure if th asv_tumblelog plugin will give you more
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#3 2011-05-11 18:07:59
- mindtset
- New Member
- Registered: 2011-05-11
- Posts: 5
Re: Grabbing articles from one TXP site to display on another
Thanks, Yiannis. I forgot about that plugin! I wonder if Google Custom Search would work with this? I mean, I don’t see why not…
Offline
Re: Grabbing articles from one TXP site to display on another
mindtset wrote:
…I wonder if Google Custom Search would work with this? I mean, I don’t see why not…
forgot about that too. It’ll possibly will. Aren’t you worried regarding the duplicate content penalties from google?
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#5 2011-05-11 18:42:01
- mindtset
- New Member
- Registered: 2011-05-11
- Posts: 5
Re: Grabbing articles from one TXP site to display on another
Aren’t you worried regarding the duplicate content penalties from google?
I’m not sure about the specifics, so I was going to look into it. Seems odd that any duplicated content would be penalized, so I hope there are some loopholes. :-)
Last edited by mindtset (2011-05-11 18:42:12)
Offline